Merge "Enable deployers to force update cell mappings"
This commit is contained in:
commit
3c62a72725
@ -128,6 +128,7 @@ nova_api_db_connection_recycle_time: "{{ openstack_db_connection_recycle_time |
|
|||||||
## DB Cells
|
## DB Cells
|
||||||
nova_cell0_database: "nova_cell0"
|
nova_cell0_database: "nova_cell0"
|
||||||
nova_cell1_name: "cell1"
|
nova_cell1_name: "cell1"
|
||||||
|
nova_cell_force_update: False
|
||||||
|
|
||||||
## Oslo Messaging
|
## Oslo Messaging
|
||||||
|
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Added variable ``nova_cell_force_update`` that can be set to
|
||||||
|
True during runtime to force update cell records.
|
||||||
|
This might be useful in case of password rotation for DB users
|
||||||
|
for cell0 or any other changes in connection configuration.
|
@ -61,7 +61,8 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
- _cell0_record | length > 0
|
- _cell0_record | length > 0
|
||||||
- ('ssl_verify_cert' not in _cell0_record[0] and nova_galera_use_ssl) or
|
- nova_cell_force_update or
|
||||||
|
('ssl_verify_cert' not in _cell0_record[0] and nova_galera_use_ssl) or
|
||||||
('ssl_verify_cert' in _cell0_record[0] and not nova_galera_use_ssl)
|
('ssl_verify_cert' in _cell0_record[0] and not nova_galera_use_ssl)
|
||||||
|
|
||||||
- name: Synchronize the nova DB schema
|
- name: Synchronize the nova DB schema
|
||||||
@ -105,7 +106,8 @@
|
|||||||
changed_when: false
|
changed_when: false
|
||||||
when:
|
when:
|
||||||
- _cell1_record | length > 0
|
- _cell1_record | length > 0
|
||||||
- (nova_oslomsg_rpc_port ~ '/' ~ _nova_oslomsg_rpc_vhost_conf) not in _cell1_record[0]
|
- nova_cell_force_update or
|
||||||
|
(nova_oslomsg_rpc_port ~ '/' ~ _nova_oslomsg_rpc_vhost_conf) not in _cell1_record[0]
|
||||||
|
|
||||||
# The nova-status upgrade check command is typically run after upgrading the
|
# The nova-status upgrade check command is typically run after upgrading the
|
||||||
# controller services to new code, but is also OK to run for a greenfield
|
# controller services to new code, but is also OK to run for a greenfield
|
||||||
|
Loading…
x
Reference in New Issue
Block a user