Fix issue removing docker volumes
The error response from the docker daemon has changed to: Error response from daemon: get opensm_logs: no such volume This change should support both old and new responses. Change-Id: Ibef1713d7de2e0a2c6fe046f607b2a8e60dae3da Closes-Bug: #2050092
This commit is contained in:
parent
617eed4741
commit
27ece2622b
@ -14,7 +14,7 @@
|
|||||||
when: "'/' not in volume"
|
when: "'/' not in volume"
|
||||||
failed_when:
|
failed_when:
|
||||||
- volume_result.rc != 0
|
- volume_result.rc != 0
|
||||||
- "'No such volume' not in volume_result.stderr"
|
- "'no such volume' not in volume_result.stderr | lower"
|
||||||
vars:
|
vars:
|
||||||
volume: "{{ item.1.split(':')[0] }}"
|
volume: "{{ item.1.split(':')[0] }}"
|
||||||
register: volume_result
|
register: volume_result
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
when: "'/' not in volume"
|
when: "'/' not in volume"
|
||||||
failed_when:
|
failed_when:
|
||||||
- volume_result.rc != 0
|
- volume_result.rc != 0
|
||||||
- "'No such volume' not in volume_result.stderr"
|
- "'no such volume' not in volume_result.stderr | lower"
|
||||||
vars:
|
vars:
|
||||||
volume: "{{ item.1.split(':')[0] }}"
|
volume: "{{ item.1.split(':')[0] }}"
|
||||||
register: volume_result
|
register: volume_result
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
when: "'/' not in volume"
|
when: "'/' not in volume"
|
||||||
failed_when:
|
failed_when:
|
||||||
- volume_result.rc != 0
|
- volume_result.rc != 0
|
||||||
- "'No such volume' not in volume_result.stderr"
|
- "'no such volume' not in volume_result.stderr | lower"
|
||||||
vars:
|
vars:
|
||||||
volume: "{{ item.1.split(':')[0] }}"
|
volume: "{{ item.1.split(':')[0] }}"
|
||||||
register: volume_result
|
register: volume_result
|
||||||
|
@ -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
|
||||||
|
<https://bugs.launchpad.net/kayobe/+bug/2050092>`__.
|
Loading…
Reference in New Issue
Block a user