Hi all,
Recently I reinstalled CloudStack 4.1.1 using the quick install guide.
I found that I can not add instance because the secondary storage vm is
not working correctly thus I cannot register templates. Below is the
output the healthy check scripts of ssvm,
root@s-1-VM:~# /usr/local/cloud/systemvm/ssvm-check.sh
================================================
First DNS server is 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: icmp_seq=0 ttl=47 time=1059.012 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=47 time=58.099 ms
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 58.099/558.555/1059.012/500.457 ms
Good: Can ping DNS server
================================================
Good: DNS resolves download.cloud.com
================================================
ERROR: NFS is not currently mounted
Try manually mounting from inside the VM
NFS server is 169.254.1.111
PING 169.254.1.111 (169.254.1.111): 56 data bytes
64 bytes from 169.254.1.111: icmp_seq=0 ttl=64 time=0.043 ms
64 bytes from 169.254.1.111: icmp_seq=1 ttl=64 time=0.053 ms
--- 169.254.1.111 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 0.043/0.048/0.053/0.000 ms
Good: Can ping NFS server
================================================
Management server is 10.244.18.55. Checking connectivity.
Good: Can connect to management server port 8250
================================================
Good: Java process is running
================================================
Tests Complete. Look for ERROR or WARNING above.
The NFS server is not mounted, and the IP address listed above as the
NFS server is actually the link local address of the ssvm. The NFS
server address should be 10.244.18.55 which is the same as the
management server. could someone tell me why the link local address is
there?
The following is the content of /var/cache/cloud/cmdline on ssvm.
template=domP type=secstorage host=10.244.18.55 port=8250 name=s-1-VM
zone=1 pod=1 guid=s-1-VM
resource=com.cloud.storage.resource.NfsSecondaryStorageResource
instance=SecStorage sslcopy=true role=templateProcessor mtu=1500
eth2ip=10.244.18.58 eth2mask=255.255.255.0 gateway=10.244.18.1
eth0ip=169.254.1.111 eth0mask=255.255.0.0 eth1ip=10.244.18.46
eth1mask=255.255.255.0 mgmtcidr=10.244.18.0/24 localgw=10.244.18.1
private.network.device=eth1 eth3ip=10.244.18.52 eth3mask=255.255.255.0
storageip=10.244.18.52 storagenetmask=255.255.255.0
storagegateway=10.244.18.1 internaldns1=8.8.8.8 internaldns2=8.8.4.4
dns1=8.8.8.8 dns2=8.8.4.4
Could someone give me some help?
Cheers,
Meng