You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by "Len.Bellemore@alternativenetworks.com" <Le...@alternativenetworks.com> on 2015/03/17 17:11:24 UTC

CLoudstack 4.5 cannot delete ISO

Hi Guys,

I'm running ACS 4.5 in Dev and I've come across an issue where I can't delete an ISO that has failed to upload.  It might be an unavailable webserver or whatever, so the template creates an entry in the DB, but never actually downloads or installs.  When I try to delete it via the UI or Cloudmonkey it throws an error:

errortext = Please specify a valid template

Seen that before?

Thanks
Len


RE: CLoudstack 4.5 cannot delete ISO

Posted by "Len.Bellemore@alternativenetworks.com" <Le...@alternativenetworks.com>.
Hi Jeff  : ) 

Yup, that's what I've had to do.  Still seems like a bug...

Cheers
Len

-----Original Message-----
From: Geoff Higginbottom [mailto:geoff.higginbottom@shapeblue.com] 
Sent: 17 March 2015 17:00
To: <us...@cloudstack.apache.org>
Subject: Re: CLoudstack 4.5 cannot delete ISO

Hi Ken,

I'm sure I've seen this before and I have just updated the DB to mark it as removed/inactive (note newer versions use the status column in the db rather than the removed column)

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> | M: +447968161581<tel:+447968161581>

geoff.higginbottom@shapeblue.com<ma...@shapeblue.com> | www.shapeblue.com<htp://www.shapeblue.com/> | Twitter:@cloudstackguru<https://twitter.com/#!/cloudstackguru>

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS<x-apple-data-detectors://5>


On 17 Mar 2015, at 17:16, "Len.Bellemore@alternativenetworks.com<ma...@alternativenetworks.com>" <Le...@alternativenetworks.com>> wrote:

Hi Guys,

I'm running ACS 4.5 in Dev and I've come across an issue where I can't delete an ISO that has failed to upload.  It might be an unavailable webserver or whatever, so the template creates an entry in the DB, but never actually downloads or installs.  When I try to delete it via the UI or Cloudmonkey it throws an error:

errortext = Please specify a valid template

Seen that before?

Thanks
Len

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 Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
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: CLoudstack 4.5 cannot delete ISO

Posted by Geoff Higginbottom <ge...@shapeblue.com>.
Hi Ken,

I'm sure I've seen this before and I have just updated the DB to mark it as removed/inactive (note newer versions use the status column in the db rather than the removed column)

Regards

Geoff Higginbottom
CTO / Cloud Architect

D: +44 20 3603 0542<tel:+442036030542> | S: +44 20 3603 0540<tel:+442036030540> | M: +447968161581<tel:+447968161581>

geoff.higginbottom@shapeblue.com<ma...@shapeblue.com> | www.shapeblue.com<htp://www.shapeblue.com/> | Twitter:@cloudstackguru<https://twitter.com/#!/cloudstackguru>

ShapeBlue Ltd, 53 Chandos Place, Covent Garden, London, WC2N 4HS<x-apple-data-detectors://5>


On 17 Mar 2015, at 17:16, "Len.Bellemore@alternativenetworks.com<ma...@alternativenetworks.com>" <Le...@alternativenetworks.com>> wrote:

Hi Guys,

I'm running ACS 4.5 in Dev and I've come across an issue where I can't delete an ISO that has failed to upload.  It might be an unavailable webserver or whatever, so the template creates an entry in the DB, but never actually downloads or installs.  When I try to delete it via the UI or Cloudmonkey it throws an error:

errortext = Please specify a valid template

Seen that before?

Thanks
Len

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 Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
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: CLoudstack 4.5 cannot delete ISO

Posted by "Len.Bellemore@alternativenetworks.com" <Le...@alternativenetworks.com>.
Hi Rohit,

It's just a single zone that I have in my dev lab.  I'll try it again and pass you the logs

Thanks
Len

-----Original Message-----
From: Rohit Yadav [mailto:rohit.yadav@shapeblue.com] 
Sent: 18 March 2015 09:54
To: users@cloudstack.apache.org
Subject: Re: CLoudstack 4.5 cannot delete ISO

Hi Len,

Are you having multiple zones? On latest 4.5 branch, I registered an ISO with a fake URL and it failed with the download failed 404 error. After that, I was able to delete the ISO using UI by selecting suitable zones.
When you're using CloudMonkey, please make sure to pass it the correct UUID and zoneid.

If you're able to reproduce the issue with latest 4.5 branch let us know and perhaps share relevant management server logs (useful in case you see any exceptions).

On Tuesday 17 March 2015 09:41 PM, Len.Bellemore@alternativenetworks.com
wrote:
> Hi Guys,
>
> I'm running ACS 4.5 in Dev and I've come across an issue where I can't delete an ISO that has failed to upload.  It might be an unavailable webserver or whatever, so the template creates an entry in the DB, but never actually downloads or installs.  When I try to delete it via the UI or Cloudmonkey it throws an error:
>
> errortext = Please specify a valid template
>
> Seen that before?
>
> Thanks
> Len
>
>

--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab PS. If you see any footer below, I did not add it :) 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 Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
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: CLoudstack 4.5 cannot delete ISO

Posted by Rohit Yadav <ro...@shapeblue.com>.
Hi Len,

Are you having multiple zones? On latest 4.5 branch, I registered an ISO
with a fake URL and it failed with the download failed 404 error. After
that, I was able to delete the ISO using UI by selecting suitable zones.
When you're using CloudMonkey, please make sure to pass it the correct
UUID and zoneid.

If you're able to reproduce the issue with latest 4.5 branch let us know
and perhaps share relevant management server logs (useful in case you
see any exceptions).

On Tuesday 17 March 2015 09:41 PM, Len.Bellemore@alternativenetworks.com
wrote:
> Hi Guys,
>
> I'm running ACS 4.5 in Dev and I've come across an issue where I can't delete an ISO that has failed to upload.  It might be an unavailable webserver or whatever, so the template creates an entry in the DB, but never actually downloads or installs.  When I try to delete it via the UI or Cloudmonkey it throws an error:
>
> errortext = Please specify a valid template
>
> Seen that before?
>
> Thanks
> Len
>
>

--
Regards,
Rohit Yadav
Software Architect, ShapeBlue
M. +91 8826230892 | rohit.yadav@shapeblue.com
Blog: bhaisaab.org | Twitter: @_bhaisaab
PS. If you see any footer below, I did not add it :)
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 Software Engineering<http://shapeblue.com/cloudstack-software-engineering/>
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.