cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paez Sanchez Paula Carlota <paulacarlota.paezsanc...@gemalto.com>
Subject Re: [error] Unable to create a deployment for VM
Date Mon, 07 Dec 2015 15:53:37 GMT
Hello again,

Thanks a lot @Makrand, it was really useful to approach a Little bit more the error in the
log. However, I cannot replicate the error in order to know where my error comes from.

This is some test I made following your reply..


-          Checked the properties of KVM libvert setting

[root@mnode-6 cloudstack]# cat cloudstackhost.sh
#!/bin/bash
sed -i 's/SELINUX=enforcing/SELINUX=permissive/g' /etc/selinux/
cat > /etc/exports <<EOF
/export/primary *(nohide,rw,async,no_root_squash)
EOF
sed -i 's/^#Domain = .*$/Domain = biometrics.local/g' /etc/idmapd.conf
sed -i 's/^#\(LOCKD_TCPPORT\|LOCKD_UDPPORT\|MOUNTD_PORT\|RQUOTAD_PORT\|STATD_PORT\|STATD_OUTGOING_PORT\)\(.*$\)/\1\2/g'
/etc/sysconfig/nfs
sed -i "/:OUTPUT ACCEPT/ a\
-A INPUT -m state --state NEW -p udp --dport 111 -j ACCEPT\n\
-A INPUT -m state --state NEW -p tcp --dport 111 -j ACCEPT\n\
-A INPUT -m state --state NEW -p tcp --dport 2049 -j ACCEPT\n\
-A INPUT -m state --state NEW -p tcp --dport 32803 -j ACCEPT\n\
-A INPUT -m state --state NEW -p udp --dport 32769 -j ACCEPT\n\
-A INPUT -m state --state NEW -p tcp --dport 892 -j ACCEPT\n\
-A INPUT -m state --state NEW -p udp --dport 892 -j ACCEPT\n\
-A INPUT -m state --state NEW -p tcp --dport 875 -j ACCEPT\n\
-A INPUT -m state --state NEW -p udp --dport 875 -j ACCEPT\n\
-A INPUT -m state --state NEW -p tcp --dport 662 -j ACCEPT\n\
-A INPUT -m state --state NEW -p udp --dport 662 -j ACCEPT" /etc/sysconfig/iptables
yum install rpcbind nfs
service iptables restart
service rpcbind start
service nfs start
chkconfig rpcbind on
chkconfig nfs on
yum -y install qemu-kvm
yum -y install cloudstack-agent
sed -i 's/^#vnc_listen/vnc_listen/g' /etc/libvirt/qemu.conf
sed -i 's/^\(#\|\)listen_tls =.*$/listen_tls = 0/g;
        s/^\(#\|\)listen_tcp =.*$/listen_tcp = 1/g;
        s/^\(#\|\)tcp_port =.*$/tcp_port = "16059"/g;
        s/^\(#\|\)auth_tcp =.*$/auth_tcp = "none"/g;
        s/^\(#\|\)mdns_adv =.*$/mdns_adv = 0/g' /etc/libvirt/libvirtd.conf
sed -i 's/^#LIBVIRTD_ARGS/LIBVIRTD_ARGS/g' /etc/sysconfig/libvirtd
service libvirtd restart
chkconfig libvirtd on
iptables -I INPUT -p tcp -m tcp --dport 22 -j ACCEPT
iptables -I INPUT -p tcp -m tcp --dport 1798 -j ACCEPT
iptables -I INPUT -p tcp -m tcp --dport 16509 -j ACCEPT
iptables -I INPUT -p tcp -m tcp --dport 5900:6100 -j ACCEPT
iptables -I INPUT -p tcp -m tcp --dport 49152:49216 -j ACCEPT
iptables-save > /etc/sysconfig/iptables
[root@mnode-6 cloudstack]#


-          There's enough space and I can access to it.
[root@mnode-6 temporal]# df -h .
Filesystem            Size  Used Avail Use% Mounted on
mnode-6:/export/primary
                      4.3T   19G  4.1T   1% /temporal


-          The second storage is also accessible and with enough capacity.

This is not the first node that I added. I have other one that is dedicated too and works
fine.


Thanks a lot again in advance.

Paula C. Páez
________________________________
This message and any attachments are intended solely for the addressees and may contain confidential
information. Any unauthorized use or disclosure, either whole or partial, is prohibited.
E-mails are susceptible to alteration. Our company shall not be liable for the message if
altered, changed or falsified. If you are not the intended recipient of this message, please
delete it and notify the sender.
Although all reasonable efforts have been made to keep this transmission free from viruses,
the sender will not be liable for damages caused by a transmitted virus.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message