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

Registered by Kamil Rykowski

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

This blueprint improves the way Swift deals with versioning of objects (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 been proposed as an oslo library: https://review.openstack.org/#/c/127532/ which has been already implemented and available at https://github.com/openstack/oslo.versionedobjects

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

The main idea of versioned objects is to create a wrapper objects that would be an abstraction layer above the currently used DB objects. Versioned-objects will help us deal with DB schema being at a different version than the code expects. This will allow Swift to be operated safely during upgrades.

Blueprint information

Status:
Complete
Approver:
None
Priority:
Undefined
Drafter:
Kamil Rykowski
Direction:
Needs approval
Assignee:
Kamil Rykowski
Definition:
Obsolete
Series goal:
None
Implementation:
Unknown
Milestone target:
None
Completed by
Kamil Rykowski

Related branches

Sprints

Whiteboard

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.