You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by te...@frontier.in on 2014/08/05 06:44:23 UTC
Template downoad for new zone with 194 bytes VHD
Hello,
I am new to the cloudstack, I have deployed cloudstack 4.3 with 2
xenserver 6.2 cluster in Zone 1, Which is working fine and system VMs are
deployed from template.
I have created another zone "Zone 2" where I have added 2 more xenserver
6.2. but system VMs are not getting deployed.
After I have done further troubleshooting i have noticed that System VM
template for Zone 2 was corrupted with the 194 Byte size VHD. therefore i
tried to reinstall the template in secondary storage using following
command.
#
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
-m /mnt/secondary -u
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
-h xenserver -F
But still only 194 byte template was getting copped in secondary
storage. Cloudstack management server is connected to internet but it is
not downloading from internet.
Is it because i have another zone with different system vm template?
How can i fix this issue?
Thanks in advance
Tejas
Re: Template downoad for new zone with 194 bytes VHD
Posted by te...@frontier.in.
Yes, We are using EMC storage NFS share with 500 GB size. still free space
is 320 GB.
From: Bret Mette <br...@dbihosting.com>
To: "users@cloudstack.apache.org" <us...@cloudstack.apache.org>
Date: 08/05/2014 10:26 AM
Subject: Re: Template downoad for new zone with 194 bytes VHD
Have you verifies the disk is not full?
> On Aug 4, 2014, at 9:44 PM, tejas.sheth@frontier.in wrote:
>
> Hello,
>
> I am new to the cloudstack, I have deployed cloudstack 4.3 with 2
> xenserver 6.2 cluster in Zone 1, Which is working fine and system VMs
are
> deployed from template.
> I have created another zone "Zone 2" where I have added 2 more xenserver
> 6.2. but system VMs are not getting deployed.
> After I have done further troubleshooting i have noticed that System VM
> template for Zone 2 was corrupted with the 194 Byte size VHD. therefore
i
> tried to reinstall the template in secondary storage using following
> command.
>
> #
>
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
>
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
> -h xenserver -F
>
> But still only 194 byte template was getting copped in secondary
> storage. Cloudstack management server is connected to internet but it is
> not downloading from internet.
> Is it because i have another zone with different system vm template?
> How can i fix this issue?
>
> Thanks in advance
> Tejas
Re: Template downoad for new zone with 194 bytes VHD
Posted by Bret Mette <br...@dbihosting.com>.
Have you verifies the disk is not full?
> On Aug 4, 2014, at 9:44 PM, tejas.sheth@frontier.in wrote:
>
> Hello,
>
> I am new to the cloudstack, I have deployed cloudstack 4.3 with 2
> xenserver 6.2 cluster in Zone 1, Which is working fine and system VMs are
> deployed from template.
> I have created another zone "Zone 2" where I have added 2 more xenserver
> 6.2. but system VMs are not getting deployed.
> After I have done further troubleshooting i have noticed that System VM
> template for Zone 2 was corrupted with the 194 Byte size VHD. therefore i
> tried to reinstall the template in secondary storage using following
> command.
>
> #
> /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
> -h xenserver -F
>
> But still only 194 byte template was getting copped in secondary
> storage. Cloudstack management server is connected to internet but it is
> not downloading from internet.
> Is it because i have another zone with different system vm template?
> How can i fix this issue?
>
> Thanks in advance
> Tejas
Re: Template downoad for new zone with 194 bytes VHD
Posted by Shanker Balan <sh...@shapeblue.com>.
Comments inline.
On 06-Aug-2014, at 1:17 am, Bret Mette <br...@dbihosting.com> wrote:
> Looks like your DNS setup is not correct.
>
> What is the result of "ping download.cloud.com"
I suspect some HTTP internal authentication captcha redirect.
--
@shankerbalan
M: +91 98860 60539 | O: +91 (80) 67935867
shanker.balan@shapeblue.com | www.shapeblue.com | Twitter:@shapeblue
ShapeBlue Services India LLP, 22nd floor, Unit 2201A, World Trade Centre, Bangalore - 560 055
Find out more about ShapeBlue and our range of CloudStack related services
IaaS Cloud Design & Build<http://shapeblue.com/iaas-cloud-design-and-build//>
CSForge – rapid IaaS deployment framework<http://shapeblue.com/csforge/>
CloudStack Consulting<http://shapeblue.com/cloudstack-consultancy/>
CloudStack Infrastructure Support<http://shapeblue.com/cloudstack-infrastructure-support/>
CloudStack Bootcamp Training Courses<http://shapeblue.com/cloudstack-training/>
This email and any attachments to it may be confidential and are intended solely for the use of the individual to whom it is addressed. Any views or opinions expressed are solely those of the author and do not necessarily represent those of Shape Blue Ltd or related companies. If you are not the intended recipient of this email, you must neither take any action based upon its contents, nor copy or show it to anyone. Please contact the sender if you believe you have received this email in error. Shape Blue Ltd is a company incorporated in England & Wales. ShapeBlue Services India LLP is a company incorporated in India and is operated under license from Shape Blue Ltd. Shape Blue Brasil Consultoria Ltda is a company incorporated in Brasil and is operated under license from Shape Blue Ltd. ShapeBlue SA Pty Ltd is a company registered by The Republic of South Africa and is traded under license from Shape Blue Ltd. ShapeBlue is a registered trademark.
Re: Template downoad for new zone with 194 bytes VHD
Posted by Bret Mette <br...@dbihosting.com>.
Looks like your DNS setup is not correct.
What is the result of "ping download.cloud.com"
Re: Template downoad for new zone with 194 bytes VHD
Posted by te...@frontier.in.
Thanks Erik,
I have already one template stored in Zone 1 secondary storage which is
running successfully. can i copy the same and install it in Zone 2
secondary storage?
Thanks,
Tejas
From: Erik Weber <te...@gmail.com>
To: users@cloudstack.apache.org
Date: 08/05/2014 06:03 PM
Subject: Re: Template downoad for new zone with 194 bytes VHD
I have no idea why that happens, but you can download the file any way you
like (curl / wget or whatever) and pass it to cloud-install-sys-tmplt with
the parameter -f
In your case that would be:
/usr/share/cloudstack-common/scripts/storage/secondary/
cloud-install-sys-tmplt -m /mnt/secondary -f
/path/to/local/download/of/file.vhd -h xenserver -F
If you cannot download the file by any means, it means there is something
wrong elsewhere outside of cloudstack scope.
--
Erik
On Tue, Aug 5, 2014 at 2:23 PM, <te...@frontier.in> wrote:
> The VHD file contains following HTML text.
>
> <HTML><HEAD>
> <meta http-equiv=pragma content=nocache>
> <META HTTP-EQUIV=Expires CONTENT=-1>
> <SCRIPT>
> location.href="http://10.0.2.1:8090/httpclient.html"
> </SCRIPT>
> </HEAD><BODY>
> </BODY>
> </HTML>
>
> Thanks,
> Tejas
>
>
>
> From: Erik Weber <te...@gmail.com>
> To: users@cloudstack.apache.org
> Date: 08/05/2014 05:41 PM
> Subject: Re: Template downoad for new zone with 194 bytes VHD
>
>
>
> view the contents of the file, most likely it is text based with some
sort
> of message saying why.
>
>
> --
> Erik
>
>
>
>
> On Tue, Aug 5, 2014 at 2:09 PM, <te...@frontier.in> wrote:
>
> > Thanks Erik,
> >
> > I have downloaded the template using wget but still the size of
> > template is 194 byte. When i extract it I can see
> > "systemvm64template-2014-06-23-master-xen.vhd" file.
> >
> > What can be the reason for this behaviour?
> >
> > Thanks,
> > Tejas
> >
> >
> >
> >
> > From: Erik Weber <te...@gmail.com>
> > To: users@cloudstack.apache.org
> > Date: 08/05/2014 11:39 AM
> > Subject: Re: Template downoad for new zone with 194 bytes VHD
> >
> >
> >
> > First of all, use this:
> > http://download.cloud.com/templates/4.3/systemvm64template-2014-0
> > 6-23-master-xen.vhd.bz2
> > That version has the hearthbleed fix.
> >
> > Second, try downloading it manually with curl or wget and if it is
still
> > 194 bytes (or similar), read the contents to see if it contains a
> 301/302
> > redirect message or something like that.
> >
> >
> > --
> > Erik
> >
> >
> > On Tue, Aug 5, 2014 at 6:44 AM, <te...@frontier.in> wrote:
> >
> > > Hello,
> > >
> > > I am new to the cloudstack, I have deployed cloudstack 4.3 with 2
> > > xenserver 6.2 cluster in Zone 1, Which is working fine and system
VMs
> > are
> > > deployed from template.
> > > I have created another zone "Zone 2" where I have added 2 more
> xenserver
> > > 6.2. but system VMs are not getting deployed.
> > > After I have done further troubleshooting i have noticed that System
> VM
> > > template for Zone 2 was corrupted with the 194 Byte size VHD.
> therefore
> > i
> > > tried to reinstall the template in secondary storage using following
> > > command.
> > >
> > > #
> > >
> > >
> >
> >
>
>
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> > > -m /mnt/secondary -u
> > >
> > >
> >
> >
>
>
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
>
> >
> > > -h xenserver -F
> > >
> > > But still only 194 byte template was getting copped in secondary
> > > storage. Cloudstack management server is connected to internet but
it
> is
> > > not downloading from internet.
> > > Is it because i have another zone with different system vm template?
> > > How can i fix this issue?
> > >
> > > Thanks in advance
> > > Tejas
> >
> >
>
>
Re: Template downoad for new zone with 194 bytes VHD
Posted by Erik Weber <te...@gmail.com>.
I have no idea why that happens, but you can download the file any way you
like (curl / wget or whatever) and pass it to cloud-install-sys-tmplt with
the parameter -f
In your case that would be:
/usr/share/cloudstack-common/scripts/storage/secondary/
cloud-install-sys-tmplt -m /mnt/secondary -f
/path/to/local/download/of/file.vhd -h xenserver -F
If you cannot download the file by any means, it means there is something
wrong elsewhere outside of cloudstack scope.
--
Erik
On Tue, Aug 5, 2014 at 2:23 PM, <te...@frontier.in> wrote:
> The VHD file contains following HTML text.
>
> <HTML><HEAD>
> <meta http-equiv=pragma content=nocache>
> <META HTTP-EQUIV=Expires CONTENT=-1>
> <SCRIPT>
> location.href="http://10.0.2.1:8090/httpclient.html"
> </SCRIPT>
> </HEAD><BODY>
> </BODY>
> </HTML>
>
> Thanks,
> Tejas
>
>
>
> From: Erik Weber <te...@gmail.com>
> To: users@cloudstack.apache.org
> Date: 08/05/2014 05:41 PM
> Subject: Re: Template downoad for new zone with 194 bytes VHD
>
>
>
> view the contents of the file, most likely it is text based with some sort
> of message saying why.
>
>
> --
> Erik
>
>
>
>
> On Tue, Aug 5, 2014 at 2:09 PM, <te...@frontier.in> wrote:
>
> > Thanks Erik,
> >
> > I have downloaded the template using wget but still the size of
> > template is 194 byte. When i extract it I can see
> > "systemvm64template-2014-06-23-master-xen.vhd" file.
> >
> > What can be the reason for this behaviour?
> >
> > Thanks,
> > Tejas
> >
> >
> >
> >
> > From: Erik Weber <te...@gmail.com>
> > To: users@cloudstack.apache.org
> > Date: 08/05/2014 11:39 AM
> > Subject: Re: Template downoad for new zone with 194 bytes VHD
> >
> >
> >
> > First of all, use this:
> > http://download.cloud.com/templates/4.3/systemvm64template-2014-0
> > 6-23-master-xen.vhd.bz2
> > That version has the hearthbleed fix.
> >
> > Second, try downloading it manually with curl or wget and if it is still
> > 194 bytes (or similar), read the contents to see if it contains a
> 301/302
> > redirect message or something like that.
> >
> >
> > --
> > Erik
> >
> >
> > On Tue, Aug 5, 2014 at 6:44 AM, <te...@frontier.in> wrote:
> >
> > > Hello,
> > >
> > > I am new to the cloudstack, I have deployed cloudstack 4.3 with 2
> > > xenserver 6.2 cluster in Zone 1, Which is working fine and system VMs
> > are
> > > deployed from template.
> > > I have created another zone "Zone 2" where I have added 2 more
> xenserver
> > > 6.2. but system VMs are not getting deployed.
> > > After I have done further troubleshooting i have noticed that System
> VM
> > > template for Zone 2 was corrupted with the 194 Byte size VHD.
> therefore
> > i
> > > tried to reinstall the template in secondary storage using following
> > > command.
> > >
> > > #
> > >
> > >
> >
> >
>
> /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> > > -m /mnt/secondary -u
> > >
> > >
> >
> >
>
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
>
> >
> > > -h xenserver -F
> > >
> > > But still only 194 byte template was getting copped in secondary
> > > storage. Cloudstack management server is connected to internet but it
> is
> > > not downloading from internet.
> > > Is it because i have another zone with different system vm template?
> > > How can i fix this issue?
> > >
> > > Thanks in advance
> > > Tejas
> >
> >
>
>
Re: Template downoad for new zone with 194 bytes VHD
Posted by te...@frontier.in.
The VHD file contains following HTML text.
<HTML><HEAD>
<meta http-equiv=pragma content=nocache>
<META HTTP-EQUIV=Expires CONTENT=-1>
<SCRIPT>
location.href="http://10.0.2.1:8090/httpclient.html"
</SCRIPT>
</HEAD><BODY>
</BODY>
</HTML>
Thanks,
Tejas
From: Erik Weber <te...@gmail.com>
To: users@cloudstack.apache.org
Date: 08/05/2014 05:41 PM
Subject: Re: Template downoad for new zone with 194 bytes VHD
view the contents of the file, most likely it is text based with some sort
of message saying why.
--
Erik
On Tue, Aug 5, 2014 at 2:09 PM, <te...@frontier.in> wrote:
> Thanks Erik,
>
> I have downloaded the template using wget but still the size of
> template is 194 byte. When i extract it I can see
> "systemvm64template-2014-06-23-master-xen.vhd" file.
>
> What can be the reason for this behaviour?
>
> Thanks,
> Tejas
>
>
>
>
> From: Erik Weber <te...@gmail.com>
> To: users@cloudstack.apache.org
> Date: 08/05/2014 11:39 AM
> Subject: Re: Template downoad for new zone with 194 bytes VHD
>
>
>
> First of all, use this:
> http://download.cloud.com/templates/4.3/systemvm64template-2014-0
> 6-23-master-xen.vhd.bz2
> That version has the hearthbleed fix.
>
> Second, try downloading it manually with curl or wget and if it is still
> 194 bytes (or similar), read the contents to see if it contains a
301/302
> redirect message or something like that.
>
>
> --
> Erik
>
>
> On Tue, Aug 5, 2014 at 6:44 AM, <te...@frontier.in> wrote:
>
> > Hello,
> >
> > I am new to the cloudstack, I have deployed cloudstack 4.3 with 2
> > xenserver 6.2 cluster in Zone 1, Which is working fine and system VMs
> are
> > deployed from template.
> > I have created another zone "Zone 2" where I have added 2 more
xenserver
> > 6.2. but system VMs are not getting deployed.
> > After I have done further troubleshooting i have noticed that System
VM
> > template for Zone 2 was corrupted with the 194 Byte size VHD.
therefore
> i
> > tried to reinstall the template in secondary storage using following
> > command.
> >
> > #
> >
> >
>
>
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> > -m /mnt/secondary -u
> >
> >
>
>
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
>
> > -h xenserver -F
> >
> > But still only 194 byte template was getting copped in secondary
> > storage. Cloudstack management server is connected to internet but it
is
> > not downloading from internet.
> > Is it because i have another zone with different system vm template?
> > How can i fix this issue?
> >
> > Thanks in advance
> > Tejas
>
>
Re: Template downoad for new zone with 194 bytes VHD
Posted by Erik Weber <te...@gmail.com>.
view the contents of the file, most likely it is text based with some sort
of message saying why.
--
Erik
On Tue, Aug 5, 2014 at 2:09 PM, <te...@frontier.in> wrote:
> Thanks Erik,
>
> I have downloaded the template using wget but still the size of
> template is 194 byte. When i extract it I can see
> "systemvm64template-2014-06-23-master-xen.vhd" file.
>
> What can be the reason for this behaviour?
>
> Thanks,
> Tejas
>
>
>
>
> From: Erik Weber <te...@gmail.com>
> To: users@cloudstack.apache.org
> Date: 08/05/2014 11:39 AM
> Subject: Re: Template downoad for new zone with 194 bytes VHD
>
>
>
> First of all, use this:
> http://download.cloud.com/templates/4.3/systemvm64template-2014-0
> 6-23-master-xen.vhd.bz2
> That version has the hearthbleed fix.
>
> Second, try downloading it manually with curl or wget and if it is still
> 194 bytes (or similar), read the contents to see if it contains a 301/302
> redirect message or something like that.
>
>
> --
> Erik
>
>
> On Tue, Aug 5, 2014 at 6:44 AM, <te...@frontier.in> wrote:
>
> > Hello,
> >
> > I am new to the cloudstack, I have deployed cloudstack 4.3 with 2
> > xenserver 6.2 cluster in Zone 1, Which is working fine and system VMs
> are
> > deployed from template.
> > I have created another zone "Zone 2" where I have added 2 more xenserver
> > 6.2. but system VMs are not getting deployed.
> > After I have done further troubleshooting i have noticed that System VM
> > template for Zone 2 was corrupted with the 194 Byte size VHD. therefore
> i
> > tried to reinstall the template in secondary storage using following
> > command.
> >
> > #
> >
> >
>
> /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> > -m /mnt/secondary -u
> >
> >
>
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
>
> > -h xenserver -F
> >
> > But still only 194 byte template was getting copped in secondary
> > storage. Cloudstack management server is connected to internet but it is
> > not downloading from internet.
> > Is it because i have another zone with different system vm template?
> > How can i fix this issue?
> >
> > Thanks in advance
> > Tejas
>
>
Re: Template downoad for new zone with 194 bytes VHD
Posted by te...@frontier.in.
Thanks Erik,
I have downloaded the template using wget but still the size of
template is 194 byte. When i extract it I can see
"systemvm64template-2014-06-23-master-xen.vhd" file.
What can be the reason for this behaviour?
Thanks,
Tejas
From: Erik Weber <te...@gmail.com>
To: users@cloudstack.apache.org
Date: 08/05/2014 11:39 AM
Subject: Re: Template downoad for new zone with 194 bytes VHD
First of all, use this:
http://download.cloud.com/templates/4.3/systemvm64template-2014-0
6-23-master-xen.vhd.bz2
That version has the hearthbleed fix.
Second, try downloading it manually with curl or wget and if it is still
194 bytes (or similar), read the contents to see if it contains a 301/302
redirect message or something like that.
--
Erik
On Tue, Aug 5, 2014 at 6:44 AM, <te...@frontier.in> wrote:
> Hello,
>
> I am new to the cloudstack, I have deployed cloudstack 4.3 with 2
> xenserver 6.2 cluster in Zone 1, Which is working fine and system VMs
are
> deployed from template.
> I have created another zone "Zone 2" where I have added 2 more xenserver
> 6.2. but system VMs are not getting deployed.
> After I have done further troubleshooting i have noticed that System VM
> template for Zone 2 was corrupted with the 194 Byte size VHD. therefore
i
> tried to reinstall the template in secondary storage using following
> command.
>
> #
>
>
/usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
>
>
http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
> -h xenserver -F
>
> But still only 194 byte template was getting copped in secondary
> storage. Cloudstack management server is connected to internet but it is
> not downloading from internet.
> Is it because i have another zone with different system vm template?
> How can i fix this issue?
>
> Thanks in advance
> Tejas
Re: Template downoad for new zone with 194 bytes VHD
Posted by Erik Weber <te...@gmail.com>.
First of all, use this:
http://download.cloud.com/templates/4.3/systemvm64template-2014-0
6-23-master-xen.vhd.bz2
That version has the hearthbleed fix.
Second, try downloading it manually with curl or wget and if it is still
194 bytes (or similar), read the contents to see if it contains a 301/302
redirect message or something like that.
--
Erik
On Tue, Aug 5, 2014 at 6:44 AM, <te...@frontier.in> wrote:
> Hello,
>
> I am new to the cloudstack, I have deployed cloudstack 4.3 with 2
> xenserver 6.2 cluster in Zone 1, Which is working fine and system VMs are
> deployed from template.
> I have created another zone "Zone 2" where I have added 2 more xenserver
> 6.2. but system VMs are not getting deployed.
> After I have done further troubleshooting i have noticed that System VM
> template for Zone 2 was corrupted with the 194 Byte size VHD. therefore i
> tried to reinstall the template in secondary storage using following
> command.
>
> #
>
> /usr/share/cloudstack-common/scripts/storage/secondary/cloud-install-sys-tmplt
> -m /mnt/secondary -u
>
> http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-xen.vhd.bz2
> -h xenserver -F
>
> But still only 194 byte template was getting copped in secondary
> storage. Cloudstack management server is connected to internet but it is
> not downloading from internet.
> Is it because i have another zone with different system vm template?
> How can i fix this issue?
>
> Thanks in advance
> Tejas