Use single task for image upload for all releases

Follow up to patch 800965.
Use operator for all releases on image upload.
Remove tripleo_overcloud_image_upload_local to avoid
train failure.

Change-Id: I76dd4bd6df16b51a8fdcd0778d1f3ae496088f83
This commit is contained in:
Ronelle Landy 2021-07-18 15:22:58 -04:00
parent d91c7f6ee4
commit 666b9292f1

View File

@ -10,18 +10,7 @@
- name: Upload Overcloud Images
when: step_overcloud_image|bool
block:
- name: Run overcloud image upload - legacy
when:
- release in ['queens', 'stein', 'train']
shell: >
set -o pipefail &&
{{ working_dir }}/overcloud-image-upload.sh 2>&1 {{ timestamper_cmd }} >
{{ overcloud_image_upload_log }}
changed_when: true
- name: Run overcloud image upload via tripleo-operator-ansible
when:
- release not in ['queens', 'stein', 'train']
collections:
- tripleo.operator
include_role:
@ -32,7 +21,6 @@
tripleo_overcloud_image_upload_generate_scripts: true
tripleo_overcloud_image_upload_http_boot: "{{ containerized_undercloud | default(false) | ternary('/var/lib/ironic/httpboot', None) }}"
tripleo_overcloud_image_upload_whole_disk: "{{ whole_disk_images|default(false) }}"
tripleo_overcloud_image_upload_local: "{{ undercloud_enable_nova|default(false) }}"
tripleo_overcloud_image_upload_log: "{{ overcloud_image_upload_log }}"
tripleo_overcloud_image_upload_log_combine: true