cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giri Prasad <g_p...@yahoo.com.INVALID>
Subject Unable to add host in private zone
Date Mon, 25 Aug 2014 09:49:51 GMT
Hi All,

 I have configured cs 4.1 on ubuntu 12.04 LTS. The usual normal config, 1 zone, 1 primary/secondary
storage, one host (on same server/ip address as cs management server - XXX.XXX.X.5) etc. I
created a couple of domains and then some accounts.  I am using IP address XXX.XXX.X.100
to XXX.XXX.X.109 for pod addresses and XXX.XXX.X.110 to XXX.XXX.X.119 for guest traffic.The
IP XXX.XXX.X.5 is being used for this host in the default zone. Everything works fine upto
this point.


 Now, I am trying to create a private zone. I am using the same setup as in the default zone
creation, when the cs is first configured. The only differenece is that I am using IP address
XXX.XXX.X.120 to XXX.XXX.X.129 for pod addresses and XXX.XXX.X.130 to XXX.XXX.X.139 for guest
traffic. When pressing the create (private) zone button in cs 4.1 gui, it is coming out with
the following errors.  The same IP XXX.XXX.X.5 is being used for this host in the private
zone too. Any insights as to why?

Thanks & Regards,
D.Giriprasad

2014-08-25 15:03:30,971 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===START=== 
XXX.XXX.XXX.5 -- POST  command=addHost&response=json&sessionkey=tUbyrF3OEZWlMQMRCR0JbQJS5Xk%3D
2014-08-25 15:03:30,984 INFO  [cloud.resource.ResourceManagerImpl] (catalina-exec-6:null)
Trying to add a new host at http://XXX.XXX.XXX.5 in data center 2
2014-08-25 15:03:30,987 DEBUG [kvm.discoverer.KvmServerDiscoverer] (catalina-exec-6:null)
Skipping XXX.XXX.XXX.5 because 2e9e9f7c-017e-32a1-a45a-236d182fb28c-LibvirtComputingResource
is already in the database.
2014-08-25 15:03:30,987 WARN  [cloud.resource.ResourceManagerImpl] (catalina-exec-6:null)
Unable to find the server resources at http://XXX.XXX.XXX.5
2014-08-25 15:03:30,988 INFO  [utils.exception.CSExceptionErrorCode] (catalina-exec-6:null)
Could not find exception: com.cloud.exception.DiscoveryException in error code list for exceptions
2014-08-25 15:03:30,988 WARN  [admin.host.AddHostCmd] (catalina-exec-6:null) Exception: 
com.cloud.exception.DiscoveryException: Unable to add the host
    at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:867)
    at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:619)
    at org.apache.cloudstack.api.command.admin.host.AddHostCmd.execute(AddHostCmd.java:143)
    at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162)
    at com.cloud.api.ApiServer.queueCommand(ApiServer.java:505)
    at com.cloud.api.ApiServer.handleRequest(ApiServer.java:355)
    at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
    at com.cloud.api.ApiServlet.doPost(ApiServlet.java:71)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:615)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
    at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
    at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:744)
    at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2282)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:701)
2014-08-25 15:03:30,989 INFO  [cloud.api.ApiServer] (catalina-exec-6:null) Unable to add
the host
2014-08-25 15:03:30,990 DEBUG [cloud.api.ApiServlet] (catalina-exec-6:null) ===END===  XXX.XXX.XXX.5
-- POST  command=addHost&response=json&sessionkey=tUbyrF3OEZWlMQMRCR0JbQJS5Xk%3D
2014-08-25 15:03:31,401 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-4:null)
Ping from 1
2014-08-25 15:03:35,059 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-5:null)
SeqA 3-87: Processing Seq 3-87:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n 
\"connections\": []\n}","wait":0}}] }
2014-08-25 15:03:35,144 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-5:null)
SeqA 3-87: Sending Seq 3-87:  { Ans: , MgmtId: 34057587018585, via: 3, Ver: v1, Flags: 100010,
[{"AgentControlAnswer":{"result":true,"wait":0}}] }
 2014-08-25 15:03:41,017 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) VmStatsCollector
is running...
2014-08-25 15:03:42,654 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) StorageCollector
is running...
2014-08-25 15:03:42,709 DEBUG [agent.transport.Request] (StatsCollector-3:null) Seq 4-1076166674:
Received:  { Ans: , MgmtId: 34057587018585, via: 4, Ver: v1, Flags: 10, { GetStorageStatsAnswer
} }
2014-08-25 15:03:42,773 DEBUG [agent.transport.Request] (StatsCollector-3:null) Seq 1-1657995303:
Received:  { Ans: , MgmtId: 34057587018585, via: 1, Ver: v1, Flags: 10, { GetStorageStatsAnswer
} }
2014-08-25 15:03:45,060 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null)
SeqA 3-88: Processing Seq 3-88:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n 
\"connections\": []\n}","wait":0}}] }
2014-08-25 15:03:45,162 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-9:null)
SeqA 3-88: Sending Seq 3-88:  { Ans: , MgmtId: 34057587018585, via: 3, Ver: v1, Flags: 100010,
[{"AgentControlAnswer":{"result":true,"wait":0}}] }
2014-08-25 15:03:48,354 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) HostStatsCollector
is running...
2014-08-25 15:03:48,959 DEBUG [agent.transport.Request] (StatsCollector-3:null) Seq 1-1657995304:
Received:  { Ans: , MgmtId: 34057587018585, via: 1, Ver: v1, Flags: 10, { GetHostStatsAnswer
} }
2014-08-25 15:03:55,061 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-10:null)
SeqA 3-89: Processing Seq 3-89:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n 
\"connections\": []\n}","wait":0}}] }
2014-08-25 15:03:55,180 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-10:null)
SeqA 3-89: Sending Seq 3-89:  { Ans: , MgmtId: 34057587018585, via: 3, Ver: v1, Flags: 100010,
[{"AgentControlAnswer":{"result":true,"wait":0}}] }
2014-08-25 15:03:55,428 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
Zone 1 is ready to launch secondary storage VM
2014-08-25 15:03:55,652 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null)
Zone 1 is ready to launch console proxy
2014-08-25 15:03:55,948 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 routers to update status. 
2014-08-25 15:03:55,949 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 networks to update RvR status. 
2014-08-25 15:03:55,968 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 routers to update status. 
2014-08-25 15:03:55,969 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null)
Found 0 networks to update RvR status. 
2014-08-25 15:04:00,938 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-11:null)
Ping from 4
2014-08-25 15:04:05,062 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-12:null)
SeqA 3-90: Processing Seq 3-90:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n 
\"connections\": []\n}","wait":0}}] }
2014-08-25 15:04:05,151 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-12:null)
SeqA 3-90: Sending Seq 3-90:  { Ans: , MgmtId: 34057587018585, via: 3, Ver: v1, Flags: 100010,
[{"AgentControlAnswer":{"result":true,"wait":0}}] }
2014-08-25 15:04:12,776 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-13:null)
Ping from 3
2014-08-25 15:04:15,102 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-14:null)
SeqA 3-92: Processing Seq 3-92:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n 
\"connections\": []\n}","wait":0}}] }
2014-08-25 15:04:15,218 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-14:null)
SeqA 3-92: Sending Seq 3-92:  { Ans: , MgmtId: 34057587018585, via: 3, Ver: v1, Flags: 100010,
[{"AgentControlAnswer":{"result":true,"wait":0}}] }
2014-08-25 15:04:25,064 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-15:null)
SeqA 3-93: Processing Seq 3-93:  { Cmd , MgmtId: -1, via: 3, Ver: v1, Flags: 11, [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n 
\"connections\": []\n}","wait":0}}] }
2014-08-25 15:04:25,161 DEBUG [agent.manager.AgentManagerImpl] (AgentManager-Handler-15:null)
SeqA 3-93: Sending Seq 3-93:  { Ans: , MgmtId: 34057587018585, via: 3, Ver: v1, Flags: 100010,
[{"AgentControlAnswer":{"result":true,"wait":0}}] }
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message