Comment 6 for bug 1475356

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/kilo)

Reviewed: https://review.openstack.org/205686
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=cb2a8fbb13975d9a3fd0c953a93f7e2088570a02
Submitter: Jenkins
Branch: stable/kilo

commit cb2a8fbb13975d9a3fd0c953a93f7e2088570a02
Author: Dan Smith <email address hidden>
Date: Fri Jul 24 12:14:00 2015 -0700

    Fix serializer supported version reporting in object_backport

    The serializer needs to report the version of the toplevel object
    that we were trying to deserialize when we encountered the incompatible
    version. We depend on the implementor of the indirection_api to use
    the object relationship mappings to return to us a fully-supported
    object tree based on the version at the top.

    This patch fixes the serializer to report the toplevel version instead
    of the one that caused the fault.

    Conflicts:
            nova/objects/base.py
            nova/tests/unit/objects/test_objects.py

    NOTE(mriedem): The conflicts are due to the NovaObjectRegistry not
    existing in Kilo.

    Change-Id: I7ac03717e17cd7229abfeef6d9c7d9d8ec9be27a
    Closes-Bug: #1475356
    (cherry picked from commit 7c0e2238eb003ac0c620f4b63fa92baa6675e724)