only remove glance images that are no longer in use
Bug #1722836 reported by
James Page
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
simplestreams |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
simplestreams removes older images from glance fairly blindly in that images that are in-use, i.e. have instances associated with them, are removed from the cloud over time.
This causes problems - for example migration and resize operations will fail as the original image is no longer available in glance.
Nova exposes the ability to query instances based keyed by images, so we should update simplestreams to check for image use prior to deleting an image from glance.
tags: | added: openstack |
To post a comment you must log in.
One thing to point out, currently sstream's publish does not need any special priviledges (just write access to a glance and optionally a swift).
I suspect that 'Nova exposes the ability to query instances based keyed by images' is only available to admin user.
Probably just need to keep that in mind.