Skip to content

Commit a1b590f

Browse files
authored
Merge pull request #15 from stackhpc/upstream/xena-2022-06-20
Synchronise xena with upstream
2 parents 4e69455 + 582f050 commit a1b590f

File tree

91 files changed

+879
-222
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

91 files changed

+879
-222
lines changed

ansible/group_vars/all/apt

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,3 +10,38 @@ apt_proxy_http:
1010

1111
# Apt proxy URL for HTTPS. Default is {{ apt_proxy_http }}.
1212
apt_proxy_https: "{{ apt_proxy_http }}"
13+
14+
# List of Apt configuration options. Each item is a dict with the following
15+
# keys:
16+
# * content: free-form configuration file content
17+
# * filename: name of a file in /etc/apt/apt.conf.d/ in which to write the
18+
# configuration
19+
# Default is an empty list.
20+
apt_config: []
21+
22+
# List of apt keys. Each item is a dict containing the following keys:
23+
# * url: URL of key
24+
# * filename: Name of a file in which to store the downloaded key. The
25+
# extension should be '.asc' for ASCII-armoured keys, or '.gpg' otherwise.
26+
# Default is an empty list.
27+
apt_keys: []
28+
29+
# A list of Apt repositories. Each item is a dict with the following keys:
30+
# * types: whitespace-separated list of repository types, e.g. deb or deb-src
31+
# (optional, default is 'deb')
32+
# * url: URL of the repository
33+
# * suites: whitespace-separated list of suites, e.g. focal (optional, default
34+
# is ansible_facts.distribution_release)
35+
# * components: whitespace-separated list of components, e.g. main (optional,
36+
# default is 'main')
37+
# * signed_by: whitespace-separated list of names of GPG keyring files in
38+
# apt_keys_path (optional, default is unset)
39+
# * architecture: whitespace-separated list of architectures that will be used
40+
# (optional, default is unset)
41+
# Default is an empty list.
42+
apt_repositories: []
43+
44+
# Whether to disable repositories in /etc/apt/sources.list. This may be used
45+
# when replacing the distribution repositories via apt_repositories.
46+
# Default is false.
47+
apt_disable_sources_list: false

ansible/group_vars/all/dnf

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,18 @@ dnf_config: {}
77
# Whether or not to use a local Yum mirror. Default value is 'false'.
88
dnf_use_local_mirror: false
99

10-
# Mirror FQDN for Yum repos. Default value is 'mirror.centos.org'.
10+
# Mirror FQDN for Yum CentOS repos. Default value is 'mirror.centos.org'.
1111
dnf_centos_mirror_host: 'mirror.centos.org'
1212

1313
# Mirror directory for Yum CentOS repos. Default value is 'centos'.
1414
dnf_centos_mirror_directory: 'centos'
1515

16+
# Mirror FQDN for Yum Rocky repos. Default value is 'dl.rockylinux.org'.
17+
dnf_rocky_mirror_host: 'dl.rockylinux.org'
18+
19+
# Mirror directory for Yum Rocky repos. Default value is 'pub/rocky'.
20+
dnf_rocky_mirror_directory: 'pub/rocky'
21+
1622
# Mirror FQDN for Yum EPEL repos. Default value is
1723
# 'download.fedoraproject.org'.
1824
dnf_epel_mirror_host: 'download.fedoraproject.org'

ansible/group_vars/all/globals

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,17 @@ kayobe_ansible_user: "stack"
4444
###############################################################################
4545
# OS distribution.
4646

47-
# OS distribution name. Valid options are "centos", "ubuntu". Default is
48-
# "centos".
47+
# OS distribution name. Valid options are "centos", "rocky", "ubuntu". Default
48+
# is "centos".
4949
os_distribution: "centos"
5050

5151
# OS release. Valid options are "8-stream" when os_distribution is "centos", or
52-
# "focal" when os_distribution is "ubuntu".
53-
os_release: "{{ '8-stream' if os_distribution == 'centos' else 'focal' }}"
52+
# "8" when os_distribution is "rocky", or "focal" when os_distribution is
53+
# "ubuntu".
54+
os_release: >-
55+
{{ '8-stream' if os_distribution == 'centos'
56+
else '8' if os_distribution == 'rocky'
57+
else 'focal' }}
5458

5559
###############################################################################
5660
# Ansible configuration.

ansible/group_vars/all/infra-vms

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,16 @@ infra_vm_root_format: qcow2
4343
# Base image for the infra VM root volume. Default is
4444
# "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
4545
# when os_distribution is "ubuntu", or
46+
# http://dl.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
47+
# when os_distribution is "rocky",
48+
# or
4649
# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210210.0.x86_64.qcow2"
4750
# otherwise.
4851
infra_vm_root_image: >-
4952
{%- if os_distribution == 'ubuntu' %}
5053
https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
54+
{%- elif os_distribution == 'rocky' %}
55+
http://dl.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
5156
{%- else -%}
5257
https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210210.0.x86_64.qcow2
5358
{%- endif %}

ansible/group_vars/all/kolla

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,9 @@ kolla_node_custom_config_path: "{{ kolla_config_path }}/config"
5353
# Kolla configuration.
5454

5555
# Kolla base container image distribution. Options are "centos", "debian",
56-
# "ubuntu". Default is {{ os_distribution }}.
57-
kolla_base_distro: "{{ os_distribution }}"
56+
# "ubuntu". Default is
57+
# {{ 'centos' if os_distribution == 'rocky' else os_distribution }}.
58+
kolla_base_distro: "{{ 'centos' if os_distribution == 'rocky' else os_distribution }}"
5859

5960
# Kolla container image type: binary or source.
6061
kolla_install_type: "source"
@@ -154,6 +155,8 @@ overcloud_container_image_regex_map:
154155
enabled: "{{ kolla_enable_gnocchi | bool }}"
155156
- regex: ^grafana
156157
enabled: "{{ kolla_enable_grafana | bool }}"
158+
- regex: ^hacluster
159+
enabled: "{{ kolla_enable_hacluster | bool }}"
157160
- regex: ^haproxy$
158161
enabled: "{{ kolla_enable_haproxy | bool }}"
159162
- regex: ^heat
@@ -201,7 +204,7 @@ overcloud_container_image_regex_map:
201204
- regex: neutron-server
202205
enabled: "{{ kolla_enable_neutron | bool }}"
203206
# Neutron SFC agent not currently supported on CentOS binary builds.
204-
- regex: "neutron-\\(dhcp\\|l3\\|metadata\\|openvswitch\\)-agent"
207+
- regex: "neutron-\\(dhcp\\|l3\\|metadata\\|linuxbridge\\|openvswitch\\)-agent"
205208
enabled: "{{ kolla_enable_neutron | bool }}"
206209
- regex: neutron-mlnx-agent
207210
enabled: "{{ kolla_enable_neutron_mlnx | bool }}"
@@ -534,6 +537,7 @@ kolla_enable_fluentd: "yes"
534537
kolla_enable_freezer: "no"
535538
kolla_enable_gnocchi: "no"
536539
kolla_enable_grafana: "{{ kolla_enable_monasca | bool }}"
540+
kolla_enable_hacluster: "no"
537541
kolla_enable_heat: "{{ kolla_enable_openstack_core | bool }}"
538542
kolla_enable_horizon: "{{ kolla_enable_openstack_core | bool }}"
539543
kolla_enable_influxdb: "{{ kolla_enable_monasca | bool or kolla_enable_cloudkitty | bool }}"

ansible/group_vars/all/seed-vm

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,12 +42,17 @@ seed_vm_root_format: qcow2
4242

4343
# Base image for the seed VM root volume. Default is
4444
# "https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img"
45-
# when os_distribution is "ubuntu", or
45+
# when os_distribution is "ubuntu",
46+
# http://dl.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
47+
# when os_distribution is "rocky",
48+
# or
4649
# "https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210210.0.x86_64.qcow2"
4750
# otherwise.
4851
seed_vm_root_image: >-
4952
{%- if os_distribution == 'ubuntu' %}
5053
https://cloud-images.ubuntu.com/focal/current/focal-server-cloudimg-amd64.img
54+
{%- elif os_distribution == 'rocky' %}
55+
http://dl.rockylinux.org/pub/rocky/8.5/images/Rocky-8-GenericCloud-8.5-20211114.2.x86_64.qcow2
5156
{%- else -%}
5257
https://cloud.centos.org/centos/8-stream/x86_64/images/CentOS-Stream-GenericCloud-8-20210210.0.x86_64.qcow2
5358
{%- endif %}

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/ip-allocation.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
when:
2828
- item | net_cidr != None
2929
- item | net_bootproto != 'dhcp'
30+
- not item | net_no_ip | bool
3031
roles:
3132
- role: ip-allocation
3233
ip_allocation_filename: "{{ kayobe_env_config_path }}/network-allocation.yml"

ansible/kolla-bifrost.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
# Network configuration.
1010
kolla_bifrost_dhcp_pool_start: "{{ provision_oc_net_name | net_inspection_allocation_pool_start }}"
1111
kolla_bifrost_dhcp_pool_end: "{{ provision_oc_net_name | net_inspection_allocation_pool_end }}"
12+
kolla_bifrost_dhcp_pool_mask: "{{ provision_oc_net_name | net_mask }}"
1213
kolla_bifrost_dnsmasq_router: "{{ provision_oc_net_name | net_inspection_gateway or provision_oc_net_name | net_gateway }}"
1314
kolla_bifrost_dnsmasq_dns_servers: "{{ resolv_nameservers | default([]) }}"
1415
kolla_bifrost_domain: "{{ resolv_domain | default }}"

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 }}"

0 commit comments

Comments
 (0)