only remove glance images that are no longer in use

Bug #1722836 reported by James Page
18
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: openstack
James Page (james-page)
tags: added: openstack
Revision history for this message
Scott Moser (smoser) wrote :

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.

Changed in simplestreams:
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.