[cloudstack-users:0142] コンピューティングノードの追加

gawa.m.gawa @ gmail.com gawa.m.gawa @ gmail.com
2013年 4月 22日 (月) 01:04:17 JST


お世話になります。小川と申します。

掲題の件ですが。CloudStack導入を試みましたが、
マネージャからホスト(KVM)を登録時に失敗してしまいました。

ログを見るところ、localhostのポート8250に接続しようと
しているのですが、当該ポートをリッスンしているプロセスは
存在しませんでした。
8250をリッスンするプロセスをウェブで調べたのですが、
有力な情報が得られなかった状況です。
上記事象とホスト登録の失敗は関連あるのでしょうか?

OSはCentOS6.4でCloudStackは4.0を使用しています。

参考までに、コンピューターノードとマネージャのログを下記に
貼り付けます。

以上。よろしくお願いいたします。

■コンピューターノードの/var/log/cloud/agent/agent.log
5秒置きに出力している。

2013-04-19 17:55:45,606 INFO  [utils.nio.NioClient]
(Agent-Selector:null) Connecting to localhost:8250
2013-04-19 17:55:45,607 ERROR [utils.nio.NioConnection]
(Agent-Selector:null) Unable to connect to remote

2013-04-19 18:02:07,136 INFO  [cloud.resource.ResourceManagerImpl]
(catalina-exec-4:null) Trying to add a new host at http://172.16.144.15
in data center 2
2013-04-19 18:02:07,275 DEBUG [utils.ssh.SSHCmdHelper]
(catalina-exec-4:null) Executing cmd: lsmod|grep kvm
2013-04-19 18:02:08,458 DEBUG [utils.ssh.SSHCmdHelper]
(catalina-exec-4:null) lsmod|grep kvm output:kvm_intel
53484  0
kvm                   316506  1 kvm_intel

2013-04-19 18:02:09,463 DEBUG [utils.ssh.SSHCmdHelper]
(catalina-exec-4:null) Executing cmd: cloud-setup-agent  -m 172.16.196.8
-z 2 -p 2 -c 2 -g 5efe7c43-f828-34d5-81bb-f6ec95fcbec2 -a
--pubNic=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr1
2013-04-19 18:02:20,435 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
2 is not ready to launch secondary storage VM yet
2013-04-19 18:02:20,707 DEBUG
[cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip
capacity scan due to there is no Primary Storage UPintenance mode
2013-04-19 18:02:21,233 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers.
2


■Unable to add the hostが出た時のmanagement-server.log

2013-04-19 18:05:51,850 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
(SnapshotPollTask:null) Snapshot scheduler.poll is being called at
2013-04-19 09:05:51 GMT
2013-04-19 18:05:51,851 DEBUG [storage.snapshot.SnapshotSchedulerImpl]
(SnapshotPollTask:null) Got 0 snapshots to be executed at 2013-04-19
09:05:51 GMT
2013-04-19 18:05:51,865 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Done executing capacity updates for private ip
2013-04-19 18:05:51,865 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Done recalculating system capacity
2013-04-19 18:05:51,886 DEBUG [cloud.alert.AlertManagerImpl]
(CapacityChecker:null) Done running Capacity Checker ...
2013-04-19 18:06:20,434 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
2 is not ready to launch secondary storage VM yet
2013-04-19 18:06:20,707 DEBUG
[cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip
capacity scan due to there is no Primary Storage UPintenance mode
2013-04-19 18:06:21,130 DEBUG
[cloud.network.ExternalLoadBalancerUsageManagerImpl]
(ExternalNetworkMonitor-1:null) External load balancer devices stats
collector is running...
2013-04-19 18:06:21,229 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterMonitor-1:null) Found 0 running routers.
2013-04-19 18:06:21,233 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers.
2013-04-19 18:06:48,139 DEBUG [cloud.server.StatsCollector]
(StatsCollector-2:null) HostStatsCollector is running...
2013-04-19 18:06:48,223 DEBUG [cloud.server.StatsCollector]
(StatsCollector-3:null) VmStatsCollector is running...
2013-04-19 18:06:48,223 DEBUG [cloud.server.StatsCollector]
(StatsCollector-1:null) StorageCollector is running...
2013-04-19 18:06:50,435 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
2 is not ready to launch secondary storage VM yet
2013-04-19 18:06:50,706 DEBUG
[cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip
capacity scan due to there is no Primary Storage UPintenance mode
2013-04-19 18:06:51,233 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers.
2013-04-19 18:07:20,434 DEBUG
[storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone
2 is not ready to launch secondary storage VM yet
2013-04-19 18:07:20,706 DEBUG
[cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip
capacity scan due to there is no Primary Storage UPintenance mode
2013-04-19 18:07:21,233 DEBUG
[network.router.VirtualNetworkApplianceManagerImpl]
(RouterStatusMonitor-1:null) Found 0 routers.
2013-04-19 18:07:42,183 DEBUG [kvm.discoverer.KvmServerDiscoverer]
(catalina-exec-4:null) Timeout, to wait for the host connecting to mgt
svr, assuming it is failed
2013-04-19 18:07:42,189 WARN  [cloud.resource.ResourceManagerImpl]
(catalina-exec-4:null) Unable to find the server resources at
http://172.16.144.15
2013-04-19 18:07:42,190 WARN  [api.commands.AddHostCmd]
(catalina-exec-4:null) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
        at
com.cloud.resource.ResourceManagerImpl.discoverHostsFull(
ResourceManagerImpl.java:737)
        at
com.cloud.resource.ResourceManagerImpl.discoverHosts(
ResourceManagerImpl.java:544)
        at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:140)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:138)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:544)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:423)
        at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:312)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:64)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        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:555)
        at
org.apache.catalina.core.StandardEngineValve.invoke(
StandardEngineValve.java:109)
        at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at
org.apache.coyote.http11.Http11NioProcessor.process(
Http11NioProcessor.java:889)
        at
org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.
process(Http11NioProtocol.java:721)
        at
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.
run(NioEndpoint.java:2274)
        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:679)
2013-04-19 18:07:42,192 WARN  [cloud.api.ApiDispatcher]
(catalina-exec-4:null) class com.cloud.api.ServerApiException : Unable
to add the host
2013-04-19 18:07:42,194 DEBUG [cloud.api.ApiServlet]
(catalina-exec-4:null) ===END===  172.16.196.1 -- GET
command=addHost&zoneid=cd6b7185-fd2d-45d8-862d-f97e39fdedc7&podid=8fc826d3-
143e-4b36-ba6a-9a5826f88ce0&clusterid=3aad9e9f-7d83-4c64-
a14b-d371b2445871&hypervisor=KVM&clustertype=CloudManaged&
hosttags=kvm1&username=root&url=http%3A%2F%2F172.16.144.
15&response=json&sessionkey=TjOttFUZoW5q2qgbMkU%2B6IYBzG8%3D&_=1366362127045
-------------- next part --------------
HTMLの添付ファイルが除去されました.
URL: http://ml.cloudstack.jp/pipermail/users/attachments/20130422/3d2c52d5/attachment-0001.html


users メーリングリストの案内