You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Tejas Gadaria <re...@gmail.com> on 2014/03/24 10:18:29 UTC

Not able to download CentOS template

Hi,

After CS installation I am unable to download CentOS template. SSVM and
CPVM public IP's are not pinging.

I am following this Doc..
https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting

1) Not able to login from Management server to SSVM with SSVM private ip.



*ssh -i /root/.ssh/id_rsa.cloud -p 3922 10.129.151.96ssh: connect to host
10.129.151.96 port 3922: Connection refused*
2)
*ssh root@169.254.2.113 <ro...@169.254.2.113> (Link local ip from Xenserver
host)ssh: connect to host 169.254.2.113 <169.254.2.113> port 22: Connection
timed out*

I management server log it does not shows any error, except template "NOT
DOWNLOADED" error

Then I took console in xencenter and check the SSVM log,

07:21:48,210  INFO Agent:154 - id is 3
07:21:48,251  INFO NfsSecondaryStorageResource:2046 - config_ssl.sh found
in /us r/local/cloud/systemvm/config_ssl.sh
07:21:48,251  INFO NfsSecondaryStorageResource:2051 - config_auth.sh found
in /u sr/local/cloud/systemvm/config_auth.sh
07:21:48,252  INFO NfsSecondaryStorageResource:2056 - _configIpFirewallScr
found in /usr/local/cloud/systemvm/ipfirewall.sh
07:21:48,255  INFO NfsSecondaryStorageResource:2070 - Secondary storage
runs in role templateProcessor
07:21:48,298  INFO DownloadManagerImpl:1014 - DownloadManager: starting
additional services since we are inside system vm
07:21:48,850  INFO DownloadManagerImpl:1034 - listvmtmplt.sh found in
/usr/local/cloud/systemvm/scripts/storage/secondary/listvmtmplt.sh
07:21:48,851  INFO DownloadManagerImpl:1040 - createtmplt.sh found in
/usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh
07:21:48,853  INFO DownloadManagerImpl:1046 - listvolume.sh found in
/usr/local/cloud/systemvm/scripts/storage/secondary/listvolume.sh
07:21:48,853  INFO DownloadManagerImpl:1052 - createvolume.sh found in
/usr/local/cloud/systemvm/scripts/storage/secondary/createvolume.sh
07:21:48,863  INFO UploadManagerImpl:477 - UploadManager: starting
additional services since we are inside system vm
07:21:49,031  INFO GsonHelper:53 - Default Builder inited.
07:21:49,042  INFO Agent:182 - Agent [id = 3 : type =
PremiumSecondaryStorageResource : zone = 1 : pod = 1 : workers = 5 : host =
10.129.151.57 : port = 8250
07:21:49,064  INFO NioClient:54 - Connecting to 10.129.151.57:8250
07:21:49,515  INFO NioClient:80 - SSL: Handshake done
07:21:49,515  INFO NioClient:81 - Connected to 10.129.151.57:8250
07:21:49,623  INFO Agent:445 - Proccess agent startup answer, agent id = 0
07:21:49,623  INFO Agent:291 - Set agent id 0
07:21:49,629  INFO Agent:455 - Startup Response Received: agent id = 0
07:21:49,841  INFO NfsSecondaryStorageResource:2365 - snapshots directory
created/exists on Secondary Storage.
07:21:49,842  INFO NfsSecondaryStorageResource:2365 - volumes directory
created/exists on Secondary Storage.
07:21:51,702  INFO DownloadManagerImpl:799 - found 0 volumes[]
07:21:51,851  INFO DownloadManagerImpl:811 - found 2
templates[/mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/5/,
/mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/1/b36ee4f8-0afb-49e5-918a-a4f31b00b02a.vhd]

07:21:51,856  WARN DownloadManagerImpl:830 - Post download installation was
not completed for
/mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/5
07:21:52,010  INFO Agent:592 - Proccess agent ready command, agent id = 3
07:21:52,011  INFO Agent:291 - Set agent id 3
07:21:52,011  INFO Agent:596 - Ready command is processed: agent id = 3
07:21:52,060  INFO Agent:592 - Proccess agent ready command, agent id = 3
07:21:52,060  INFO Agent:291 - Set agent id 3
07:21:52,060  INFO Agent:596 - Ready command is processed: agent id = 3
07:21:52,204  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 - Retrying request
07:21:58,251  INFO DownloadManagerImpl:268 - Download Completion for jobId:
99e4ca29-e97f-4550-a13f-85d10e44ab0b, status=UNRECOVERABLE_ERROR *
07:21:58,252  INFO DownloadManagerImpl:269 - local:
/mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/null/dnld1959129797294693271tmp_,
bytes=0, error=No route to host, pct=0


I am using Local storage as primary storage and NFS as secondary storage
for Xen 6.0.2 on CS 4.2.1
CentOS template also shows "*No route to host* " .

SSVM health check shows everything is fine,

root@s-1-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=176.230 ms
64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=157.860 ms
--- 8.8.8.8 ping statistics ---
2 packets transmitted, 2 packets received, 0% packet loss
round-trip min/avg/max/stddev = 157.860/167.045/176.230/9.185 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.


I have spent lot of time to resolve this issue but no success.
Please Need help on this.


Regards,
Tejas

Re: Not able to download CentOS template

Posted by Tejas Gadaria <re...@gmail.com>.
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 <Su...@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.gmrt@gmail.com]
> Sent: 25 March 2014 12:23
> To: users@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.Sadhu@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.gmrt@gmail.com]
> > Sent: 25 March 2014 11:09
> > To: dev@cloudstack.apache.org
> > Cc: users@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.Sadhu@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.gmrt@gmail.com]
> > > Sent: 25 March 2014 08:50
> > > To: users@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
> > >
> >
>

Re: Not able to download CentOS template

Posted by Tejas Gadaria <re...@gmail.com>.
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 <Su...@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.gmrt@gmail.com]
> Sent: 25 March 2014 12:23
> To: users@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.Sadhu@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.gmrt@gmail.com]
> > Sent: 25 March 2014 11:09
> > To: dev@cloudstack.apache.org
> > Cc: users@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.Sadhu@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.gmrt@gmail.com]
> > > Sent: 25 March 2014 08:50
> > > To: users@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
> > >
> >
>

Re: Not able to download CentOS template

Posted by Tejas Gadaria <re...@gmail.com>.
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 <Su...@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.gmrt@gmail.com]
> Sent: 25 March 2014 11:09
> To: dev@cloudstack.apache.org
> Cc: users@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.Sadhu@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.gmrt@gmail.com]
> > Sent: 25 March 2014 08:50
> > To: users@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-b608c34e5a2
> > 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
> >
>

Re: Not able to download CentOS template

Posted by Tejas Gadaria <re...@gmail.com>.
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 <Su...@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.gmrt@gmail.com]
> Sent: 25 March 2014 11:09
> To: dev@cloudstack.apache.org
> Cc: users@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.Sadhu@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.gmrt@gmail.com]
> > Sent: 25 March 2014 08:50
> > To: users@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-b608c34e5a2
> > 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
> >
>

RE: Not able to download CentOS template

Posted by Suresh Sadhu <Su...@citrix.com>.
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.gmrt@gmail.com] 
Sent: 25 March 2014 11:09
To: dev@cloudstack.apache.org
Cc: users@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 <Su...@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.gmrt@gmail.com]
> Sent: 25 March 2014 08:50
> To: users@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-b608c34e5a2
> 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
>

RE: Not able to download CentOS template

Posted by Suresh Sadhu <Su...@citrix.com>.
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.gmrt@gmail.com] 
Sent: 25 March 2014 11:09
To: dev@cloudstack.apache.org
Cc: users@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 <Su...@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.gmrt@gmail.com]
> Sent: 25 March 2014 08:50
> To: users@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-b608c34e5a2
> 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
>

Re: Not able to download CentOS template

Posted by Tejas Gadaria <re...@gmail.com>.
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 <Su...@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.gmrt@gmail.com]
> Sent: 25 March 2014 08:50
> To: users@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-sys-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-42ce-bc51-b608c34e5a2e.vhd.tmp
> (type bz2)...could take a long time
> Moving to
>
> /mnt/secondary/template/tmpl/1/1///935313be-3da0-42ce-bc51-b608c34e5a2e.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
>

Re: Not able to download CentOS template

Posted by Tejas Gadaria <re...@gmail.com>.
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 <Su...@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.gmrt@gmail.com]
> Sent: 25 March 2014 08:50
> To: users@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-sys-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-42ce-bc51-b608c34e5a2e.vhd.tmp
> (type bz2)...could take a long time
> Moving to
>
> /mnt/secondary/template/tmpl/1/1///935313be-3da0-42ce-bc51-b608c34e5a2e.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
>

RE: Not able to download CentOS template

Posted by Suresh Sadhu <Su...@citrix.com>.
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.gmrt@gmail.com] 
Sent: 25 March 2014 08:50
To: users@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-sys-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-42ce-bc51-b608c34e5a2e.vhd.tmp
(type bz2)...could take a long time
Moving to
/mnt/secondary/template/tmpl/1/1///935313be-3da0-42ce-bc51-b608c34e5a2e.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

Re: Not able to download CentOS template

Posted by Tejas Gadaria <re...@gmail.com>.
Hi,

Also I have flush iptables in SSVM 'iptables -F'

service cloud stop
service cloud stop
service cloud start

Nothing happen..
Then restarted cloudstack-management service

Logs on Management server indicates ...

2014-03-25 09:16:59,188 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-11:null) SeqA 9-7087: Sending Seq 9-7087:  { Ans: ,
MgmtId: 345049296663, via: 9, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2014-03-25 09:17:02,444 DEBUG [storage.download.DownloadListener]
(Timer-9:null) Scheduling timeout at 30000 ms, TEMPLATE: 5 at host 0
*2014-03-25 09:17:02,445 DEBUG [storage.download.DownloadListener]
(Timer-9:null) NOT_DOWNLOADED first timeout: checking again , TEMPLATE: 5
at host 0*
2014-03-25 09:17:09,182 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-12:null) SeqA 9-7088: Processing Seq 9-7088:  { Cmd ,
MgmtId: -1, via: 9, Ver: v1, Flags: 11,
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":10,"_loadInfo":"{\n
\"connections\": []\n}","wait":0}}] }

After log in to CS, *Template status: ' Timeout waiting for response from
storage host'*

Need help on this


Regards,
Tejas

Re: Not able to download CentOS template

Posted by Tejas Gadaria <re...@gmail.com>.
Hi,

Also I have flush iptables in SSVM 'iptables -F'

service cloud stop
service cloud stop
service cloud start

Nothing happen..
Then restarted cloudstack-management service

Logs on Management server indicates ...

2014-03-25 09:16:59,188 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-11:null) SeqA 9-7087: Sending Seq 9-7087:  { Ans: ,
MgmtId: 345049296663, via: 9, Ver: v1, Flags: 100010,
[{"com.cloud.agent.api.AgentControlAnswer":{"result":true,"wait":0}}] }
2014-03-25 09:17:02,444 DEBUG [storage.download.DownloadListener]
(Timer-9:null) Scheduling timeout at 30000 ms, TEMPLATE: 5 at host 0
*2014-03-25 09:17:02,445 DEBUG [storage.download.DownloadListener]
(Timer-9:null) NOT_DOWNLOADED first timeout: checking again , TEMPLATE: 5
at host 0*
2014-03-25 09:17:09,182 DEBUG [agent.manager.AgentManagerImpl]
(AgentManager-Handler-12:null) SeqA 9-7088: Processing Seq 9-7088:  { Cmd ,
MgmtId: -1, via: 9, Ver: v1, Flags: 11,
[{"com.cloud.agent.api.ConsoleProxyLoadReportCommand":{"_proxyVmId":10,"_loadInfo":"{\n
\"connections\": []\n}","wait":0}}] }

After log in to CS, *Template status: ' Timeout waiting for response from
storage host'*

Need help on this


Regards,
Tejas

RE: Not able to download CentOS template

Posted by Suresh Sadhu <Su...@citrix.com>.
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.gmrt@gmail.com] 
Sent: 25 March 2014 08:50
To: users@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-sys-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-42ce-bc51-b608c34e5a2e.vhd.tmp
(type bz2)...could take a long time
Moving to
/mnt/secondary/template/tmpl/1/1///935313be-3da0-42ce-bc51-b608c34e5a2e.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

Re: Not able to download CentOS template

Posted by Tejas Gadaria <re...@gmail.com>.
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-sys-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-42ce-bc51-b608c34e5a2e.vhd.tmp
(type bz2)...could take a long time
Moving to
/mnt/secondary/template/tmpl/1/1///935313be-3da0-42ce-bc51-b608c34e5a2e.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

Re: Not able to download CentOS template

Posted by Tejas Gadaria <re...@gmail.com>.
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-sys-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-42ce-bc51-b608c34e5a2e.vhd.tmp
(type bz2)...could take a long time
Moving to
/mnt/secondary/template/tmpl/1/1///935313be-3da0-42ce-bc51-b608c34e5a2e.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

Re: Not able to download CentOS template

Posted by ronald higgins <ro...@gmail.com>.
Hi Tejas,

# Not able to login from Management server to SSVM with SSVM private ip.

You would run the SSH from the host that the SSVM is running on and not
from the Mangement Server. At least that's how it works with KVM Hosts.


On Mon, Mar 24, 2014 at 1:02 PM, Osay Osman Yuuni <oy...@gmail.com> wrote:

> Try redownloading the template as per the documentation.  Don't forget to
> use the -F to force the download.  Ensure that the template is successfully
> installed (output of the command to install the template).  Check
> <SECSTORAGE>/template/tmpl/1/ to see whether the template exists (should be
> the uuid of the template with a .vhd extension).  There should also be a
> template.properties file in there.
>
> You can also check the through the management server GUI to see the status
> of the template by clicking on it.  If it does not say ready then there
> must be something wrong with your secondary storage.
>
>
> On 24 March 2014 11:18, Tejas Gadaria <re...@gmail.com> wrote:
>
> > Hi,
> >
> > After CS installation I am unable to download CentOS template. SSVM and
> > CPVM public IP's are not pinging.
> >
> > I am following this Doc..
> >
> >
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting
> >
> > 1) Not able to login from Management server to SSVM with SSVM private ip.
> >
> >
> >
> > *ssh -i /root/.ssh/id_rsa.cloud -p 3922 10.129.151.96ssh: connect to host
> > 10.129.151.96 port 3922: Connection refused*
> > 2)
> > *ssh root@169.254.2.113 <ro...@169.254.2.113> (Link local ip from
> Xenserver
> > host)ssh: connect to host 169.254.2.113 <169.254.2.113> port 22:
> Connection
> > timed out*
> >
> > I management server log it does not shows any error, except template "NOT
> > DOWNLOADED" error
> >
> > Then I took console in xencenter and check the SSVM log,
> >
> > 07:21:48,210  INFO Agent:154 - id is 3
> > 07:21:48,251  INFO NfsSecondaryStorageResource:2046 - config_ssl.sh found
> > in /us r/local/cloud/systemvm/config_ssl.sh
> > 07:21:48,251  INFO NfsSecondaryStorageResource:2051 - config_auth.sh
> found
> > in /u sr/local/cloud/systemvm/config_auth.sh
> > 07:21:48,252  INFO NfsSecondaryStorageResource:2056 -
> _configIpFirewallScr
> > found in /usr/local/cloud/systemvm/ipfirewall.sh
> > 07:21:48,255  INFO NfsSecondaryStorageResource:2070 - Secondary storage
> > runs in role templateProcessor
> > 07:21:48,298  INFO DownloadManagerImpl:1014 - DownloadManager: starting
> > additional services since we are inside system vm
> > 07:21:48,850  INFO DownloadManagerImpl:1034 - listvmtmplt.sh found in
> > /usr/local/cloud/systemvm/scripts/storage/secondary/listvmtmplt.sh
> > 07:21:48,851  INFO DownloadManagerImpl:1040 - createtmplt.sh found in
> > /usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh
> > 07:21:48,853  INFO DownloadManagerImpl:1046 - listvolume.sh found in
> > /usr/local/cloud/systemvm/scripts/storage/secondary/listvolume.sh
> > 07:21:48,853  INFO DownloadManagerImpl:1052 - createvolume.sh found in
> > /usr/local/cloud/systemvm/scripts/storage/secondary/createvolume.sh
> > 07:21:48,863  INFO UploadManagerImpl:477 - UploadManager: starting
> > additional services since we are inside system vm
> > 07:21:49,031  INFO GsonHelper:53 - Default Builder inited.
> > 07:21:49,042  INFO Agent:182 - Agent [id = 3 : type =
> > PremiumSecondaryStorageResource : zone = 1 : pod = 1 : workers = 5 :
> host =
> > 10.129.151.57 : port = 8250
> > 07:21:49,064  INFO NioClient:54 - Connecting to 10.129.151.57:8250
> > 07:21:49,515  INFO NioClient:80 - SSL: Handshake done
> > 07:21:49,515  INFO NioClient:81 - Connected to 10.129.151.57:8250
> > 07:21:49,623  INFO Agent:445 - Proccess agent startup answer, agent id =
> 0
> > 07:21:49,623  INFO Agent:291 - Set agent id 0
> > 07:21:49,629  INFO Agent:455 - Startup Response Received: agent id = 0
> > 07:21:49,841  INFO NfsSecondaryStorageResource:2365 - snapshots directory
> > created/exists on Secondary Storage.
> > 07:21:49,842  INFO NfsSecondaryStorageResource:2365 - volumes directory
> > created/exists on Secondary Storage.
> > 07:21:51,702  INFO DownloadManagerImpl:799 - found 0 volumes[]
> > 07:21:51,851  INFO DownloadManagerImpl:811 - found 2
> >
> >
> templates[/mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/5/,
> >
> >
> /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/1/b36ee4f8-0afb-49e5-918a-a4f31b00b02a.vhd]
> >
> > 07:21:51,856  WARN DownloadManagerImpl:830 - Post download installation
> was
> > not completed for
> > /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/5
> > 07:21:52,010  INFO Agent:592 - Proccess agent ready command, agent id = 3
> > 07:21:52,011  INFO Agent:291 - Set agent id 3
> > 07:21:52,011  INFO Agent:596 - Ready command is processed: agent id = 3
> > 07:21:52,060  INFO Agent:592 - Proccess agent ready command, agent id = 3
> > 07:21:52,060  INFO Agent:291 - Set agent id 3
> > 07:21:52,060  INFO Agent:596 - Ready command is processed: agent id = 3
> > 07:21:52,204  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 - Retrying request
> > 07:21:58,251  INFO DownloadManagerImpl:268 - Download Completion for
> jobId:
> > 99e4ca29-e97f-4550-a13f-85d10e44ab0b, status=UNRECOVERABLE_ERROR *
> > 07:21:58,252  INFO DownloadManagerImpl:269 - local:
> >
> >
> /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/null/dnld1959129797294693271tmp_,
> > bytes=0, error=No route to host, pct=0
> >
> >
> > I am using Local storage as primary storage and NFS as secondary storage
> > for Xen 6.0.2 on CS 4.2.1
> > CentOS template also shows "*No route to host* " .
> >
> > SSVM health check shows everything is fine,
> >
> > root@s-1-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=176.230 ms
> > 64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=157.860 ms
> > --- 8.8.8.8 ping statistics ---
> > 2 packets transmitted, 2 packets received, 0% packet loss
> > round-trip min/avg/max/stddev = 157.860/167.045/176.230/9.185 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.
> >
> >
> > I have spent lot of time to resolve this issue but no success.
> > Please Need help on this.
> >
> >
> > Regards,
> > Tejas
> >
>

Re: Not able to download CentOS template

Posted by Osay Osman Yuuni <oy...@gmail.com>.
Try redownloading the template as per the documentation.  Don't forget to
use the -F to force the download.  Ensure that the template is successfully
installed (output of the command to install the template).  Check
<SECSTORAGE>/template/tmpl/1/ to see whether the template exists (should be
the uuid of the template with a .vhd extension).  There should also be a
template.properties file in there.

You can also check the through the management server GUI to see the status
of the template by clicking on it.  If it does not say ready then there
must be something wrong with your secondary storage.


On 24 March 2014 11:18, Tejas Gadaria <re...@gmail.com> wrote:

> Hi,
>
> After CS installation I am unable to download CentOS template. SSVM and
> CPVM public IP's are not pinging.
>
> I am following this Doc..
>
> https://cwiki.apache.org/confluence/display/CLOUDSTACK/SSVM%2C+templates%2C+Secondary+storage+troubleshooting
>
> 1) Not able to login from Management server to SSVM with SSVM private ip.
>
>
>
> *ssh -i /root/.ssh/id_rsa.cloud -p 3922 10.129.151.96ssh: connect to host
> 10.129.151.96 port 3922: Connection refused*
> 2)
> *ssh root@169.254.2.113 <ro...@169.254.2.113> (Link local ip from Xenserver
> host)ssh: connect to host 169.254.2.113 <169.254.2.113> port 22: Connection
> timed out*
>
> I management server log it does not shows any error, except template "NOT
> DOWNLOADED" error
>
> Then I took console in xencenter and check the SSVM log,
>
> 07:21:48,210  INFO Agent:154 - id is 3
> 07:21:48,251  INFO NfsSecondaryStorageResource:2046 - config_ssl.sh found
> in /us r/local/cloud/systemvm/config_ssl.sh
> 07:21:48,251  INFO NfsSecondaryStorageResource:2051 - config_auth.sh found
> in /u sr/local/cloud/systemvm/config_auth.sh
> 07:21:48,252  INFO NfsSecondaryStorageResource:2056 - _configIpFirewallScr
> found in /usr/local/cloud/systemvm/ipfirewall.sh
> 07:21:48,255  INFO NfsSecondaryStorageResource:2070 - Secondary storage
> runs in role templateProcessor
> 07:21:48,298  INFO DownloadManagerImpl:1014 - DownloadManager: starting
> additional services since we are inside system vm
> 07:21:48,850  INFO DownloadManagerImpl:1034 - listvmtmplt.sh found in
> /usr/local/cloud/systemvm/scripts/storage/secondary/listvmtmplt.sh
> 07:21:48,851  INFO DownloadManagerImpl:1040 - createtmplt.sh found in
> /usr/local/cloud/systemvm/scripts/storage/secondary/createtmplt.sh
> 07:21:48,853  INFO DownloadManagerImpl:1046 - listvolume.sh found in
> /usr/local/cloud/systemvm/scripts/storage/secondary/listvolume.sh
> 07:21:48,853  INFO DownloadManagerImpl:1052 - createvolume.sh found in
> /usr/local/cloud/systemvm/scripts/storage/secondary/createvolume.sh
> 07:21:48,863  INFO UploadManagerImpl:477 - UploadManager: starting
> additional services since we are inside system vm
> 07:21:49,031  INFO GsonHelper:53 - Default Builder inited.
> 07:21:49,042  INFO Agent:182 - Agent [id = 3 : type =
> PremiumSecondaryStorageResource : zone = 1 : pod = 1 : workers = 5 : host =
> 10.129.151.57 : port = 8250
> 07:21:49,064  INFO NioClient:54 - Connecting to 10.129.151.57:8250
> 07:21:49,515  INFO NioClient:80 - SSL: Handshake done
> 07:21:49,515  INFO NioClient:81 - Connected to 10.129.151.57:8250
> 07:21:49,623  INFO Agent:445 - Proccess agent startup answer, agent id = 0
> 07:21:49,623  INFO Agent:291 - Set agent id 0
> 07:21:49,629  INFO Agent:455 - Startup Response Received: agent id = 0
> 07:21:49,841  INFO NfsSecondaryStorageResource:2365 - snapshots directory
> created/exists on Secondary Storage.
> 07:21:49,842  INFO NfsSecondaryStorageResource:2365 - volumes directory
> created/exists on Secondary Storage.
> 07:21:51,702  INFO DownloadManagerImpl:799 - found 0 volumes[]
> 07:21:51,851  INFO DownloadManagerImpl:811 - found 2
>
> templates[/mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/5/,
>
> /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/1/b36ee4f8-0afb-49e5-918a-a4f31b00b02a.vhd]
>
> 07:21:51,856  WARN DownloadManagerImpl:830 - Post download installation was
> not completed for
> /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/template/tmpl/1/5
> 07:21:52,010  INFO Agent:592 - Proccess agent ready command, agent id = 3
> 07:21:52,011  INFO Agent:291 - Set agent id 3
> 07:21:52,011  INFO Agent:596 - Ready command is processed: agent id = 3
> 07:21:52,060  INFO Agent:592 - Proccess agent ready command, agent id = 3
> 07:21:52,060  INFO Agent:291 - Set agent id 3
> 07:21:52,060  INFO Agent:596 - Ready command is processed: agent id = 3
> 07:21:52,204  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 - Retrying request
> 07:21:58,251  INFO DownloadManagerImpl:268 - Download Completion for jobId:
> 99e4ca29-e97f-4550-a13f-85d10e44ab0b, status=UNRECOVERABLE_ERROR *
> 07:21:58,252  INFO DownloadManagerImpl:269 - local:
>
> /mnt/SecStorage/87d42d71-bb1f-3572-af86-17add6e61e15/null/dnld1959129797294693271tmp_,
> bytes=0, error=No route to host, pct=0
>
>
> I am using Local storage as primary storage and NFS as secondary storage
> for Xen 6.0.2 on CS 4.2.1
> CentOS template also shows "*No route to host* " .
>
> SSVM health check shows everything is fine,
>
> root@s-1-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=176.230 ms
> 64 bytes from 8.8.8.8: icmp_seq=1 ttl=56 time=157.860 ms
> --- 8.8.8.8 ping statistics ---
> 2 packets transmitted, 2 packets received, 0% packet loss
> round-trip min/avg/max/stddev = 157.860/167.045/176.230/9.185 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.
>
>
> I have spent lot of time to resolve this issue but no success.
> Please Need help on this.
>
>
> Regards,
> Tejas
>