diff options
| author | Mark Goddard <mark@stackhpc.com> | 2021-11-09 17:36:55 +0000 |
|---|---|---|
| committer | Mark Goddard <mark@stackhpc.com> | 2021-11-09 17:37:00 +0000 |
| commit | feb70547c1e763124161bd4fe08f88749d76dbae (patch) | |
| tree | bcf20b0b34a7d0861dd47b2e311dc32c3e512755 /tests | |
| parent | 12035a70499003a3dbfd6d6c4e70f8fdd1d0672e (diff) | |
| download | kolla-ansible-feb70547c1e763124161bd4fe08f88749d76dbae.tar.gz kolla-ansible-feb70547c1e763124161bd4fe08f88749d76dbae.zip | |
[release] Set previous_release to xena
This defines which release we upgrade from in CI.
Also remove some Wallaby upgrade compatibility code in CI playbooks
Change-Id: I18912178392973337ca4115dec3816f1b3944ad5
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/templates/ansible.cfg.j2 | 4 | ||||
| -rw-r--r-- | tests/templates/globals-default.j2 | 12 | ||||
| -rw-r--r-- | tests/templates/inventory.j2 | 7 |
3 files changed, 1 insertions, 22 deletions
diff --git a/tests/templates/ansible.cfg.j2 b/tests/templates/ansible.cfg.j2 index 54f74ca5b..d652f6aeb 100644 --- a/tests/templates/ansible.cfg.j2 +++ b/tests/templates/ansible.cfg.j2 @@ -1,12 +1,8 @@ [defaults] callback_plugins = {{ ara_callback_plugins.stdout }} host_key_checking = False -# TODO(mgoddard): Add inject_facts_as_vars unconditionally when previous -# release is xena or previous release has had this patch backported. -{% if not is_upgrade or previous_release not in ["victoria", "wallaby"] %} # Ensure that facts are referenced via ansible_facts.<fact>. inject_facts_as_vars = False -{% endif %} [ssh_connection] pipelining = True diff --git a/tests/templates/globals-default.j2 b/tests/templates/globals-default.j2 index 72d74067f..5619b7817 100644 --- a/tests/templates/globals-default.j2 +++ b/tests/templates/globals-default.j2 @@ -33,12 +33,6 @@ enable_openstack_core: "{{ openstack_core_enabled }}" enable_horizon: "{{ dashboard_enabled }}" enable_heat: "{{ openstack_core_tested }}" -# TODO(mgoddard): Remove when previous release is Xena. -{% if is_previous_release and previous_release == "wallaby" and scenario != "cephadm" %} -# NOTE(mnasiadka): Test chrony cleanup in upgrade jobs -enable_chrony: "yes" -{% endif %} - {% if scenario != 'bifrost' %} kolla_internal_vip_address: "{{ kolla_internal_vip_address }}" neutron_external_interface: "{{ neutron_external_interface_name }}" @@ -130,7 +124,7 @@ glance_backend_ceph: "yes" cinder_backend_ceph: "yes" nova_backend_ceph: "yes" -enable_ceph_rgw: {{ not is_upgrade or previous_release != 'wallaby' }} +enable_ceph_rgw: "yes" ceph_rgw_hosts: {% for host in hostvars %} - host: {{ host }} @@ -151,12 +145,8 @@ openstack_cacert: "/etc/ssl/certs/ca-certificates.crt" openstack_cacert: "/etc/pki/tls/certs/ca-bundle.crt" {% endif %} kolla_admin_openrc_cacert: "{% raw %}{{ kolla_certificates_dir }}{% endraw %}/ca/root.crt" -# TODO(mgoddard): Remove the condition when Victoria supports RabbitMQ TLS, -# or the previous release is no longer Victoria. -{% if not is_upgrade or previous_release != "victoria" %} rabbitmq_enable_tls: "yes" {% endif %} -{% endif %} {% if scenario == 'linuxbridge' %} neutron_plugin_agent: "linuxbridge" diff --git a/tests/templates/inventory.j2 b/tests/templates/inventory.j2 index bef80fbb8..31563840d 100644 --- a/tests/templates/inventory.j2 +++ b/tests/templates/inventory.j2 @@ -147,13 +147,6 @@ compute [loadbalancer:children] network -{% if is_previous_release and previous_release == "wallaby" %} -[keepalived:children] -loadbalancer - -[haproxy:children] -loadbalancer -{% endif %} [mariadb:children] control |
