Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8584

Management Server does not start - "cluster node IP should be valid local address"

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.5.1
    • None
    • Management Server
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None
    • * Ubuntu 14.04
      * Installed Management Server from repository

    Description

      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:

      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)
      

      Afterwards, I cannot open the Management Server UI in the browser.

      Environment Information

      • My network configuration looks like this:
        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
        

        With only one configuration for eth0 in /etc/network/interfaces.d/

        auto eth0
        iface eth0 inet dhcp
        
      • I can ping any host in the internet
      • My route information looks like this
        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
        
      • 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!

      Attachments

        Activity

          People

            Unassigned Unassigned
            michaellihs Michael Lihs
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated: