diff --git a/ansible/roles/dell-switch/tasks/main.yml b/ansible/roles/dell-switch/tasks/main.yml index 07fd3d923..39aead5e3 100644 --- a/ansible/roles/dell-switch/tasks/main.yml +++ b/ansible/roles/dell-switch/tasks/main.yml @@ -3,14 +3,14 @@ local_action: module: dellos6_config provider: "{{ dell_switch_provider }}" - src: dellos6-config.j2 + src: "{{ lookup('template', 'dellos6-config.j2') }}" when: dell_switch_type == 'dellos6' - name: Ensure DellOS9 switches are configured local_action: module: dellos9_config provider: "{{ dell_switch_provider }}" - src: dellos9-config.j2 + src: "{{ lookup('template', 'dellos9-config.j2') }}" when: dell_switch_type == 'dellos9' - name: Ensure DellOS10 switches are configured diff --git a/ansible/roles/docker-registry/tasks/destroy.yml b/ansible/roles/docker-registry/tasks/destroy.yml index 1d3992ab3..7cd02af9b 100644 --- a/ansible/roles/docker-registry/tasks/destroy.yml +++ b/ansible/roles/docker-registry/tasks/destroy.yml @@ -14,7 +14,7 @@ when: "'/' not in volume" failed_when: - volume_result.rc != 0 - - "'No such volume' not in volume_result.stderr" + - "'no such volume' not in volume_result.stderr | lower" vars: volume: "{{ item.1.split(':')[0] }}" register: volume_result diff --git a/ansible/roles/inspection-store/tasks/destroy.yml b/ansible/roles/inspection-store/tasks/destroy.yml index 8bcd7a5d9..c0d5ade04 100644 --- a/ansible/roles/inspection-store/tasks/destroy.yml +++ b/ansible/roles/inspection-store/tasks/destroy.yml @@ -14,7 +14,7 @@ when: "'/' not in volume" failed_when: - volume_result.rc != 0 - - "'No such volume' not in volume_result.stderr" + - "'no such volume' not in volume_result.stderr | lower" vars: volume: "{{ item.1.split(':')[0] }}" register: volume_result diff --git a/ansible/roles/opensm/tasks/destroy.yml b/ansible/roles/opensm/tasks/destroy.yml index 9302a6186..c627d0663 100644 --- a/ansible/roles/opensm/tasks/destroy.yml +++ b/ansible/roles/opensm/tasks/destroy.yml @@ -14,7 +14,7 @@ when: "'/' not in volume" failed_when: - volume_result.rc != 0 - - "'No such volume' not in volume_result.stderr" + - "'no such volume' not in volume_result.stderr | lower" vars: volume: "{{ item.1.split(':')[0] }}" register: volume_result diff --git a/releasenotes/notes/bug-2061102-cbc4c65c14c09d55.yaml b/releasenotes/notes/bug-2061102-cbc4c65c14c09d55.yaml new file mode 100644 index 000000000..e14931bac --- /dev/null +++ b/releasenotes/notes/bug-2061102-cbc4c65c14c09d55.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes an issue where Dell OS6 and Dell OS9 switch configuration was not + applied correctly. `LP#2061102 + `__. diff --git a/releasenotes/notes/fix-issue-overcloud-service-destroy-volume-cleanup-4b54d81cde9831c7.yaml b/releasenotes/notes/fix-issue-overcloud-service-destroy-volume-cleanup-4b54d81cde9831c7.yaml new file mode 100644 index 000000000..c24718478 --- /dev/null +++ b/releasenotes/notes/fix-issue-overcloud-service-destroy-volume-cleanup-4b54d81cde9831c7.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes an issue with overcloud service destroy where it failed to remove the + inspection store docker volume. See `LP#2050092 + `__.