Comment 27 for bug 1526283

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/412397
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=ebfc4fe4c4c3910bf8b1229cb75259befa530877
Submitter: Jenkins
Branch: master

commit ebfc4fe4c4c3910bf8b1229cb75259befa530877
Author: Grzegorz Grasza <email address hidden>
Date: Mon Dec 19 11:32:34 2016 +0100

    Add version column

    This extends versioned objects and uses the object's
    convert_to_version() to perform conversions between different
    versions of the object. This conversion is only done at the
    "boundaries" of the api and conductor services. That is, when
    reading/writing to the database and when serializing/deserializing
    (for RPC). Internally, the services deal with the latest versions
    of the objects.

    Version column is introduced to make sure reading the DB object
    versions happens transparently for the developer. An exception
    is raised in case of a version compatibility error.

    The version column is null at first and will be filled with the
    appropriate versions by a data migration script in a following patch.

    Change-Id: I34629a5cbab7ff3f246ea19c0cb766badc7061db
    Partial-Bug: #1526283
    Co-Authored-By: Ruby Loo <email address hidden>