Comment 5 for bug 1579839

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

Reviewed: https://review.openstack.org/317662
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=f044f44fd442c549abff974c7e892f58133076d0
Submitter: Jenkins
Branch: stable/mitaka

commit f044f44fd442c549abff974c7e892f58133076d0
Author: Brian Elliott <email address hidden>
Date: Mon May 9 18:45:58 2016 +0000

    Fix service version to update the DB

    When new code is installed with a newer service version, the version in
    the DB should get updated.

    The fix here is to:
    1) eliminate the special case for 'version' in save()
    2) cause version to be saved on startup

    NOTE(lyarwood): Single conflict caused by the use of Mock 1.3.0 on
    stable/mitaka and as a result the lack of assert_called_once().

    Conflicts:
            nova/tests/unit/test_service.py

    Change-Id: I96fa9dabfb9b7a5f1703baf80534d8b104dab4e6
    Closes-Bug: 1579839
    (cherry picked from commit 854c39e26d94f006f539ea993ffaafa4892b100c)