cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrija Panic <andrija.pa...@gmail.com>
Subject Re: management cluster error on cloudstack-management startup
Date Fri, 26 Jul 2019 20:09:34 GMT
That error or "error" is present when starting mgmt server - but it does
start correctly. Not sure if this is by design or a valid "error" - but
doesn't affect anything (right ?)
 Perhaps someone else can advise.

On Fri, 26 Jul 2019 at 19:43, Richard Persaud <richard.persaud@macys.com>
wrote:

> Hello,
>
>
>
> 4.11.3 on Ubuntu
>
>
>
> I get this error, even on a new build. I am not running mgmt in a cluster.
> Any ideas?
>
>
>
> Unable to ping management server at 10.0.0.9:9090 due to ConnectException
>
> java.net.ConnectException: Connection refused
>
>         at sun.nio.ch.Net.connect0(Native Method)
>
>         at sun.nio.ch.Net.connect(Net.java:454)
>
>         at sun.nio.ch.Net.connect(Net.java:446)
>
>         at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:648)
>
>         at
> com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1137)
>
>         at
> com.cloud.cluster.ClusterManagerImpl.pingManagementNode(ClusterManagerImpl.java:1106)
>
>         at
> com.cloud.cluster.ClusterManagerImpl.checkConflicts(ClusterManagerImpl.java:1184)
>
>         at
> com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1062)
>
>         at
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle$3.with(CloudStackExtendedLifeCycle.java:115)
>
>         at
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.with(CloudStackExtendedLifeCycle.java:154)
>
>         at
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.configure(CloudStackExtendedLifeCycle.java:111)
>
>         at
> org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:56)
>
>         at
> org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:183)
>
>         at
> org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:52)
>
>         at
> org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:358)
>
>         at
> org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:159)
>
>         at
> org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:123)
>
>         at
> org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:884)
>
>         at
> org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:552)
>
>         at
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContext(DefaultModuleDefinitionSet.java:145)
>
>         at
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet$2.with(DefaultModuleDefinitionSet.java:122)
>
>         at
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:245)
>
>         at
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
>
>         at
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:250)
>
>         at
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.withModule(DefaultModuleDefinitionSet.java:233)
>
>         at
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.loadContexts(DefaultModuleDefinitionSet.java:117)
>
>         at
> org.apache.cloudstack.spring.module.model.impl.DefaultModuleDefinitionSet.load(DefaultModuleDefinitionSet.java:79)
>
>         at
> org.apache.cloudstack.spring.module.factory.ModuleBasedContextFactory.loadModules(ModuleBasedContextFactory.java:37)
>
>         at
> org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.init(CloudStackSpringContext.java:71)
>
>         at
> org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:58)
>
>         at
> org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:62)
>
>         at
> org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52)
>
>         at
> org.eclipse.jetty.server.handler.ContextHandler.callContextInitialized(ContextHandler.java:890)
>
>         at
> org.eclipse.jetty.servlet.ServletContextHandler.callContextInitialized(ServletContextHandler.java:532)
>
>         at
> org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:853)
>
>         at
> org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:344)
>
>         at
> org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1515)
>
>         at
> org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1477)
>
>         at
> org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:785)
>
>         at
> org.eclipse.jetty.servlet.ServletContextHandler.doStart(ServletContextHandler.java:261)
>
>         at
> org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:545)
>
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>
>         at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
>
>         at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:107)
>
>         at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
>
>         at
> org.eclipse.jetty.server.handler.gzip.GzipHandler.doStart(GzipHandler.java:273)
>
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>
>         at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
>
>         at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:115)
>
>         at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
>
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>
>         at
> org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:133)
>
>         at org.eclipse.jetty.server.Server.start(Server.java:418)
>
>         at
> org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:107)
>
>         at
> org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:113)
>
>         at org.eclipse.jetty.server.Server.doStart(Server.java:385)
>
>         at
> org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
>
>         at org.apache.cloudstack.ServerDaemon.start(ServerDaemon.java:200)
>
>         at org.apache.cloudstack.ServerDaemon.main(ServerDaemon.java:101)
>
> 2019-07-26 13:26:45,969 INFO  [c.c.c.ClusterManagerImpl] (main:null)
> (logid:) Detected that another management node with the same IP 10.0.0.9 is
> considered as running in DB, however it is not pingable, we will continue
> cluster initialization with this management server node
>
> 2019-07-26 13:26:45,969 INFO  [c.c.c.ClusterManagerImpl] (main:null)
> (logid:) Cluster manager is configured.
>
> 2019-07-26 13:26:46,032 INFO  [c.c.s.StorageManagerImpl] (main:null)
> (logid:) pool.acquisition.wait.seconds is configured as 1800 seconds
>
> 2019-07-26 13:26:46,034 DEBUG [c.c.a.m.AgentManagerImpl] (main:null)
> (logid:) Registering listener StoragePoolMonitor with id 1
>
> 2019-07-26 13:26:46,039 INFO  [c.c.s.StorageManagerImpl] (main:null)
> (logid:) Storage cleanup enabled: true, interval: 86400, delay: 86400,
> template cleanup enabled: true
>
> 2019-07-26 13:26:46,047 DEBUG [c.c.a.m.AgentManagerImpl] (main:null)
> (logid:) Registering listener LocalStoragePoolListener with id 2
>
> 2019-07-26 13:26:46,053 INFO  [c.c.n.r.VirtualNetworkApplianceManagerImpl]
> (main:null) (logid:) Router configurations: ramsize=256
>
>
>
>
>
> Db.properties file:
>
>
>
> #·"AS·IS"·BASIS,·WITHOUT·WARRANTIES·OR·CONDITIONS·OF·ANY¶
>
> 24 #·under·the·License.¶
>
> 25
> #·management·server·clustering·parameters,·change·cluster.node.IP·to·the·machine·IP·address¶
>
> 26 ¶
>
> 27 #·usage·database·tuning·parameters¶
>
> 28 ¶
>
> 29 db.usage.maxWait=10000¶
>
> 30 #·High·Availability·And·Cluster·Properties¶
>
> 31 db.usage.maxIdle=30¶
>
> 32 db.cloud.port=3306¶
>
> 33 #·CloudStack·database·settings¶
>
> 34 cluster.node.IP=10.0.0.9¶
>
> 35 #·in·which·the·management·server·is·running¶
>
> 36 db.cloud.autoReconnectForPools=true¶
>
> 37 db.cloud.testOnBorrow=true¶
>
> 38 db.cloud.maxIdle=30¶
>
> 39 region.id=1¶
>
> 40 cluster.servlet.port=9090¶
>
> 41 db.cloud.host=localhost¶
>
> 42 db.cloud.trustStore=¶
>
> 43 #·CloudStack·database·tuning·parameters¶
>
> 45 db.usage.name=cloud_usage¶
>
> 46 db.cloud.poolPreparedStatements=false¶
>
> 47 db.cloud.driver=jdbc:mysql¶
>
> 48 db.ha.enabled=false¶
>
> 49 db.cloud.username=cloud¶
>
> 50 db.simulator.maxActive=250¶
>
> 51 db.cloud.maxWait=10000¶
>
> 52 db.usage.port=3306¶
>
> 53 db.cloud.keyStorePassword=¶
>
> 54 #·usage·database·settings¶
>
> 55 db.cloud.validationQuery=SELECT·1¶
>
> 56 db.cloud.queriesBeforeRetryMaster=5000¶
>
> 57 db.cloud.timeBetweenEvictionRunsMillis=40000¶
>
> 58 db.usage.failOverReadOnly=false¶
>
> 59 db.cloud.useSSL=false¶
>
> 60 db.cloud.maxActive=250¶
>
> 61 db.usage.host=localhost¶
>
> 62 #·Encryption·Settings¶
>
> 63 db.cloud.initialTimeout=3600¶
>
> 64 db.cloud.minEvictableIdleTimeMillis=240000¶
>
> 65 #·CloudStack·database·SSL·settings¶
>
> 66 db.cloud.testWhileIdle=true¶
>
> 67 db.cloud.slaves=localhost,localhost¶
>
> 68 db.cloud.encryption.type=file¶
>
> 69 db.cloud.encrypt.secret=XXXXXXXXXXXXXXXXXXXXXXXX¶
>
> 70 db.simulator.maxIdle=30¶
>
> 71 db.cloud.keyStore=¶
>
> 72 ¶
>
> 73 db.simulator.driver=jdbc:mysql¶
>
> 74 db.simulator.port=3306¶
>
> 75 db.simulator.username=cloud¶
>
> 76 ¶
>
> 77 db.usage.username=cloud¶
>
> 78 db.usage.password=XXXXXXXXXXXXXXXXXXXXXXXXXX
>
> 79 #·Simulator·database·settings¶
>
> 80 db.usage.initialTimeout=3600¶
>
> 81 db.cloud.trustStorePassword=¶
>
> 82 db.usage.url.params=¶
>
> 83 db.usage.driver=jdbc:mysql¶
>
> 84 #·cloud·stack·Database¶
>
> 85 db.simulator.maxWait=10000¶
>
> 86 db.cloud.reconnectAtTxEnd=true¶
>
> 87 db.usage.autoReconnect=true¶
>
> 88 #usage·Database¶
>
> 89 db.simulator.password=XXXXXXXXXXXXXX¶
>
> 90 db.usage.reconnectAtTxEnd=true¶
>
> 91 db.simulator.autoReconnect=true¶
>
> 92 db.simulator.host=localhost¶
>
> 93 db.ha.loadBalanceStrategy=com.cloud.utils.db.StaticStrategy¶
>
> 94 db.simulator.name=simulator¶
>
> 95 db.cloud.autoReconnect=true¶
>
> 96 db.usage.queriesBeforeRetryMaster=5000¶
>
> 97 db.cloud.failOverReadOnly=false¶
>
> 98 db.usage.slaves=localhost,localhost¶
>
> 99 db.usage.autoReconnectForPools=true¶
>
> 100 db.usage.secondsBeforeRetryMaster=3600¶
>
> 101 db.cloud.secondsBeforeRetryMaster=3600¶
>
>
>
>
>
> Regards,
>
>
>
> *Richard Persaud*
>
> *Sys Spec, Info Security Del, Sys Spec, Info Security Del | Macy's, Inc.*
>
> 5985 State Bridge Rd. | Johns Creek, GA 30097
>
> Office: 678-474-2357
>
>
> [image: Make Life Shine Brighter]
>
>
>


-- 

Andrija Panić

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message