Rexec config-changed hook after upgrade to avoid issues with packages changing under the feet of the running hook

This commit is contained in:
Liam Young
2015-10-16 08:41:46 +00:00
parent f41ef66186
commit 686464a8ba

View File

@@ -395,7 +395,7 @@ def do_openstack_upgrade(configs):
else:
log("Database not ready - deferring to shared-db relation",
level=INFO)
return
os.execl('./hooks/config-changed', '')
def is_db_initialised():