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

Rajesh Battala commented on CLOUDSTACK-5520:
--------------------------------------------

I had tried on 4.3 with seeding systemvm template when cifs and nfs were used 
as secondary store. Am not able to reproduce the issue.


when NFS:
=========
[root@rhel63 mnt]# 
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt 
-m /mnt/test -u 
http://10.102.123.240/cloudstack/templates/hyperv/systemvm64template-2013-12-04-hyperv.vhd.bz2
 -h hyperv
--2013-12-18 14:42:08--  
http://10.102.123.240/cloudstack/templates/hyperv/systemvm64template-2013-12-04-hyperv.vhd.bz2
Connecting to 10.102.123.240:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 215681953 (206M) [application/x-bzip2]
Saving to: 
â/usr/share/cloudstack-common/scripts/storage/secondary/eee38480-0728-492d-be63-45d4073845a6.vhdâ

100%[=====================================================================================================================================================================>]
 215,681,953 11.0M/s   in 19s

2013-12-18 14:42:27 (10.8 MB/s) - 
â/usr/share/cloudstack-common/scripts/storage/secondary/eee38480-0728-492d-be63-45d4073845a6.vhdâ
 saved [215681953/215681953]

Uncompressing to 
/usr/share/cloudstack-common/scripts/storage/secondary/eee38480-0728-492d-be63-45d4073845a6.vhd.tmp
 (type bz2)...could take a long time
Moving to 
/mnt/test/template/tmpl/1/9///eee38480-0728-492d-be63-45d4073845a6.vhd...could 
take a while


Successfully installed system VM template  to /mnt/test/template/tmpl/1/9/
[root@rhel63 mnt]#
[root@rhel63 mnt]#

when CIFS:
=========

[root@rhel63 mnt]# 
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt 
-m /mnt/test -u 
http://10.102.123.240/cloudstack/templates/hyperv/systemvm64template-2013-12-04-hyperv.vhd.bz2
 -h hyperv -F
--2013-12-18 14:50:51--  
http://10.102.123.240/cloudstack/templates/hyperv/systemvm64template-2013-12-04-hyperv.vhd.bz2
Connecting to 10.102.123.240:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 215681953 (206M) [application/x-bzip2]
Saving to: 
â/usr/share/cloudstack-common/scripts/storage/secondary/0251c8fd-4455-4f24-832d-1a7438027e88.vhdâ

100%[=====================================================================================================================================================================>]
 215,681,953 11.1M/s   in 19s

2013-12-18 14:51:09 (10.9 MB/s) - 
â/usr/share/cloudstack-common/scripts/storage/secondary/0251c8fd-4455-4f24-832d-1a7438027e88.vhdâ
 saved [215681953/215681953]

Uncompressing to 
/usr/share/cloudstack-common/scripts/storage/secondary/0251c8fd-4455-4f24-832d-1a7438027e88.vhd.tmp
 (type bz2)...could take a long time
Moving to 
/mnt/test/template/tmpl/1/9///0251c8fd-4455-4f24-832d-1a7438027e88.vhd...could 
take a while
Successfully installed system VM template  to /mnt/test/template/tmpl/1/9/




> 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