Hi Suresh, 1) "use local storage" flag was marked while zone creation. 2) As I am not able to ping pulic ip of SSVM and CPVM, I took console of SSVM from xencenter. SSVM health check..
root@s-9-VM:/usr/local/cloud/systemvm# sh 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=56 time=100.616 ms 64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=165.650 ms --- 8.8.8.8 ping statistics --- 2 packets transmitted, 2 packets received, 0% packet loss round-trip min/avg/max/stddev = 100.616/133.133/165.650/32.517 ms Good: Can ping DNS server ================================================ Good: DNS resolves download.cloud.com ================================================ NFS is currently mounted Mount point is /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15 Good: Can write to mount point ================================================ Management server is 10.129.151.57. Checking connectivity. Good: Can connect to management server port 8250 ================================================ Good: Java process is running ================================================ Tests Complete. Look for ERROR or WARNING above. 3) Status of iptables on MS.. [root@xen ~]# iptables -L Chain INPUT (policy ACCEPT) target prot opt source destination Chain FORWARD (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination 4) In Global conf. host ip is set to 10.129.151.57 which is MS ip. Also I confirm with /etc/cloudstack/management/db.properties cluster.node.IP=10.129.151.57 Just before my host lost connectivity for 2min, after network restored I have restarted cloudstack-manageent service and template status : No route to host Regards, Tejas On Tue, Mar 25, 2014 at 12:37 PM, Suresh Sadhu <suresh.sa...@citrix.com>wrote: > > Did you enable the " use local storage " flag during zone creation > Also did you check any error ssvm agent is up and running ? > Check ur MS is listening on 8250 port. Or stop all the iptables > What is the value set for host in global config.it should set to MS iP > > > Check why still it's looking for download.cloud.com ,it should refer your > nfs storage IP > > INFO HttpTemplateDownloader:147 - No credentials configured for host= > download.cloud.com:80 > > > *07:21:55,243 INFO HttpMethodDirector:439 - I/O exception > (java.net.NoRouteToHostException) caught when processing request: No route > to host 07:21:55,243 INFO HttpMethodDirector:445 > > > Regards > Sadhu > > > > > > > > > > -----Original Message----- > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > Sent: 25 March 2014 12:23 > To: us...@cloudstack.apache.org > Cc: dev@cloudstack.apache.org > Subject: Re: Not able to download CentOS template > > Hi Suresh, > > Yes "system.vm.use.local.storage" is already set to "true" > > Regards, > Tejas > > > On Tue, Mar 25, 2014 at 12:18 PM, Suresh Sadhu <suresh.sa...@citrix.com > >wrote: > > > Ok. > > > > What is the value set for the "system.vm.use.local.storage" and I > > hope you already enabled " use local storage " flag during zone > creation. > > > > If "system.vm.use.local.storage" set to false then please change to > > true and restart your MS. > > Regards > > sadhu > > > > -----Original Message----- > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > Sent: 25 March 2014 11:09 > > To: dev@cloudstack.apache.org > > Cc: us...@cloudstack.apache.org > > Subject: Re: Not able to download CentOS template > > > > Hi Suresh, > > > > 'secstorage.allowed.internal.sites' already set to Management server > > IP > > 10.129.151.57/24 . > > > > Regards, > > Tejas > > > > > > On Tue, Mar 25, 2014 at 11:01 AM, Suresh Sadhu > > <suresh.sa...@citrix.com > > >wrote: > > > > > What is the value set for this global configuration : > > > secstorage.allowed.internal.sites > > > > > > Set global configuration secstorage.allowed.internal.sites to your > > > internal network cidr and restart the management server. > > > > > > Regards > > > Sadhu > > > > > > > > > -----Original Message----- > > > From: Tejas Gadaria [mailto:refond.g...@gmail.com] > > > Sent: 25 March 2014 08:50 > > > To: us...@cloudstack.apache.org; dev@cloudstack.apache.org > > > Subject: Re: Not able to download CentOS template > > > > > > Hi Osay, > > > > > > I am running NFS server on top of Management server, I have mounted > > > nfs share.. > > > > > > [root@xen nfs]# mount > > > /dev/mapper/VolGroup-lv_root on / type ext4 (rw) proc on /proc type > > > proc > > > (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts > > > (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) > > > /dev/sda1 on /boot type ext4 (rw) > > > none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) sunrpc on > > > /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw) > > > /dev/sdb1 on /nfs type ext4 (rw) > > > nfsd on /proc/fs/nfsd type nfsd (rw) 10.129.151.57:/nfs/secondary on > > > /mnt/secondary type nfs > > > (rw,vers=4,addr=10.129.151.57,clientaddr=10.129.151.57) > > > > > > Systemvm template script.. > > > > > > > > > /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install > > > -s > > > ys-tmplt -m /mnt/secondary/ -f > > > /home/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 > > > -h xenserver -F > > > Uncompressing to > > > > > > /usr/share/cloudstack-common/scripts/storage/secondary/935313be-3da0 > > > -4 > > > 2ce-bc51-b608c34e5a2e.vhd.tmp > > > (type bz2)...could take a long time > > > Moving to > > > > > > /mnt/secondary/template/tmpl/1/1///935313be-3da0-42ce-bc51-b608c34e5 > > > a2 > > > e.vhd...could > > > take a while > > > Successfully installed system VM template > > > /home/systemvmtemplate-2013-07-12-master-xen.vhd.bz2 to > > > /mnt/secondary/template/tmpl/1/1/ > > > > > > Template in NFS storage.. > > > > > > [root@xen ~]# ls -lR /nfs/secondary/ > > > /nfs/secondary/: > > > total 4 > > > drwxr-xr-x 3 root root 4096 Mar 24 18:29 template > > > > > > /nfs/secondary/template: > > > total 4 > > > drwxr-xr-x 3 root root 4096 Mar 24 18:29 tmpl > > > > > > /nfs/secondary/template/tmpl: > > > total 4 > > > drwxr-xr-x 3 root root 4096 Mar 24 18:29 1 > > > > > > /nfs/secondary/template/tmpl/1: > > > total 4 > > > drwxr-xr-x 2 root root 4096 Mar 24 18:36 1 > > > > > > /nfs/secondary/template/tmpl/1/1: > > > total 2052016 > > > -rw-r--r-- 1 root root 2101252608 Mar 24 18:32 > > > a874c59d-ba92-4ab5-8aaf-c6142340f8cd.vhd > > > -rw-r--r-- 1 root root 287 Mar 24 18:36 template.properties > > > > > > > > > Added Secondary Storage & Enabled the zone. > > > Still giving same error .! > > > > > > Regards, > > > Tejas > > > > > >