Images Related to Instances
Backups and Snapshots belong to an instance (and to a customer). We should be able to query for images by either instance_id or by customer.
Blueprint information
- Status:
- Complete
- Approver:
- Rick Clark
- Priority:
- Undefined
- Drafter:
- Rick Harris
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Obsolete
- Series goal:
- None
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
- Brian Waldon
Related branches
Related bugs
Sprints
Whiteboard
One issue is that Glance <=> Nova is a many-to-many relationship; in other words, there can be multiple Glance's servicing a Nova installation as well as multiple Nova's pointed to Glance.
This means a simple `instance_id` parameter is not unique enough. What we really need is something like:
(`nova_
We could then have each installation of Nova generate a it's nova_installati
Could we use a URI for the instance? 'http://<nova_location>
* Add WSGI middleware in Glance that parses out instance_id
* Add Migration to Glance to store (image_id, instance_id, nova_id) mappings
* Modify Nova to pass (instance_id, nova_id) on snapshots
* Modify OpenStack API to use InstanceAware Glance
It makes the most sense to use the full Nova URI to solve this problem. Let's file a new blueprint if you want to work on this in folsom.