client????????------------------ ???????? ------------------
??????: "????"<hand...@126.com>
????????: 2015??4??25??(??????) ????12:06
??????: "users-cn@cloudstack.apache.org"<users-cn@cloudstack.apache.org>;
????: Re: ??????????????cs 4.4??2????????kvm??????cs?? "Unable to add the host"


??????????????????host??????????????????
On 04/25/2015 12:01, ???? wrote:
   ??????????????????????????????????????????????????????????cs 
4.4.2??????????kvm??????CentOS 6.5 
x86_x64??????????????????????????????????????????????
????cs??kvm????????????????????http://<cloudstack-server-IP>:8080/client????????????????????????Unable
 to add the host??????????????????????????????????????
1????cs??kvm ????????????????????????????????
2??????cs??kvm????

??????????????????????????????????????????????????????

??????????????????????????????????????????????????????????????????????????????????????????????

agent.log??????????????????????

2015-04-25 11:33:54,740{GMT} INFO  [utils.nio.NioClient] (Agent-Selector:) 
Connecting to 192.168.1.173 :8250
2015-04-25 11:34:04,761{GMT} ERROR [utils.nio.NioConnection] (Agent-Selector:) 
Unable to initialize the threads due to unknown exception.
java.nio.channels.UnresolvedAddressException
       at sun.nio.ch.Net.checkAddress(Net.java:127)
       at sun.nio.ch.SocketChannelImpl.connect(SocketChannelImpl.java:644)
       at com.cloud.utils.nio.NioClient.init(NioClient.java:67)
       at com.cloud.utils.nio.NioConnection.run(NioConnection.java:111)
       at java.lang.Thread.run(Thread.java:745)

management-server.log??????????????????????

2015-04-25 11:33:56,584 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-2:ctx-f1deaf2c) AutoScaling Monitor is running...
2015-04-25 11:33:57,049 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-1:ctx-1ce8d0a6) VmStatsCollector is running...
2015-04-25 11:33:58,390 DEBUG [c.c.c.ConsoleProxyManagerImpl] 
(consoleproxy-1:ctx-dfcd1954) Skip capacity scan due to there is no Primary 
Storage UPintenance mode
2015-04-25 11:33:58,638 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-4:ctx-56e5aeb3) StorageCollector is running...
2015-04-25 11:33:58,990 DEBUG [c.c.s.StatsCollector] 
(StatsCollector-3:ctx-19cad887) HostStatsCollector is running...
2015-04-25 11:34:09,194 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-c3b9f19a) Found 0 routers to update status.
2015-04-25 11:34:09,197 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-c3b9f19a) Found 0 networks to update RvR status.
2015-04-25 11:34:14,483 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-ed6c8947) Resetting hosts suitable for reconnect
2015-04-25 11:34:14,485 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-ed6c8947) Completed resetting hosts suitable for reconnect
2015-04-25 11:34:14,485 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-ed6c8947) Acquiring hosts for clusters already owned by this 
management server
2015-04-25 11:34:14,485 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-ed6c8947) Completed acquiring hosts for clusters already owned by 
this management server
2015-04-25 11:34:14,485 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-ed6c8947) Acquiring hosts for clusters not owned by any management 
server
2015-04-25 11:34:14,486 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager 
Timer:ctx-ed6c8947) Completed acquiring hosts for clusters not owned by any 
management server
2015-04-25 11:34:28,390 DEBUG [c.c.c.ConsoleProxyManagerImpl] 
(consoleproxy-1:ctx-194c8d9e) Skip capacity scan due to there is no Primary 
Storage UPintenance mode
2015-04-25 11:34:39,194 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-f8310767) Found 0 routers to update status.
2015-04-25 11:34:39,197 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] 
(RouterStatusMonitor-1:ctx-f8310767) Found 0 networks to update RvR status.

回复