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)
Reviewed: https:/ /review. openstack. org/317662 /git.openstack. org/cgit/ openstack/ nova/commit/ ?id=f044f44fd44 2c549abff974c7e 892f58133076d0
Committed: https:/
Submitter: Jenkins
Branch: stable/mitaka
commit f044f44fd442c54 9abff974c7e892f 58133076d0
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 called_ once().
stable/mitaka and as a result the lack of assert_
Conflicts:
nova/ tests/unit/ test_service. py
Change-Id: I96fa9dabfb9b7a 5f1703baf80534d 8b104dab4e6 6f539ea993ffaaf a4892b100c)
Closes-Bug: 1579839
(cherry picked from commit 854c39e26d94f00