Provide keystone.conf to kolla-ansible by default
Commit d8ee0fa027140fb8a7504bd6685b6dcdfe3ac8fe introduced the variable kolla_enable_keystone without setting a default value and used it to check whether to template and provide keystone.conf to kolla-ansible, unlike the extended keystone configuration which was always copied. This resulted in non-intuitive behaviour if kolla_enable_keystone wasn't explicitly set by the operator. This commit sets kolla_enable_keystone to true by default, which matches the default in kolla-ansible, and uses it instead of hardcoded true values. Change-Id: Id090348a6f22f251555fa286a7d24923087122a9 Story: 2005930 Task: 34273
This commit is contained in:
parent
6baad19b0b
commit
ec9b482651
@ -159,7 +159,7 @@ overcloud_container_image_regex_map:
|
||||
- regex: keepalived
|
||||
enabled: "{{ kolla_enable_haproxy | bool }}"
|
||||
- regex: keystone
|
||||
enabled: True
|
||||
enabled: "{{ kolla_enable_keystone | bool }}"
|
||||
- regex: kibana
|
||||
enabled: "{{ kolla_enable_kibana | bool }}"
|
||||
- regex: kolla-toolbox
|
||||
@ -353,6 +353,7 @@ kolla_enable_ironic: "yes"
|
||||
kolla_enable_ironic_ipxe: "no"
|
||||
kolla_enable_ironic_neutron_agent: "{{ 'yes' if kolla_enable_neutron | bool and kolla_enable_ironic | bool else 'no' }}"
|
||||
kolla_enable_kafka: "{{ 'yes' if kolla_enable_monasca | bool else 'no' }}"
|
||||
kolla_enable_keystone: "yes"
|
||||
kolla_enable_kibana: "{{ 'yes' if kolla_enable_central_logging | bool or kolla_enable_monasca | bool else 'no' }}"
|
||||
kolla_enable_magnum: "no"
|
||||
kolla_enable_manila: "no"
|
||||
|
@ -29,8 +29,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
|
||||
'path',
|
||||
['fluentd/filter',
|
||||
'fluentd/input',
|
||||
'fluentd/output',
|
||||
'keystone'])
|
||||
'fluentd/output'])
|
||||
def test_service_config_directory(host, path):
|
||||
path = os.path.join('/etc/kolla/config', path)
|
||||
utils.test_directory(host, path)
|
||||
@ -47,6 +46,7 @@ def test_service_config_directory(host, path):
|
||||
'horizon',
|
||||
'ironic',
|
||||
'kafka',
|
||||
'keystone',
|
||||
'magnum',
|
||||
'manila',
|
||||
'mariadb',
|
||||
|
@ -99,7 +99,7 @@ kolla_openstack_custom_config:
|
||||
- src: "{{ kolla_extra_config_path }}/keystone"
|
||||
dest: "{{ kolla_node_custom_config_path }}/keystone"
|
||||
patterns: "*"
|
||||
enabled: true
|
||||
enabled: "{{ kolla_enable_keystone }}"
|
||||
# Keepalived.
|
||||
- src: "{{ kolla_extra_config_path }}/keepalived"
|
||||
dest: "{{ kolla_node_custom_config_path }}/keepalived"
|
||||
|
Loading…
x
Reference in New Issue
Block a user