cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Giri Prasad <g_p...@yahoo.com>
Subject unable to connect to /var/lib/libvirt/qemu/v-1-VM.agent
Date Sat, 19 Apr 2014 12:12:31 GMT
Hello All,


 I am trying to trying to setup cloudstack 4.3 on centos 6.5. After all the installation
steps are over, and upon pressing the <Launch> button in the cloudstack gui, the following
error comes out repeatedly. Any comments as to why is this happening?

Thanks in advance.

Regards,
Giri

tail -f /var/log/cloudstack/agent/agent.log

2014-04-19 14:46:43,735 WARN  [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null)
Timed out: /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n v-1-VM
-p %template=domP%type=consoleproxy%host=192.XXX.XX.X%port=8250%name=v-1-VM%zone=1%pod=1%guid=Proxy.1%proxy_vm=1%disable_rp_filter=true%eth2ip=192.XXX.XX.173%eth2mask=255.255.255.0%gateway=192.XXX.XX.1%eth0ip=169.254.1.66%eth0mask=255.255.0.0%eth1ip=192.XXX.XX.166%eth1mask=255.255.255.0%mgmtcidr=192.XXX.XX.0/24%localgw=192.XXX.XX.1%internaldns1=192.XXX.XX.1%dns1=192.XXX.XX.1
.  Output is: 
2014-04-19 14:46:49,775 WARN  [kvm.resource.LibvirtComputingResource] (Script-3:null) Interrupting
script.
2014-04-19 14:46:49,776 WARN  [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-3:null)
Timed out: /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n s-2-VM
-p %template=domP%type=secstorage%host=192.XXX.XX.X%port=8250%name=s-2-VM%zone=1%pod=1%guid=s-2-VM%resource=com.cloud.storage.resource.PremiumSecondaryStorageResource%instance=SecStorage%sslcopy=false%role=templateProcessor%mtu=1500%eth2ip=192.XXX.XX.171%eth2mask=255.255.255.0%gateway=192.XXX.XX.1%eth0ip=169.254.2.215%eth0mask=255.255.0.0%eth1ip=192.XXX.XX.165%eth1mask=255.255.255.0%mgmtcidr=192.XXX.XX.0/24%localgw=192.XXX.XX.1%private.network.device=eth1%eth3ip=192.XXX.XX.161%eth3mask=255.255.255.0%storageip=192.XXX.XX.161%storagenetmask=255.255.255.0%storagegateway=192.XXX.XX.1%internaldns1=192.XXX.XX.1%dns1=192.XXX.XX.1
.  Output is: 
2014-04-19 14:47:04,740 WARN  [kvm.resource.LibvirtComputingResource] (Script-4:null) Interrupting
script.
2014-04-19 14:47:04,741 WARN  [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-4:null)
Timed out: /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n v-1-VM
-p %template=domP%type=consoleproxy%host=192.XXX.XX.X%port=8250%name=v-1-VM%zone=1%pod=1%guid=Proxy.1%proxy_vm=1%disable_rp_filter=true%eth2ip=192.XXX.XX.173%eth2mask=255.255.255.0%gateway=192.XXX.XX.1%eth0ip=169.254.1.66%eth0mask=255.255.0.0%eth1ip=192.XXX.XX.166%eth1mask=255.255.255.0%mgmtcidr=192.XXX.XX.0/24%localgw=192.XXX.XX.1%internaldns1=192.XXX.XX.1%dns1=192.XXX.XX.1
.  Output is: 
2014-04-19 14:47:10,782 WARN  [kvm.resource.LibvirtComputingResource] (Script-7:null) Interrupting
script.
2014-04-19 14:47:10,782 WARN  [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-3:null)
Timed out: /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n s-2-VM
-p %template=domP%type=secstorage%host=192.XXX.XX.X%port=8250%name=s-2-VM%zone=1%pod=1%guid=s-2-VM%resource=com.cloud.storage.resource.PremiumSecondaryStorageResource%instance=SecStorage%sslcopy=false%role=templateProcessor%mtu=1500%eth2ip=192.XXX.XX.171%eth2mask=255.255.255.0%gateway=192.XXX.XX.1%eth0ip=169.254.2.215%eth0mask=255.255.0.0%eth1ip=192.XXX.XX.165%eth1mask=255.255.255.0%mgmtcidr=192.XXX.XX.0/24%localgw=192.XXX.XX.1%private.network.device=eth1%eth3ip=192.XXX.XX.161%eth3mask=255.255.255.0%storageip=192.XXX.XX.161%storagenetmask=255.255.255.0%storagegateway=192.XXX.XX.1%internaldns1=192.XXX.XX.1%dns1=192.XXX.XX.1
.  Output is: 



tail -f /var/log/cloudstack/management/management-server.log 

2014-04-19 14:48:04,970 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-e0e30b67)
Detected management node left, id:2, nodeIP:192.XXX.XX.X
2014-04-19 14:48:04,970 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-e0e30b67)
Trying to connect to 192.XXX.XX.X
2014-04-19 14:48:04,971 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-e0e30b67)
Management node 2 is detected inactive by timestamp but is pingable
2014-04-19 14:48:06,547 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-b48bc2bd)
Detected management node left, id:2, nodeIP:192.XXX.XX.X
2014-04-19 14:48:06,547 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-b48bc2bd)
Trying to connect to 192.XXX.XX.X
2014-04-19 14:48:06,548 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-b48bc2bd)
Management node 2 is detected inactive by timestamp but is pingable
2014-04-19 14:48:06,642 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-7776d406)
Found 0 routers to update status. 
2014-04-19 14:48:06,644 DEBUG [c.c.n.r.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:ctx-7776d406)
Found 0 networks to update RvR status. 
2014-04-19 14:48:07,933 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-bcbccc64)
Detected management node left, id:2, nodeIP:192.XXX.XX.X
2014-04-19 14:48:07,933 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-bcbccc64)
Trying to connect to 192.XXX.XX.X
2014-04-19 14:48:07,933 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-bcbccc64)
Management node 2 is detected inactive by timestamp but is pingable
2014-04-19 14:48:09,435 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-45236a49)
Detected management node left, id:2, nodeIP:192.XXX.XX.X
2014-04-19 14:48:09,435 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-45236a49)
Trying to connect to 192.XXX.XX.X
2014-04-19 14:48:09,436 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-45236a49)
Management node 2 is detected inactive by timestamp but is pingable
2014-04-19 14:48:09,729 DEBUG [c.c.a.ApiServlet] (catalina-exec-1:ctx-5750245e) ===START=== 
192.XXX.XX.X -- GET  command=listSystemVms&response=json&sessionkey=o4rxuG%2BgVnMwrfFXkNjHfnaNGe4%3D&_=1397899089726
2014-04-19 14:48:09,898 DEBUG [c.c.a.ApiServlet] (catalina-exec-1:ctx-5750245e ctx-6bcad27e)
===END===  192.XXX.XX.X -- GET  command=listSystemVms&response=json&sessionkey=o4rxuG%2BgVnMwrfFXkNjHfnaNGe4%3D&_=1397899089726
2014-04-19 14:48:10,920 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-c76d5680)
Detected management node left, id:2, nodeIP:192.XXX.XX.X
2014-04-19 14:48:10,920 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-c76d5680)
Trying to connect to 192.XXX.XX.X
2014-04-19 14:48:10,920 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-c76d5680)
Management node 2 is detected inactive by timestamp but is pingable
2014-04-19 14:48:11,363 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-b3be8305)
Resetting hosts suitable for reconnect
2014-04-19 14:48:11,365 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-b3be8305)
Completed resetting hosts suitable for reconnect
2014-04-19 14:48:11,366 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-b3be8305)
Acquiring hosts for clusters already owned by this management server
2014-04-19 14:48:11,366 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-b3be8305)
Completed acquiring hosts for clusters already owned by this management server
2014-04-19 14:48:11,367 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-b3be8305)
Acquiring hosts for clusters not owned by any management server
2014-04-19 14:48:11,367 DEBUG [c.c.h.d.HostDaoImpl] (ClusteredAgentManager Timer:ctx-b3be8305)
Completed acquiring hosts for clusters not owned by any management server
2014-04-19 14:48:12,448 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-a25c3541)
Detected management node left, id:2, nodeIP:192.XXX.XX.X
2014-04-19 14:48:12,449 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-a25c3541)
Trying to connect to 192.XXX.XX.X
2014-04-19 14:48:12,449 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-a25c3541)
Management node 2 is detected inactive by timestamp but is pingable
2014-04-19 14:48:13,931 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-7cdc85ae)
Detected management node left, id:2, nodeIP:192.XXX.XX.X
2014-04-19 14:48:13,931 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-7cdc85ae)
Trying to connect to 192.XXX.XX.X
2014-04-19 14:48:13,931 INFO  [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-7cdc85ae)
Management node 2 is detected inactive by timestamp but is pingable
2014-04-19 14:48:14,728 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-5e99529e) ===START=== 
192.XXX.XX.X -- GET  command=listSystemVms&response=json&sessionkey=o4rxuG%2BgVnMwrfFXkNjHfnaNGe4%3D&_=1397899094725
2014-04-19 14:48:14,895 DEBUG [c.c.a.ApiServlet] (catalina-exec-10:ctx-5e99529e ctx-3d105d7f)
===END===  192.XXX.XX.X -- GET  command=listSystemVms&response=json&sessionkey=o4rxuG%2BgVnMwrfFXkNjHfnaNGe4%3D&_=1397899094725
2014-04-19 14:48:15,432 DEBUG [c.c.c.ClusterManagerImpl] (Cluster-Heartbeat-1:ctx-76b37f47)
Detected management node left, id:2, nodeIP:192.XXX.XX.X


# /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl -n v-1-VM -p %template=domP%type=consoleproxy%host=192.XXX.XX.5%port=8250%name=v-1-VM%zone=1%pod=1%guid=Proxy.1%proxy_vm=1%disable_rp_filter=true%eth2ip=192.XXX.XX.173%eth2mask=255.255.255.0%gateway=192.XXX.XX.1%eth0ip=169.254.0.173%eth0mask=255.255.0.0%eth1ip=192.XXX.XX.166%eth1mask=255.255.255.0%mgmtcidr=192.XXX.XX.0/24%localgw=192.XXX.XX.1%internaldns1=192.XXX.XX.1%dns1=192.XXX.XX.1
.
ERROR: unable to connect to /var/lib/libvirt/qemu/v-1-VM.agent - Connection refused


# virsh list --all
 Id    Name                           State
----------------------------------------------------
 15    v-1-VM                         running
 16    s-5-VM                         running

/etc/libvirt/libvirtd.conf
listen_tls=0
listen_tcp=1


Mime
View raw message