????????kvm??????????cloudstack-agent?????????? Failed to get private nic name
cloudstack4.1??agent??cloudbr0??cloudbr1?? ?? /etc/cloudstack/agent/agent.properties private.network.device public.network.devic -- -- ??: helloqinerhelloqi...@163.com; : 2013??7??12??(??) 1:30 ??: users-cnusers-cn@cloudstack.apache.org; : ??kvm??cloudstack-agent?? Failed to get private nic name ?? ??CentOS6.4 + kvm + cloudstack-agent, cloudstack-agent 2013-07-12 12:51:45,350{GMT} INFO [cloud.agent.AgentShell] (main:) Agent started 2013-07-12 12:51:45,351{GMT} INFO [cloud.agent.AgentShell] (main:) Implementation Version is 4.1.0 2013-07-12 12:51:45,352{GMT} INFO [cloud.agent.AgentShell] (main:) agent.properties found at /etc/cloudstack/agent/agent.properties 2013-07-12 12:51:45,354{GMT} INFO [cloud.agent.AgentShell] (main:) Defaulting to using properties file for storage 2013-07-12 12:51:45,355{GMT} INFO [cloud.agent.AgentShell] (main:) Defaulting to the constant time backoff algorithm 2013-07-12 12:51:45,422{GMT} INFO [cloud.agent.Agent] (main:) id is 2013-07-12 12:51:45,434{GMT} ERROR [cloud.resource.ServerResourceBase] (main:) Nics are not configured! 2013-07-12 12:51:45,440{GMT} INFO [cloud.resource.ServerResourceBase] (main:) Designating private to be nic eth1 2013-07-12 12:51:45,449{GMT} INFO [resource.virtualnetwork.VirtualRoutingResource] (main:) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm 2013-07-12 12:51:45,703{GMT} ERROR [cloud.agent.AgentShell] (main:) Unable to start agent: Failed to get private nic name Unable to start agent: Failed to get private nic name ?? eth0 Link encap:Ethernet HWaddr 00:30:48:90:46:1E inet addr:10.0.1.21 Bcast:10.0.1.255 Mask:255.255.255.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) Interrupt:18 Memory:d802-d804 eth1 Link encap:Ethernet HWaddr 00:30:48:90:46:1F inet addr:192.168.1.21 Bcast:192.168.1.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1125 errors:0 dropped:0 overruns:0 frame:0 TX packets:557 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:86671 (84.6 KiB) TX bytes:32004 (31.2 KiB) Interrupt:19 Memory:d806-d808 loLink encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) virbr0Link encap:Ethernet HWaddr 52:54:00:4A:45:34 inet addr:192.168.122.1 Bcast:192.168.122.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) helloqiner
我在安装cloudstack 4.0.2 ,在增加主机时,报如下的错误:
您好: 我在安装cloudstack 4.0.2 ,在增加主机时,报如下的错误: 我尝试关闭linux iptables 服务,就可以增加成功,问一下,这个错误,是防火墙设置缺少那个端口?? INFO [agent.manager.AgentManagerImpl] (AgentTaskPool-1:) Host 3 is disconnecting with event Remove INFO [cloud.resource.ResourceManagerImpl] (catalina-exec-11:) Trying to add a new host at http://10.32.2.173 in data center 1 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-11:) Unable to find the server resources at http://10.32.2.173 WARN [api.commands.AddHostCmd] (catalina-exec-11:) 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:1110) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603) at java.lang.Thread.run(Thread.java:679) WARN [cloud.api.ApiDispatcher] (catalina-exec-11:) class com.cloud.api.ServerApiException : Unable to add the host cloudstackfqa2013
Re: API or cloudmonkey CLI call fails sometimes.
I've reinstalled my cloudstack for some other test purposes and can't get the issue now.If the same issue arises again in future I will post the logs. Thank you all the same. -- Original -- From: Rohit Yadavbhais...@apache.org; Date: Sat, Jul 13, 2013 02:44 AM To: Sebastien Goasguenrun...@gmail.com; WXR1485739...@qq.com; Cc: usersusers@cloudstack.apache.org; Subject: Re: API or cloudmonkey CLI call fails sometimes. On Thu, Jul 11, 2013 at 4:45 AM, Sebastien Goasguen run...@gmail.comwrote: On Jul 10, 2013, at 8:42 AM, WXR 1485739...@qq.com wrote: Intermittent network issue can not cause authentication fail,and some other function fails,I think. Then we need more info to help. CloudMonkey always works for me I am copying Rohit who wrote cloudmonkey. Hi WXR, I'm not sure what the issue is, intermittent network issue will cause timeout and now I'm not sure if such an exception is handled correctly for some case. Looks time some timing based issue, if something is working for sometime and fails other times, probably you've a clustered mgmt setup, or lb or some out of the ordinary setup? Can you provide some logs, your conf file details etc.? This can surely help us find the issue. Meanwhile check that you've the latest version from pypi or from master. My $dayjob does not permit me to work on opensource full time, so I'll be only able to get back to you during weekends and in my free time, but I'll try to reply. Cheers. -- Original -- From: Sebastien Goasguenrun...@gmail.com; Date: Wed, Jul 10, 2013 08:20 PM To: usersusers@cloudstack.apache.org; Subject: Re: API or cloudmonkey CLI call fails sometimes. On Jul 8, 2013, at 8:44 PM, WXR 1485739...@qq.com wrote: Sometimes when I use the an api call or cloudmonkey command,cloudstack will return a false value(authentication fails,can not deploy vm,can not create volume,can not attach volume,etc),but sometimes the same api or cli call succeeds. Does anyone know how to avoid it? Maybe it's an intermittent network issue ? .
Re: VHD-util
where you able to resolve this issue? On Fri, Jul 12, 2013 at 12:14 PM, Chip Childers chip.child...@sungard.comwrote: On Fri, Jul 12, 2013 at 05:48:12PM +0300, Anton Rubets wrote: cp /usr/bin/vhd-util /opt/xensource/bin/vhd-util It s how i do it on XCP 1.6 For XenServer : cp /usr/bin/vhd-util /opt/xenserver/bin/vhd-util if i remember right or just ln -s $foo $bar
Re: Can't get system vm's to start
Take the usual steps, log into the ssvm if you can and run the chechssvm.sh or whatever it is called script (check the docs, I assume it's listed there). Make sure the SSVM can reach the management server on tcp 8250, and the host that has the NFS mount for your sec storage is up and working properly (ie: check that the NFS server is good to go, exports, bacon sandwiches). hth. On Sat, Jul 13, 2013 at 9:53 PM, Kirk Jantzer kirk.jant...@gmail.comwrote: CS 4.1. Tried several different versions of Xen. Using Nexenta to present NFS. Storage attaches to CS fine. I can mount both primary and secondary to other servers and browse/read/write, but these keep showing up in the log: (of mention, this is the same hardware/network we used for our 4.0 install) 2013-07-13 17:36:12,642 WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:null) ModifyStoragePoolCommand add XenAPIException:Can not see storage pool: f09e0cef-0412-38f8-889c-ffa742a6084c from on host:40455980-acdf-4e56-8415-7dcde2db9e05 host:40455980-acdf-4e56-8415-7dcde2db9e05 pool: nfsserverip/volumes/store/primary com.cloud.utils.exception.CloudRuntimeException: Can not see storage pool: f09e0cef-0412-38f8-889c-ffa742a6084c from on host:40455980-acdf-4e56-8415-7dcde2db9e05 2013-07-13 17:36:12,648 WARN [storage.listener.StoragePoolMonitor] (AgentTaskPool-1:null) Unable to connect host 3 to pool Pool[200|NetworkFilesystem] due to com.cloud.exception.StorageUnavailableException: Resource [StoragePool:200] is unreachable: Unable establish connection from storage head to storage pool 200 due to ModifyStoragePoolCommand add XenAPIException:Can not see storage pool: f09e0cef-0412-38f8-889c-ffa742a6084c from on host:40455980-acdf-4e56-8415-7dcde2db9e05 host:40455980-acdf-4e56-8415-7dcde2db9e05 pool: nfsserverip/volumes/store/primary com.cloud.exception.StorageUnavailableException: Resource [StoragePool:200] is unreachable: Unable establish connection from storage head to storage pool 200 due to ModifyStoragePoolCommand add XenAPIException:Can not see storage pool: f09e0cef-0412-38f8-889c-ffa742a6084c from on host:40455980-acdf-4e56-8415-7dcde2db9e05 host:40455980-acdf-4e56-8415-7dcde2db9e05 pool: nfsserverip/volumes/store/primary -- Regards, Kirk Jantzer http://about.met/kirkjantzer
Re: Can't get system vm's to start
I can't login to a vm that doesn't exist ;-) Regards, Kirk Jantzer http://about.me/kirkjantzer On Jul 13, 2013 10:30 PM, Dave Dunaway dave.duna...@gmail.com wrote: Take the usual steps, log into the ssvm if you can and run the chechssvm.sh or whatever it is called script (check the docs, I assume it's listed there). Make sure the SSVM can reach the management server on tcp 8250, and the host that has the NFS mount for your sec storage is up and working properly (ie: check that the NFS server is good to go, exports, bacon sandwiches). hth. On Sat, Jul 13, 2013 at 9:53 PM, Kirk Jantzer kirk.jant...@gmail.com wrote: CS 4.1. Tried several different versions of Xen. Using Nexenta to present NFS. Storage attaches to CS fine. I can mount both primary and secondary to other servers and browse/read/write, but these keep showing up in the log: (of mention, this is the same hardware/network we used for our 4.0 install) 2013-07-13 17:36:12,642 WARN [xen.resource.CitrixResourceBase] (DirectAgent-1:null) ModifyStoragePoolCommand add XenAPIException:Can not see storage pool: f09e0cef-0412-38f8-889c-ffa742a6084c from on host:40455980-acdf-4e56-8415-7dcde2db9e05 host:40455980-acdf-4e56-8415-7dcde2db9e05 pool: nfsserverip/volumes/store/primary com.cloud.utils.exception.CloudRuntimeException: Can not see storage pool: f09e0cef-0412-38f8-889c-ffa742a6084c from on host:40455980-acdf-4e56-8415-7dcde2db9e05 2013-07-13 17:36:12,648 WARN [storage.listener.StoragePoolMonitor] (AgentTaskPool-1:null) Unable to connect host 3 to pool Pool[200|NetworkFilesystem] due to com.cloud.exception.StorageUnavailableException: Resource [StoragePool:200] is unreachable: Unable establish connection from storage head to storage pool 200 due to ModifyStoragePoolCommand add XenAPIException:Can not see storage pool: f09e0cef-0412-38f8-889c-ffa742a6084c from on host:40455980-acdf-4e56-8415-7dcde2db9e05 host:40455980-acdf-4e56-8415-7dcde2db9e05 pool: nfsserverip/volumes/store/primary com.cloud.exception.StorageUnavailableException: Resource [StoragePool:200] is unreachable: Unable establish connection from storage head to storage pool 200 due to ModifyStoragePoolCommand add XenAPIException:Can not see storage pool: f09e0cef-0412-38f8-889c-ffa742a6084c from on host:40455980-acdf-4e56-8415-7dcde2db9e05 host:40455980-acdf-4e56-8415-7dcde2db9e05 pool: nfsserverip/volumes/store/primary -- Regards, Kirk Jantzer http://about.met/kirkjantzer
How to migrate instances of OpenStack to Cloudstack.
Hi,all: Is there any method to move instances from Openstack to Cloudstack? Both OS and CS are using KVM as hypervisor. Best regards.