Convert system_metadata to a JSON blob

Registered by Dan Smith on 2013-11-16

Instance system_metadata should transition to a JSON blob

Blueprint information

Status:
Not started
Approver:
Russell Bryant
Priority:
Medium
Drafter:
None
Direction:
Needs approval
Assignee:
Dan Smith
Definition:
Review
Series goal:
None
Implementation:
Not started
Milestone target:
milestone icon next

Related branches

Sprints

Whiteboard

Proposed plan:

1. Add a migration to open a new column on instance called system_metadata_json of type TEXT
2. Make Instance object aware of the schema version (and if all conductors have been upgraded)
3. If all conductors are updated, convert existing system_metadata to JSON blob on save
4. Figure out how we want to go about background-migrating instances that aren't saved (perhaps only iterate over deleted instances first, then all instances in a conductor periodic?)

    This blueprint has been deferred from the icehouse-3 milestone to Juno because it missed the "feature proposal freeze" deadline. https://wiki.openstack.org/wiki/Icehouse_Release_Schedule --russellb

Unapproved - please re-submit via nova-spec --johnthetubagy (20th March 2014)

(?)

Work Items

Dependency tree

* Blueprints in grey have been implemented.

This blueprint contains Public information 
Everyone can see this information.