Comment 7 for bug 1694753

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

Reviewed: https://review.openstack.org/490942
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=76b4df2622e95c38b477371e27747ac2f6770c63
Submitter: Jenkins
Branch: stable/newton

commit 76b4df2622e95c38b477371e27747ac2f6770c63
Author: Ihar Hrachyshka <email address hidden>
Date: Wed May 31 10:15:16 2017 -0700

    objects: exclude revision_number from updatable fields

    Revision service plugin is the entity that updates the database model
    attribute, and we don't allow to modify the attribute on API layer. We
    should not allow to explicitly update it on OVO layer either.

    This can help with spurious unit test failures that sometimes try to
    update revision number and then reuse the same number to fetch the
    object. If revision service plugin decides to bump the number during the
    test case execution once more, using the old number may yield no
    results.

    Conflicts:
     neutron/objects/extensions/standardattributes.py

    Closes-Bug: #1694753
    Change-Id: I4666c672223ac38508738b739207f754847c62bc
    (cherry picked from commit 9b809fcc60d7e09b4f79fad0b992d0f27d2a100f)
    (cherry picked from commit 2272a00f77b73fd419b85cc15727fec283938f56)