Mount config-data/puppet-generated/nova for nova_api_ensure_default_cell
When an update changes NovaPassword, we need to run nova_api_ensure_default_cell container for it to be able to change the db_connection for the cells in nova_api db. Otherwise nova_api_discover_hosts which runs all the time fails with db erorr as the connection string in the database would not change. Currently, we don't mount either /var/lib/config-data/nova or /var/lib/config-data/puppet-generated/nova, hence the TRIPLEO_CONFIG_HASH is not generated for the container and it does not run during update and may be not in upgrade either. Change-Id: I0a972796e45a8df614619c95e9d9be9af183b4e5 Closes-Bug: #1805803
This commit is contained in:
parent
b8206cc0f5
commit
0012c42e6c
@ -240,8 +240,7 @@ outputs:
|
||||
list_concat:
|
||||
- *nova_api_bootstrap_volumes
|
||||
-
|
||||
- /var/lib/config-data/nova/etc/my.cnf.d/tripleo.cnf:/etc/my.cnf.d/tripleo.cnf:ro
|
||||
- /var/lib/config-data/nova/etc/nova/:/etc/nova/:ro
|
||||
- /var/lib/config-data/puppet-generated/nova/:/var/lib/kolla/config_files/src:ro
|
||||
- /var/lib/docker-config-scripts/nova_api_ensure_default_cell.sh:/nova_api_ensure_default_cell.sh:ro
|
||||
user: root
|
||||
command: "/usr/bin/bootstrap_host_exec nova_api /nova_api_ensure_default_cell.sh"
|
||||
|
Loading…
x
Reference in New Issue
Block a user