Ask Your Question

How to force nova to boot an updated glance image?

asked 2013-11-28 15:07:52 -0500

cyberang3l gravatar image

I have an image, on which I make some modifications (adding some files and packages) and eventually I run the following command to update it:

glance image-update --size <the new="" size="" as="" taken="" from="" stat="" output=""> <uuid>

This will update the size and the updated_at properties of the image, but the next time I try to boot a VM based on the updated image, it will still boot from the base image cached in the common storage (the previous one which is not updated).

How can I force nova to re-download the latest image from the glance server?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2013-11-28 15:22:48 -0500

I don't think that functionality is supported. Images are immutable. The latest code (should) prevent updating the size parameter. You'll need to upload a new image.

edit flag offensive delete link more

answered 2013-11-28 15:27:57 -0500

cyberang3l gravatar image

Well, it's good to know then :)

Thanks for the reply!

edit flag offensive delete link more

answered 2013-11-28 15:28:00 -0500

cyberang3l gravatar image

Thanks Stuart McLaren, that solved my question.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2013-11-28 15:07:52 -0500

Seen: 114 times

Last updated: Nov 28 '13