Fix stop on cleanup error
Add an error treatment to the clear_resources function and fix the
returned object status when checking if the resource is deleted
Change-Id: Idd896a39f7be7a4dcde9fac3cdb0bd26cc814af3
Closes-Bug: #2006792
diff --git a/releasenotes/notes/bug-2006792-fix-stop-cleanup-error-2a314862576f655b.yaml b/releasenotes/notes/bug-2006792-fix-stop-cleanup-error-2a314862576f655b.yaml
new file mode 100644
index 0000000..aaa3105
--- /dev/null
+++ b/releasenotes/notes/bug-2006792-fix-stop-cleanup-error-2a314862576f655b.yaml
@@ -0,0 +1,6 @@
+---
+fixes:
+ - |
+ Fixed bug #2006792. Now the clear resources function has an error
+ treatment to avoid time out exceptions. Also fix the returned
+ object in the _is_resource_deleted function