Ask Your Question
0

How to force nova to boot an updated glance image?

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

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
0

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

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
0

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

cyberang3l gravatar image

Well, it's good to know then :)

Thanks for the reply!

edit flag offensive delete link more
0

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

cyberang3l gravatar image

Thanks Stuart McLaren, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

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

Seen: 57 times

Last updated: Nov 28 '13