[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5520?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13849915#comment-13849915
 ] 

Sangeetha Hariharan commented on CLOUDSTACK-5520:
-------------------------------------------------

When trying to install kvm templates , I see only the permission issues "mv: 
failed to preserve ownership for 
`//mnt/secondary/template/tmpl/1/3///83e2f84c-97c4-46ef-8c38-df55c5641904.qcow2':
 Invalid argument"

[root@rhel64-2 management]# 
/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-10-24-master-kvm.qcow2.bz2
  -h kvm
--2013-12-16 19:20:34--  
http://10.223.110.231/templates/felton_qa/64/systemvm64template-2013-10-24-master-kvm.qcow2.bz2
Connecting to 10.223.110.231:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 266447232 (254M) [application/x-bzip2]
Saving to: 
â/usr/share/cloudstack-common/scripts/storage/secondary/83e2f84c-97c4-46ef-8c38-df55c5641904.qcow2â

100%[======================================>] 266,447,232 93.3M/s   in 2.7s

2013-12-16 19:20:37 (93.3 MB/s) - 
â/usr/share/cloudstack-common/scripts/storage/secondary/83e2f84c-97c4-46ef-8c38-df55c5641904.qcow2â

Uncompressing to 
/usr/share/cloudstack-common/scripts/storage/secondary/83e2f84c-97c4-46ef-8c38-df55c5641904.qcow2.tmp
 (type bz2)...could take a long time
Moving to 
/mnt/secondary/template/tmpl/1/3///83e2f84c-97c4-46ef-8c38-df55c5641904.qcow2...could
 take a while
mv: failed to preserve ownership for 
`//mnt/secondary/template/tmpl/1/3///83e2f84c-97c4-46ef-8c38-df55c5641904.qcow2':
 Invalid argument
Successfully installed system VM template  to /mnt/secondary/template/tmpl/1/3/
[root@rhel64-2 management]#


> 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
>            Priority: Critical
>             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.4#6159)

Reply via email to