Merge "Add precheck for Horizon config file renames in Caracal"
This commit is contained in:
commit
7f85beac3f
@ -26,3 +26,25 @@
|
||||
when:
|
||||
- container_facts['horizon'] is not defined
|
||||
- inventory_hostname in groups[horizon.group]
|
||||
|
||||
# TODO(mgoddard): Remove in the 2025.1 E release.
|
||||
- name: Check for old local_settings file
|
||||
assert:
|
||||
that:
|
||||
- "'{{ node_custom_config }}/horizon/{{ inventory_hostname }}/local_settings' is not exists"
|
||||
- "'{{ node_custom_config }}/horizon/local_settings' is not exists"
|
||||
fail_msg: >-
|
||||
Horizon configuration must now be provided using
|
||||
/etc/kolla/config/horizon/_9998-kolla-settings.py rather than
|
||||
/etc/kolla/config/horizon/local_settings.
|
||||
|
||||
# TODO(mgoddard): Remove in the 2025.1 E release.
|
||||
- name: Check for old custom_local_settings file
|
||||
assert:
|
||||
that:
|
||||
- "'{{ node_custom_config }}/horizon/{{ inventory_hostname }}/custom_local_settings' is not exists"
|
||||
- "'{{ node_custom_config }}/horizon/custom_local_settings' is not exists"
|
||||
fail_msg: >-
|
||||
Custom horizon configuration must now be provided using
|
||||
/etc/kolla/config/horizon/_9999-custom-settings.py rather than
|
||||
/etc/kolla/config/horizon/custom_local_settings.
|
||||
|
Loading…
x
Reference in New Issue
Block a user