Browse Source

Merge "Octavia: handle empty amphora image search result"

changes/17/724817/15
Zuul 2 years ago committed by Gerrit Code Review
parent
commit
19172a2169
  1. 3
      tripleo_ansible/roles/octavia_undercloud/tasks/image_mgmt.yml

3
tripleo_ansible/roles/octavia_undercloud/tasks/image_mgmt.yml

@ -44,7 +44,9 @@
set_fact:
image_id: "{{ glance_id_result.stdout }}"
when:
- glance_id_result.rc is defined
- glance_id_result.rc == 0
- glance_id_result.stdout != ""
- name: get checksum if there's an image in glance already
shell: |
@ -62,6 +64,7 @@
set_fact:
current_md5: "{{ glance_results.stdout }}"
when:
- glance_results.rc is defined
- glance_results.rc == 0
- name: determine if the image needs to be replaced

Loading…
Cancel
Save