Merge "Add 'octavia' in to the list of paths to search for custom configs"

This commit is contained in:
Zuul 2018-11-16 18:37:50 +00:00 committed by Gerrit Code Review
commit 5bd744c869
5 changed files with 16 additions and 0 deletions

View File

@ -182,6 +182,8 @@ overcloud_container_image_regex_map:
enabled: "{{ kolla_enable_neutron_lbaas | bool }}" enabled: "{{ kolla_enable_neutron_lbaas | bool }}"
- regex: nova - regex: nova
enabled: "{{ kolla_enable_nova | bool }}" enabled: "{{ kolla_enable_nova | bool }}"
- regex: octavia
enabled: "{{ kolla_enable_octavia | bool }}"
- regex: openvswitch - regex: openvswitch
enabled: "{{ kolla_enable_neutron | bool }}" enabled: "{{ kolla_enable_neutron | bool }}"
- regex: rabbitmq - regex: rabbitmq
@ -360,6 +362,7 @@ kolla_enable_neutron: "yes"
kolla_enable_neutron_lbaas: "no" kolla_enable_neutron_lbaas: "no"
kolla_enable_neutron_provider_networks: "no" kolla_enable_neutron_provider_networks: "no"
kolla_enable_nova: "yes" kolla_enable_nova: "yes"
kolla_enable_octavia: "no"
kolla_enable_osprofiler: "no" kolla_enable_osprofiler: "no"
kolla_enable_prometheus: "no" kolla_enable_prometheus: "no"
kolla_enable_sahara: "no" kolla_enable_sahara: "no"

View File

@ -365,6 +365,12 @@ kolla_enable_nova:
# Free form extra configuration to append to nova.conf. # Free form extra configuration to append to nova.conf.
kolla_extra_nova: kolla_extra_nova:
###############################################################################
# Octavia configuration.
# Whether to enable Octavia.
kolla_enable_octavia:
############################################################################### ###############################################################################
# Sahara configuration. # Sahara configuration.

View File

@ -78,6 +78,7 @@ provisioner:
kolla_extra_nova: | kolla_extra_nova: |
[extra-nova.conf] [extra-nova.conf]
foo=bar foo=bar
kolla_enable_octavia: true
kolla_enable_sahara: true kolla_enable_sahara: true
kolla_extra_sahara: | kolla_extra_sahara: |
[extra-sahara.conf] [extra-sahara.conf]

View File

@ -47,6 +47,7 @@ testinfra_hosts = testinfra.utils.ansible_runner.AnsibleRunner(
'murano', 'murano',
'neutron', 'neutron',
'nova', 'nova',
'octavia',
'sahara', 'sahara',
'storm', 'storm',
'swift', 'swift',

View File

@ -133,6 +133,11 @@ kolla_openstack_custom_config:
dest: "{{ kolla_node_custom_config_path }}/nova" dest: "{{ kolla_node_custom_config_path }}/nova"
patterns: "*" patterns: "*"
enabled: "{{ kolla_enable_nova }}" enabled: "{{ kolla_enable_nova }}"
# Octavia.
- src: "{{ kolla_extra_config_path }}/octavia"
dest: "{{ kolla_node_custom_config_path }}/octavia"
patterns: "*"
enabled: "{{ kolla_enable_octavia }}"
# Sahara. # Sahara.
- src: "{{ kolla_extra_config_path }}/sahara" - src: "{{ kolla_extra_config_path }}/sahara"
dest: "{{ kolla_node_custom_config_path }}/sahara" dest: "{{ kolla_node_custom_config_path }}/sahara"