Skip to content
Snippets Groups Projects
Commit 27ece262 authored by Will Szumski's avatar Will Szumski Committed by Pierre Riteau
Browse files

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
parent 617eed47
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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
......
......@@ -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
......
---
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>`__.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment