[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Sangeetha Hariharan reopened CLOUDSTACK-5520:
---------------------------------------------


Rajesh,

In my  set up , I see this error always:
I have provided the permissions of the mount points .

Please let me know if you will need any other specific information to debug 
this error:


[root@rhel64-1 CloudPlatform-4.3-128-rhel6.4]# 
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt 
-m /mnt/secondary  -u 
http://10.223.110.231/templates/felton_qa/64/systemvm64template-2013-12-16-master-xen.vhd.bz2
  -h xenserver
--2014-01-03 21:09:34--  
http://10.223.110.231/templates/felton_qa/64/systemvm64template-2013-12-16-master-xen.vhd.bz2
Connecting to 10.223.110.231:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 229311649 (219M) [application/x-bzip2]
Saving to: 
â/usr/share/cloudstack-common/scripts/storage/secondary/2dc7fcf8-594b-498d-aee5-2e337dff1e31.vhdâ

100%[============================================================================>]
 229,311,649 77.0M/s   in 2.8s

2014-01-03 21:09:37 (77.0 MB/s) - 
â/usr/share/cloudstack-common/scripts/storage/secondary/2dc7fcf8-594b-498d-aee5-2e337dff1e31.vhdâ

Uncompressing to 
/usr/share/cloudstack-common/scripts/storage/secondary/2dc7fcf8-594b-498d-aee5-2e337dff1e31.vhd.tmp
 (type bz2)...could take a long time
Moving to 
/mnt/secondary/template/tmpl/1/1///2dc7fcf8-594b-498d-aee5-2e337dff1e31.vhd...could
 take a while
mv: failed to preserve ownership for 
`//mnt/secondary/template/tmpl/1/1///2dc7fcf8-594b-498d-aee5-2e337dff1e31.vhd': 
Invalid argument
Successfully installed system VM template  to /mnt/secondary/template/tmpl/1/1/
[root@rhel64-1 CloudPlatform-4.3-128-rhel6.4]# ls /mnt/secondary/template/
tmpl
[root@rhel64-1 CloudPlatform-4.3-128-rhel6.4]# ls -ltr /mnt/secondary/template/
total 4
drwxr-xr-x. 3 nobody nobody 4096 Jan  4  2014 tmpl
[root@rhel64-1 CloudPlatform-4.3-128-rhel6.4]# ls -ltr 
/mnt/secondary/template/tmpl/1/1
total 2567524
-rw-r--r--. 1 nobody nobody 2626564608 Jan  3 21:10 
2dc7fcf8-594b-498d-aee5-2e337dff1e31.vhd
-rw-r--r--. 1 nobody nobody        287 Jan  4  2014 template.properties
[root@rhel64-1 CloudPlatform-4.3-128-rhel6.4]# who
root     tty1         2014-01-03 20:53
root     pts/0        2014-01-03 20:53 (10.216.50.147)
[root@rhel64-1 CloudPlatform-4.3-128-rhel6.4]#


> Script errors seen when trying to seed the 64 bit Xenserver templates.
> ----------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-5520
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5520
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Management Server
>    Affects Versions: 4.3.0
>         Environment: Build from 4.3
>            Reporter: Sangeetha Hariharan
>            Assignee: Rajesh Battala
>            Priority: Critical
>              Labels: hyper-V,
>             Fix For: 4.3.0
>
>
> Following error seen when trying to seed the latest 64 bit template for 
> Xenserver but the script reports success.
> [root@rhel64-1 secondary]# 
> /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
>  -m /mnt/secondary  -u 
> http://nfs1.lab.vmops.com/templates/felton_qa/64/systemvm64template-2013-12-16-master-xen.vhd.bz2
>   -h xenserver -F
> --2013-12-16 14:30:33--  
> http://nfs1.lab.vmops.com/templates/felton_qa/64/systemvm64template-2013-12-16-master-xen.vhd.bz2
> Resolving nfs1.lab.vmops.com... 10.223.110.231
> Connecting to nfs1.lab.vmops.com|10.223.110.231|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 229311649 (219M) [application/x-bzip2]
> Saving to: 
> â/usr/share/cloudstack-common/scripts/storage/secondary/91b86630-cee7-4aa9-9e60-824bdb06a7e9.vhdâ
> 100%[======================================================================>] 
> 229,311,649  112M/s   in 2.0s
> 2013-12-16 14:30:35 (112 MB/s) - 
> â/usr/share/cloudstack-common/scripts/storage/secondary/91b86630-cee7-4aa9-9e60-824bdb06a7e9.vhdâ
> Uncompressing to 
> /usr/share/cloudstack-common/scripts/storage/secondary/91b86630-cee7-4aa9-9e60-824bdb06a7e9.vhd.tmp
>  (type bz2)...could take a long time
> /usr/share/cloudstack-common/scripts/storage/secondary/createtmplt.sh: line 
> 207: [: isCifs: integer expression expected
> Moving to 
> /mnt/secondary/template/tmpl/1/1///91b86630-cee7-4aa9-9e60-824bdb06a7e9.vhd...could
>  take a while
> mv: failed to preserve ownership for 
> `//mnt/secondary/template/tmpl/1/1///91b86630-cee7-4aa9-9e60-824bdb06a7e9.vhd':
>  Invalid argument
> Successfully installed system VM template  to 
> /mnt/secondary/template/tmpl/1/1/
> [root@rhel64-1 secondary]#



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to