>>>   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?
> 
>> Hi,
> 
>> Is Selinux off or in permissive mode?
> 
>> Also, what does "virsh dumpxml v-1-VM | grep agent" say?
> 
> Hi,
> 
>  Thanks for your comment.
> 
> virsh dumpxml v-1-VM | grep agent
>       <source mode='bind' path='/var/lib/libvirt/qemu/v-1-VM.agent'/>
> SELINUX=permissive

>One thing that caught me by surprise - though the error does not 
>indicate anything like this - is missing openssh-clients package 
>installed. Can you make sure you have that installed?

# rpm -qa | grep openssh
openssh-clients-5.3p1-94.el6.x86_64
openssh-5.3p1-94.el6.x86_64
openssh-askpass-5.3p1-94.el6.x86_64
openssh-server-5.3p1-94.el6.x86_64

# grep listen_ /etc/libvirt/libvirtd.conf
listen_tls=0
listen_tcp=1
#listen_addr = "192.XX.XX.X"
listen_addr = "0.0.0.0"

# /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

Reply via email to