[ https://issues.apache.org/jira/browse/CLOUDSTACK-8584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14629147#comment-14629147 ]
James Clendenan commented on CLOUDSTACK-8584: --------------------------------------------- it appears that Debian and Ubuntu have the same issues with this. Problem: at some point your hosts file had 127.0.1.1 as the fqdn entry for your machine. One of the setup tools grabbed it and used it to set: /etc/cloudstack/management/db.properties:cluster.node.IP=127.0.1.1 Solution for user: Fix your hosts file by deleting the 127.0.1.1 entry, or setting it to an ip on an actual usable interface Solution for developer: Figure out why this was considered to be valid to insert in the first place, and don't do it.. (fail earlier) > Management Server does not start - "cluster node IP should be valid local > address" > ---------------------------------------------------------------------------------- > > Key: CLOUDSTACK-8584 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8584 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server > Affects Versions: 4.5.1 > Environment: * Ubuntu 14.04 > * Installed Management Server from repository > Reporter: Michael Lihs > > h1. Problem Description > When I try to start the CloudStack Management Server, I get the following > error message in the {{/var/log/cloudstack/management/management-server.log}}: > {code} > 2015-06-24 06:21:37,950 INFO [c.c.c.ClusterManagerImpl] (main:null) Start > configuring cluster manager : ClusterManagerImpl > 2015-06-24 06:21:37,956 INFO [c.c.c.ClusterManagerImpl] (main:null) Cluster > node IP : 127.0.1.1 > 2015-06-24 06:21:37,965 ERROR [o.a.c.s.l.CloudStackExtendedLifeCycle] > (main:null) Failed to configure ClusterManagerImpl > javax.naming.ConfigurationException: cluster node IP should be valid local > address where the server is running, please check your configuration > at > com.cloud.cluster.ClusterManagerImpl.configure(ClusterManagerImpl.java:1042) > at > org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle$3.with(CloudStackExtendedLifeCycle.java:114) > at > org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.with(CloudStackExtendedLifeCycle.java:153) > at > org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.configure(CloudStackExtendedLifeCycle.java:110) > at > org.apache.cloudstack.spring.lifecycle.CloudStackExtendedLifeCycle.start(CloudStackExtendedLifeCycle.java:56) > at > org.springframework.context.support.DefaultLifecycleProcessor.doStart(DefaultLifecycleProcessor.java:167) > at > org.springframework.context.support.DefaultLifecycleProcessor.access$200(DefaultLifecycleProcessor.java:51) > at > org.springframework.context.support.DefaultLifecycleProcessor$LifecycleGroup.start(DefaultLifecycleProcessor.java:339) > at > org.springframework.context.support.DefaultLifecycleProcessor.startBeans(DefaultLifecycleProcessor.java:143) > at > org.springframework.context.support.DefaultLifecycleProcessor.onRefresh(DefaultLifecycleProcessor.java:108) > at > org.springframework.context.support.AbstractApplicationContext.finishRefresh(AbstractApplicationContext.java:945) > at > org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:482) > 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:70) > at > org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:57) > at > org.apache.cloudstack.spring.module.factory.CloudStackSpringContext.<init>(CloudStackSpringContext.java:61) > at > org.apache.cloudstack.spring.module.web.CloudStackContextLoaderListener.contextInitialized(CloudStackContextLoaderListener.java:52) > at > org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4210) > at > org.apache.catalina.core.StandardContext.start(StandardContext.java:4709) > at > org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:799) > at > org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:779) > at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:583) > at > org.apache.catalina.startup.HostConfig.deployDirectory(HostConfig.java:1079) > at > org.apache.catalina.startup.HostConfig.deployDirectories(HostConfig.java:1002) > at > org.apache.catalina.startup.HostConfig.deployApps(HostConfig.java:506) > at org.apache.catalina.startup.HostConfig.start(HostConfig.java:1317) > at > org.apache.catalina.startup.HostConfig.lifecycleEvent(HostConfig.java:324) > at > org.apache.catalina.util.LifecycleSupport.fireLifecycleEvent(LifecycleSupport.java:142) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1065) > at org.apache.catalina.core.StandardHost.start(StandardHost.java:822) > at org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1057) > at > org.apache.catalina.core.StandardEngine.start(StandardEngine.java:463) > at > org.apache.catalina.core.StandardService.start(StandardService.java:525) > at > org.apache.catalina.core.StandardServer.start(StandardServer.java:754) > at org.apache.catalina.startup.Catalina.start(Catalina.java:595) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at org.apache.catalina.startup.Bootstrap.start(Bootstrap.java:289) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) > at java.lang.reflect.Method.invoke(Method.java:606) > at > org.apache.commons.daemon.support.DaemonLoader.start(DaemonLoader.java:243) > {code} > Afterwards, I cannot open the Management Server UI in the browser. > h1. Environment Information > * My network configuration looks like this: > {code} > auto lo > iface lo inet loopback > source /etc/network/interfaces.d/*.cfg > modify. > auto eth1 > iface eth1 inet static > address 192.168.38.100 > netmask 255.255.255.0 > {code} > With only one configuration for eth0 in {{/etc/network/interfaces.d/}} > {code} > auto eth0 > iface eth0 inet dhcp > {code} > * I can ping any host in the internet > * My route information looks like this > {code} > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use Iface > default 10.0.2.2 0.0.0.0 UG 0 0 0 eth0 > 10.0.2.0 * 255.255.255.0 U 0 0 0 eth0 > 192.168.38.0 * 255.255.255.0 U 0 0 0 eth1 > {code} > * I ran the {{cloudstack-setup-databases}} and the > {{cloudstack-setup-management}} command (with sudo) > If there is any additional information that I could provide and helps anyone > solve this issue, please let me know! > Thanks a lot for your help! -- This message was sent by Atlassian JIRA (v6.3.4#6332)