cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Suresh Sadhu <Suresh.Sa...@citrix.com>
Subject RE: Not able to download CentOS template
Date Tue, 25 Mar 2014 05:31:37 GMT
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

Mime
View raw message