Use oslo-versioned-objects to help with dealing with upgrades.

Registered by Pawel Koniszewski

https://etherpad.openstack.org/p/kilo-crossproject-upgrades-and-versioning

This blueprints improves the way Glance deals with versioning (of all sorts db/rpc/rest/templates/plugins).

Nova has come up with the idea of versioned objects, that Ironic has also now used. This has now been proposed as an oslo library: https://review.openstack.org/#/c/127532/

There is work being done in Heat and Cinder which may be a good starting point for Glance (ideas, reliability):
https://blueprints.launchpad.net/heat/+spec/versioned-objects
https://blueprints.launchpad.net/cinder/+spec/cinder-objects

The idea of versioned objects is to create wrapper objects that are a layer above the db objects.

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
Pawel Koniszewski
Direction:
Needs approval
Assignee:
Pawel Koniszewski
Definition:
Review
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

The idea of versionedobjects in Glance: https://review.openstack.org/#/c/151194/

Gerrit topic: https://review.openstack.org/#q,topic:bp/versioned-objects,n,z

Addressed by: https://review.openstack.org/184807
    WIP: Versioned object for Image and ImageMember model

Addressed by: https://review.openstack.org/187510
    Versioned object for Task model

Addressed by: https://review.openstack.org/188006
    Versioned object for Metadef models

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.