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
changes/85/774185/1
ramishra 2 years ago
parent bdff2f28ab
commit abda8556f9
  1. 4
      tripleo_ansible/playbooks/cli-overcloud-delete.yaml

@ -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…
Cancel
Save