New Question
0

Unable to keep base images on hypervisor

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

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
0

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

lpetrut gravatar image

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

Hi,

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: https://bugs.launchpad.net/nova/+bug/...

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
0

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

tausif.sfarid gravatar image

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

imagecachemanager_interval=-1

edit flag offensive delete link more

Comments

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 +0200 )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

Stats

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

Seen: 2,675 times

Last updated: May 25 '18