New Question

Unable to keep base images on hypervisor

asked 2018-05-09 14:14:38 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hey Guys,

I am on openstack newton. running compute agent on windows hyperv. The unused base images are keep getting deleted. However I have enabled this option in Nova.conf on compute: removeunusedbase_images=False

There's nothing in the log, do I have to enable the above option in controller server as well? I don't know what is deleting them and where to start checking.

edit retag flag offensive close merge delete

2 answers

Sort by » oldest newest most voted

answered 2018-05-25 13:30:26 +0300

lpetrut gravatar image

updated 2018-05-25 17:48:50 +0300


Looks like this is a bug, we'll send a fix as soon as possible. Thanks for bringing it up.

For the record, here's the bug report:

As mentioned there, one workaround would be to set "remove_unused_original_minimum_age_seconds" to a really large value (e.g. 2^30). Setting it to -1 won't help either.

Regards, Lucian Petrut

edit flag offensive delete link more

answered 2018-05-25 13:39:05 +0300

tausif.sfarid gravatar image

The above worked after I disabled image cache manager itself. Added below line to nova.conf on my compute node:


edit flag offensive delete link more


That would work as well. The only issue may be the fact that image timestamps won't be updated anymore when being used by instances, which may help if you change your mind at some point and want to re-enable image cleanups.

lpetrut gravatar imagelpetrut ( 2018-05-25 17:52:31 +0300 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2018-05-09 14:14:38 +0300

Seen: 21 times

Last updated: yesterday