Skip to content

Commit 264f7cc

Browse files
authored
Merge pull request #14 from stackhpc/upstream/wallaby-2022-06-20
Synchronise wallaby with upstream
2 parents 7b89671 + 5ddbcc8 commit 264f7cc

34 files changed

+163
-77
lines changed

ansible/group_vars/all/kolla

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,8 @@ overcloud_container_image_regex_map:
152152
enabled: "{{ kolla_enable_gnocchi | bool }}"
153153
- regex: ^grafana
154154
enabled: "{{ kolla_enable_grafana | bool }}"
155+
- regex: ^hacluster
156+
enabled: "{{ kolla_enable_hacluster | bool }}"
155157
- regex: ^haproxy$
156158
enabled: "{{ kolla_enable_haproxy | bool }}"
157159
- regex: ^heat
@@ -199,7 +201,7 @@ overcloud_container_image_regex_map:
199201
- regex: neutron-server
200202
enabled: "{{ kolla_enable_neutron | bool }}"
201203
# Neutron SFC agent not currently supported on CentOS binary builds.
202-
- regex: "neutron-\\(dhcp\\|l3\\|metadata\\|openvswitch\\)-agent"
204+
- regex: "neutron-\\(dhcp\\|l3\\|metadata\\|linuxbridge\\|openvswitch\\)-agent"
203205
enabled: "{{ kolla_enable_neutron | bool }}"
204206
- regex: neutron-mlnx-agent
205207
enabled: "{{ kolla_enable_neutron_mlnx | bool }}"
@@ -540,6 +542,7 @@ kolla_enable_fluentd: "yes"
540542
kolla_enable_freezer: "no"
541543
kolla_enable_gnocchi: "no"
542544
kolla_enable_grafana: "{{ kolla_enable_monasca | bool }}"
545+
kolla_enable_hacluster: "no"
543546
kolla_enable_heat: "{{ kolla_enable_openstack_core | bool }}"
544547
kolla_enable_horizon: "{{ kolla_enable_openstack_core | bool }}"
545548
kolla_enable_influxdb: "{{ kolla_enable_monasca | bool or kolla_enable_cloudkitty | bool }}"

ansible/host-package-update.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
host_package_update_security: false
99
tasks:
1010
- name: Update host packages
11-
dnf:
11+
package:
1212
name: "{{ host_package_update_packages }}"
13-
security: "{{ host_package_update_security | bool }}"
13+
security: "{{ host_package_update_security | bool if ansible_facts.os_family == 'RedHat' else omit }}"
1414
state: latest
15-
when: ansible_facts.os_family == 'RedHat'
15+
update_cache: "{{ True if ansible_facts.os_family == 'Debian' else omit }}"
1616
become: true

ansible/kolla-bifrost-hostvars.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
addressing_mode: static
1717
ipv4_interface_mac: "{% raw %}{{ extra.pxe_interface_mac | default }}{% endraw %}"
1818
ipv4_address: "{{ admin_oc_net_name | net_ip }}"
19-
ipv4_subnet_mask: "{{ admin_oc_net_name | net_cidr | ipaddr('netmask') }}"
19+
ipv4_subnet_mask: "{{ admin_oc_net_name | net_mask }}"
2020
# If the admin network does not have a gateway defined, use the
2121
# seed as a gateway to allow external access until other networks have
2222
# been configured.

ansible/provision-net.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
venv: "{{ virtualenv_path }}/openstacksdk"
1919
provision_net:
2020
name: "{{ kolla_ironic_provisioning_network }}"
21+
mtu: "{{ provision_wl_net_name | net_mtu | default(omit, True) }}"
2122
provider_network_type: "{% if provision_wl_net_name | net_vlan %}vlan{% else %}flat{% endif %}"
2223
provider_physical_network: "{{ provision_wl_net_name | net_physical_network | default('physnet1', True) }}"
2324
provider_segmentation_id: "{{ provision_wl_net_name | net_vlan }}"
@@ -31,6 +32,7 @@
3132
allocation_pool_end: "{{ provision_wl_net_name | net_neutron_allocation_pool_end }}"
3233
cleaning_net:
3334
name: "{{ kolla_ironic_cleaning_network }}"
35+
mtu: "{{ cleaning_net_name | net_mtu | default(omit, True) }}"
3436
provider_network_type: "{% if cleaning_net_name | net_vlan %}vlan{% else %}flat{% endif %}"
3537
provider_physical_network: "{{ cleaning_net_name | net_physical_network | default('physnet1', True) }}"
3638
provider_segmentation_id: "{{ cleaning_net_name | net_vlan }}"
@@ -64,7 +66,7 @@
6466
- role: stackhpc.os-networks
6567
os_openstacksdk_install_epel: "{{ dnf_install_epel }}"
6668
os_openstacksdk_state: latest
67-
os_openstacksdk_upper_constraints_file: "{{ pip_upper_constraints_file }}"
69+
os_networks_upper_constraints_file: "{{ pip_upper_constraints_file }}"
6870
os_networks_venv: "{{ venv }}"
6971
os_networks_auth_type: "{{ openstack_auth_type }}"
7072
os_networks_auth: "{{ openstack_auth }}"

ansible/roles/kolla-ansible/library/kolla_passwords.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ def main():
181181
module = AnsibleModule(
182182
argument_spec = dict(
183183
dest=dict(default='/etc/kolla/passwords.yml', type='str'),
184-
overrides=dict(default={}, type='dict'),
184+
overrides=dict(default={}, type='dict', no_log=True),
185185
sample=dict(default='/usr/share/kolla-ansible/etc_examples/kolla/passwords.yml', type='str'),
186186
src=dict(default='/etc/kolla/passwords.yml', type='str'),
187187
vault_password=dict(type='str', no_log=True),

ansible/roles/kolla-ansible/templates/overcloud-top-level.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ ansible_python_interpreter={{ kolla_ansible_target_venv }}/bin/python
3636
# Mapping from kolla-ansible group {{ kolla_group }} to top level kayobe
3737
# groups.
3838
[{{ kolla_group }}:children]
39-
{% for group in kolla_group_config.groups %}
39+
{% for group in renamed_groups %}
4040
{{ group }}
4141
{% endfor %}
4242

ansible/roles/kolla-openstack/templates/glance.conf.j2

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,5 @@
11
# {{ ansible_managed }}
22

3-
{% if kolla_enable_swift | bool %}
4-
[glance_store]
5-
6-
default_store=swift
7-
stores=swift
8-
{% raw %}
9-
swift_store_user=service:{{ glance_keystone_user }}
10-
swift_store_key={{ glance_keystone_password }}
11-
swift_store_auth_version=2
12-
swift_store_auth_address={{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v2.0
13-
{% endraw %}
14-
swift_store_endpoint_type=internalURL
15-
swift_store_create_container_on_put=True
16-
17-
#swift_store_config_file=/etc/glance/glance-api.conf
18-
#default_swift_reference=swift_store_ref
19-
20-
#[swift_store_ref]
21-
#{% raw %}
22-
#user=service:{{ glance_keystone_user }}
23-
#key={{ glance_keystone_password }}
24-
#auth_version=2
25-
#auth_address={{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v2.0
26-
#user_domain_id=default
27-
#project_domain_id=default
28-
#{% endraw %}
29-
30-
{% endif %}
31-
323
{% if kolla_extra_glance %}
334
#######################
345
# Extra configuration

ansible/roles/network-redhat/tasks/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,3 +46,4 @@
4646
name: veth
4747
vars:
4848
veth_interfaces: "{{ network_interfaces | net_ovs_veths }}"
49+
when: "'overcloud' in group_names"

doc/source/configuration/reference/hosts.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,11 +768,12 @@ For example:
768768
769769
compute_lvm_groups_extra:
770770
- vgname: other-vg
771-
disks: /dev/sdb
771+
disks:
772+
- /dev/sdb
772773
create: true
773774
lvnames:
774775
- lvname: other-vol
775-
size: 100%
776+
size: 100%FREE
776777
create: true
777778
mount: false
778779

doc/source/configuration/reference/physical-network.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ configure`` command. See :ref:`physical-network` for details.
1515
The following switch operating systems are currently supported:
1616

1717
* Cumulus Linux (via `Network Command Line Utility (NCLU)
18-
<https://docs.cumulusnetworks.com/display/DOCS/Network+Command+Line+Utility+-+NCLU>`__)
18+
<https://docs.nvidia.com/networking-ethernet-software/cumulus-linux-44/System-Configuration/Network-Command-Line-Utility-NCLU/>`__)
1919
* Dell OS 6
2020
* Dell OS 9
2121
* Dell OS 10

0 commit comments

Comments
 (0)