Write policy.json on leader-settings-changed

Commit 855c954c30 revealed a bug
that occurrs some times when having multpile Keystone units.

Change-Id: I7bfce6db6b0dba855af32aef4c3f496f03a5a34b
Related-Bug: #1637453
This commit is contained in:
Frode Nordahl
2018-07-23 15:43:26 +02:00
parent f1a112c193
commit c5f616e99b
2 changed files with 8 additions and 1 deletions

View File

@@ -480,6 +480,9 @@ def leader_settings_changed():
# sure only the leader is running the cron job.
CONFIGS.write(TOKEN_FLUSH_CRON_FILE)
# Make sure we keep domain and/or project ids used in templates up to date
CONFIGS.write(POLICY_JSON)
update_all_identity_relation_units()