[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
This commit is contained in:
Mark Goddard 2021-11-09 17:36:55 +00:00
parent 12035a7049
commit feb70547c1
5 changed files with 3 additions and 24 deletions

View File

@ -539,7 +539,7 @@ openstack_logging_debug: "False"
openstack_region_name: "RegionOne"
# Variable defined the pin_release_version, apply for rolling upgrade process
openstack_previous_release_name: "wallaby"
openstack_previous_release_name: "xena"
# A list of policy file formats that are supported by Oslo.policy
supported_policy_format_list:

View File

@ -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

View File

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

View File

@ -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

View File

@ -26,7 +26,7 @@
- ^kolla_ansible/tests/
- ^zuul\.d/
vars:
previous_release: wallaby
previous_release: xena
scenario: core
virt_type: qemu
is_upgrade: no