Restart Barbican after region_name is updated

Restart Barbican after its region_name (among other parameters) is
updated during bootstrap service endpoints reconfiguration to make it
consistent with keystone service catalog.

Change-Id: Id48078a4d1a429b1e6adc8d8fbcec7eac0264965
Closes-Bug: 1859726
Signed-off-by: Andy Ning <andy.ning@windriver.com>
This commit is contained in:
Andy Ning 2020-01-22 10:24:53 -05:00
parent 7d3eb29054
commit 342bdacdf9
1 changed files with 5 additions and 0 deletions

View File

@ -85,6 +85,11 @@
timeout: 450
msg: Timeout waiting for service endpoints reconfiguration to complete
- name: Restart barbican
systemd:
state: restarted
name: openstack-barbican-api
- name: Wait for system controller database configuration to complete
wait_for:
path: /etc/platform/.sc_database_configured