diff --git a/playbooks/kayobe-overcloud-upgrade-base/overrides.yml.j2 b/playbooks/kayobe-overcloud-upgrade-base/overrides.yml.j2 index 5b19dc729..85dc34453 100644 --- a/playbooks/kayobe-overcloud-upgrade-base/overrides.yml.j2 +++ b/playbooks/kayobe-overcloud-upgrade-base/overrides.yml.j2 @@ -10,11 +10,6 @@ docker_registry_mirrors: kolla_docker_namespace: "openstack.kolla" # use the published images from a site mirror of quay.io kolla_docker_registry: "{{ zuul_site_mirror_fqdn }}:4447" -# TODO(priteau): Remove this when previous_release is Xena -{% if is_previous_release | default(false) and previous_release == 'wallaby'%} -# Keep the existing image type when installing Wallaby. -kolla_install_type: "{{ 'source' if ansible_distribution == 'Ubuntu' else 'binary' }}" -{% endif %} {% if not is_previous_release | default(false) %} kolla_source_url: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['opendev.org/openstack/kolla'].src_dir }}" kolla_source_version: "{{ zuul.projects['opendev.org/openstack/kolla'].checkout }}" diff --git a/playbooks/kayobe-overcloud-upgrade-base/run.yml b/playbooks/kayobe-overcloud-upgrade-base/run.yml index 5e93071aa..9316e18a2 100644 --- a/playbooks/kayobe-overcloud-upgrade-base/run.yml +++ b/playbooks/kayobe-overcloud-upgrade-base/run.yml @@ -17,9 +17,7 @@ # be run after install. shell: cmd: dev/configure-firewall.sh - # TODO(mgoddard): Use the previous repo when the previous release - # is no longer Wallaby. - chdir: "{{ kayobe_src_dir }}" + chdir: "{{ previous_kayobe_src_dir }}" executable: /bin/bash - name: Ensure overcloud is deployed @@ -107,17 +105,6 @@ cmd: "docker image prune --all --force" become: true - # TODO(mgoddard): Remove this task when the previous release is no - # longer Wallaby. - - name: Switch ironic nodes deploy interface to direct - shell: - cmd: >- - source ~/tenks-venv/bin/activate && - source {{ kayobe_config_src_dir }}/etc/kolla/public-openrc.sh && - openstack baremetal node set tk0 --deploy-interface direct && - openstack baremetal node set tk1 --deploy-interface direct - executable: /bin/bash - # Perform a smoke test against the upgraded current release. - name: Perform testing of VMs in the upgraded overcloud diff --git a/zuul.d/jobs.yaml b/zuul.d/jobs.yaml index 3e34e9aaf..426a763f6 100644 --- a/zuul.d/jobs.yaml +++ b/zuul.d/jobs.yaml @@ -73,7 +73,7 @@ - ^zuul.d/.* vars: # Name of the release to upgrade from for upgrade jobs. - previous_release: wallaby + previous_release: xena logs_dir: "/tmp/logs" kayobe_src_dir: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['opendev.org/openstack/kayobe'].src_dir }}" kayobe_config_src_dir: "{{ ansible_env.PWD ~ '/' ~ zuul.projects['opendev.org/openstack/kayobe-config-dev'].src_dir }}"