Ignore endpoint not found errors
When deleting overcloud ignore endpoint not found error which looks like ``endpoint for object-store service in <regionOne> region not found``, so as not to fail when swift is disabled in the undercloud. Change-Id: I0f553f8e7f622b983b6707674c958e211bb83829
This commit is contained in:
parent
bdff2f28ab
commit
abda8556f9
|
@ -48,9 +48,9 @@
|
|||
openstack --os-cloud undercloud container delete "{{ item }}" --recursive
|
||||
failed_when:
|
||||
- container_objects.rc != 0
|
||||
- "'Not Found' not in container_objects.stderr"
|
||||
- "'not found' not in container_objects.stderr | lower"
|
||||
changed_when:
|
||||
- "'Not Found' not in container_objects.stderr"
|
||||
- "'not found' not in container_objects.stderr | lower"
|
||||
register: container_objects
|
||||
loop:
|
||||
- "{{ stack_name }}"
|
||||
|
|
Loading…
Reference in New Issue