You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Pierre-Luc Dion <pd...@cloudops.com> on 2014/07/29 03:53:42 UTC

[ACS44] systemvm templates inconsistency on cloudstack.apt-get.eu

there is 2 hyper-V systemvm template availables: .vhd, .vhd.zip at
http://cloudstack.apt-get.eu/systemvm/4.4/

So, I've download both, but it turn out that the template .vhd file don't
have the same size at the end of the process in both cases. Please see the
cut&paste result.

http://pastebin.com/wDLExzs3

Can't test them, I don't have hyperV, but could we have the same issue with
the KVM template?



*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683

*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_

Re: [ACS44] systemvm templates inconsistency on cloudstack.apt-get.eu

Posted by Daan Hoogland <da...@gmail.com>.
created a job in jenkins.bac.o with tag 4.4.0

On Tue, Jul 29, 2014 at 9:51 AM, Wido den Hollander <wi...@widodh.nl> wrote:
>
>
> On 07/29/2014 03:53 AM, Pierre-Luc Dion wrote:
>>
>> there is 2 hyper-V systemvm template availables: .vhd, .vhd.zip at
>> http://cloudstack.apt-get.eu/systemvm/4.4/
>>
>> So, I've download both, but it turn out that the template .vhd file don't
>> have the same size at the end of the process in both cases. Please see the
>> cut&paste result.
>>
>> http://pastebin.com/wDLExzs3
>>
>> Can't test them, I don't have hyperV, but could we have the same issue
>> with
>> the KVM template?
>>
>
> That could be. Daan uploaded the templates, so I'm wondering where he got
> them from?
>
> Wido
>
>
>>
>>
>> *Pierre-Luc DION*
>> Architecte de Solution Cloud | Cloud Solutions Architect
>> t 855.652.5683
>>
>> *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
>> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
>> w cloudops.com *|* tw @CloudOps_
>>
>



-- 
Daan

Re: [ACS44] systemvm templates inconsistency on cloudstack.apt-get.eu

Posted by Wido den Hollander <wi...@widodh.nl>.

On 07/29/2014 03:53 AM, Pierre-Luc Dion wrote:
> there is 2 hyper-V systemvm template availables: .vhd, .vhd.zip at
> http://cloudstack.apt-get.eu/systemvm/4.4/
>
> So, I've download both, but it turn out that the template .vhd file don't
> have the same size at the end of the process in both cases. Please see the
> cut&paste result.
>
> http://pastebin.com/wDLExzs3
>
> Can't test them, I don't have hyperV, but could we have the same issue with
> the KVM template?
>

That could be. Daan uploaded the templates, so I'm wondering where he 
got them from?

Wido

>
>
> *Pierre-Luc DION*
> Architecte de Solution Cloud | Cloud Solutions Architect
> t 855.652.5683
>
> *CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
> 420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
> w cloudops.com *|* tw @CloudOps_
>

Re: [ACS44] systemvm templates inconsistency on cloudstack.apt-get.eu

Posted by Pierre-Luc Dion <pd...@cloudops.com>.
Leo,
That make total sense, thanks !




*Pierre-Luc DION*
Architecte de Solution Cloud | Cloud Solutions Architect
t 855.652.5683

*CloudOps* Votre partenaire infonuagique* | *Cloud Solutions Experts
420 rue Guy *|* Montreal *|* Quebec *|* H3J 1S6
w cloudops.com *|* tw @CloudOps_



On Tue, Jul 29, 2014 at 4:50 AM, Leo Simons <LS...@schubergphilis.com>
wrote:

> Hey Pierre-Luc,
>
> The content of the .zip is just the .vhd, and they are the same.
>
> $ cd ~/Downloads; mkdir foo; cd foo
> $ unzip ../systemvmtemplate-4.4.0-hyperv.vhd.zip
> Archive:  ../systemvmtemplate-4.4.0-hyperv.vhd.zip
>  inflating: systemvmtemplate-4.4.0-3-hyperv.vhd
> $ ls -al systemvmtemplate-4.4.0-3-hyperv.vhd
> ../systemvmtemplate-4.4.0-hyperv.vhd
> -rw-r--r--@ 1 lsimons  SBP\Domain Users  1082401792 Jul 29 10:34
> ../systemvmtemplate-4.4.0-hyperv.vhd
> -rw-------@ 1 lsimons  SBP\Domain Users  1082401792 Jul 23 12:29
> systemvmtemplate-4.4.0-3-hyperv.vhd
> $ md5 systemvmtemplate-4.4.0-3-hyperv.vhd
> MD5 (systemvmtemplate-4.4.0-3-hyperv.vhd) =
> 1b1ab6680127eb7d641e4c692f33d8f3
> $ md5 ../systemvmtemplate-4.4.0-hyperv.vhd
> MD5 (../systemvmtemplate-4.4.0-hyperv.vhd) =
> 1b1ab6680127eb7d641e4c692f33d8f3
>
> Looking at your pastebin
>
>         • [root@fresh-acs44 secondary]#
> /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /data/secondary -u
> http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-hyperv.vhd.zip
> -h hyperv -F
>         • --2014-07-28 21:25:03--
> http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-hyperv.vhd.zip
>         • Resolving cloudstack.apt-get.eu... 109.72.87.236,
> 2a00:f10:101::2c:91ed
>         • Connecting to cloudstack.apt-get.eu|109.72.87.236|:80...
> connected.
>         • HTTP request sent, awaiting response... 200 OK
>         • Length: 283419356 (270M) [application/zip]
>         • Saving to:
> `/usr/share/cloudstack-common/scripts/storage/secondary/1d085142-6fed-4158-ae29-60bd67478ce4.vhd'
>         •
>         •
> 100%[===================================================================================================================>]
> 283,419,356 1.41M/s   in 3m 57s
>         •
>         • 2014-07-28 21:29:01 (1.14 MB/s) -
> `/usr/share/cloudstack-common/scripts/storage/secondary/1d085142-6fed-4158-ae29-60bd67478ce4.vhd'saved
> [283419356/283419356]
>         •
>         • File
> /usr/share/cloudstack-common/scripts/storage/secondary/1d085142-6fed-4158-ae29-60bd67478ce4.vhd
> does not appear to be compressed
>         • Moving to
> /data/secondary/template/tmpl/1/9///1d085142-6fed-4158-ae29-60bd67478ce4.vhd...could
> take a while
>         • Successfully installed system VM template  to
> /data/secondary/template/tmpl/1/9/
>
> it seems like you assumed cloud-install-sys-tmplt would figure out it was
> downloading a zip and unzip it, BUT, it simply saved the .zip as if it was
> a .vhd, and didn’t attempt to unzip.
>
>
> cheers,
>
>
> Leo
>
> On Jul 29, 2014, at 3:53 AM, Pierre-Luc Dion <pd...@cloudops.com> wrote:
> > there is 2 hyper-V systemvm template availables: .vhd, .vhd.zip at
> > http://cloudstack.apt-get.eu/systemvm/4.4/
> >
> > So, I've download both, but it turn out that the template .vhd file don't
> > have the same size at the end of the process in both cases. Please see
> the
> > cut&paste result.
> >
> > http://pastebin.com/wDLExzs3
> >
> > Can't test them, I don't have hyperV, but could we have the same issue
> with
> > the KVM template?
> >
> >
> >
> > *Pierre-Luc DION*
>

Re: [ACS44] systemvm templates inconsistency on cloudstack.apt-get.eu

Posted by Leo Simons <LS...@schubergphilis.com>.
Hey Pierre-Luc,

The content of the .zip is just the .vhd, and they are the same.

$ cd ~/Downloads; mkdir foo; cd foo
$ unzip ../systemvmtemplate-4.4.0-hyperv.vhd.zip 
Archive:  ../systemvmtemplate-4.4.0-hyperv.vhd.zip
 inflating: systemvmtemplate-4.4.0-3-hyperv.vhd  
$ ls -al systemvmtemplate-4.4.0-3-hyperv.vhd ../systemvmtemplate-4.4.0-hyperv.vhd
-rw-r--r--@ 1 lsimons  SBP\Domain Users  1082401792 Jul 29 10:34 ../systemvmtemplate-4.4.0-hyperv.vhd
-rw-------@ 1 lsimons  SBP\Domain Users  1082401792 Jul 23 12:29 systemvmtemplate-4.4.0-3-hyperv.vhd
$ md5 systemvmtemplate-4.4.0-3-hyperv.vhd
MD5 (systemvmtemplate-4.4.0-3-hyperv.vhd) = 1b1ab6680127eb7d641e4c692f33d8f3
$ md5 ../systemvmtemplate-4.4.0-hyperv.vhd
MD5 (../systemvmtemplate-4.4.0-hyperv.vhd) = 1b1ab6680127eb7d641e4c692f33d8f3

Looking at your pastebin

	• [root@fresh-acs44 secondary]# /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt -m /data/secondary -u http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-hyperv.vhd.zip -h hyperv -F
	• --2014-07-28 21:25:03--  http://cloudstack.apt-get.eu/systemvm/4.4/systemvm64template-4.4.0-hyperv.vhd.zip
	• Resolving cloudstack.apt-get.eu... 109.72.87.236, 2a00:f10:101::2c:91ed
	• Connecting to cloudstack.apt-get.eu|109.72.87.236|:80... connected.
	• HTTP request sent, awaiting response... 200 OK
	• Length: 283419356 (270M) [application/zip]
	• Saving to: `/usr/share/cloudstack-common/scripts/storage/secondary/1d085142-6fed-4158-ae29-60bd67478ce4.vhd'
	•  
	• 100%[===================================================================================================================>] 283,419,356 1.41M/s   in 3m 57s  
	•  
	• 2014-07-28 21:29:01 (1.14 MB/s) - `/usr/share/cloudstack-common/scripts/storage/secondary/1d085142-6fed-4158-ae29-60bd67478ce4.vhd'saved [283419356/283419356]
	•  
	• File /usr/share/cloudstack-common/scripts/storage/secondary/1d085142-6fed-4158-ae29-60bd67478ce4.vhd does not appear to be compressed
	• Moving to /data/secondary/template/tmpl/1/9///1d085142-6fed-4158-ae29-60bd67478ce4.vhd...could take a while
	• Successfully installed system VM template  to /data/secondary/template/tmpl/1/9/

it seems like you assumed cloud-install-sys-tmplt would figure out it was downloading a zip and unzip it, BUT, it simply saved the .zip as if it was a .vhd, and didn’t attempt to unzip.


cheers,


Leo

On Jul 29, 2014, at 3:53 AM, Pierre-Luc Dion <pd...@cloudops.com> wrote:
> there is 2 hyper-V systemvm template availables: .vhd, .vhd.zip at
> http://cloudstack.apt-get.eu/systemvm/4.4/
> 
> So, I've download both, but it turn out that the template .vhd file don't
> have the same size at the end of the process in both cases. Please see the
> cut&paste result.
> 
> http://pastebin.com/wDLExzs3
> 
> Can't test them, I don't have hyperV, but could we have the same issue with
> the KVM template?
> 
> 
> 
> *Pierre-Luc DION*