Chris Dent bb14e02a46 Upgrade placement independent of nova
Until now we haven't needed this because placement was being upgraded
as part of nova and placement was not requiring a db sync to upgrade.

Now it does, so an upgrade.sh is added to 15_placement, based on
keystone's (which is simpler than nova's), and the repeated parts
in nova's upgrade.sh are removed. a settings file is also added

Change-Id: I5354a6b32b73c613018bbe17f0691c69f7839b5f
Needed-By: https://review.opendev.org/669170
2019-09-02 20:20:19 +01:00

5 lines
122 B
Plaintext

if is_service_enabled placement-api; then
register_project_for_upgrade placement
register_db_to_save placement
fi