Yedidyah Bar David has uploaded a new change for review.

Change subject: packaging: setup: do not fail cleanup if engine db inaccessible
......................................................................

packaging: setup: do not fail cleanup if engine db inaccessible

Not sure about the exact flow I had - perhaps:

engine-setup (engine+dwh)
backup
engine-cleanup
restore of files only (or with db failed)
engine-cleanup

Change-Id: I67ef6a2cc64c2bac81e59a92c58a03b68fca943e
Signed-off-by: Yedidyah Bar David <[email protected]>
---
M packaging/setup/plugins/ovirt-engine-remove/ovirt-engine-dwh/db/single_etl.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-dwh refs/changes/44/41044/1

diff --git 
a/packaging/setup/plugins/ovirt-engine-remove/ovirt-engine-dwh/db/single_etl.py 
b/packaging/setup/plugins/ovirt-engine-remove/ovirt-engine-dwh/db/single_etl.py
index c19f4df..53edc0a 100644
--- 
a/packaging/setup/plugins/ovirt-engine-remove/ovirt-engine-dwh/db/single_etl.py
+++ 
b/packaging/setup/plugins/ovirt-engine-remove/ovirt-engine-dwh/db/single_etl.py
@@ -83,7 +83,7 @@
                     name=engine_db_timekeeping.DB_KEY_UUID,
                     value=''
                 )
-        except RuntimeError as e:
+        except Exception as e:
             self.logger.debug('exception', exc_info=True)
             self.logger.warning(
                 _(


-- 
To view, visit https://gerrit.ovirt.org/41044
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I67ef6a2cc64c2bac81e59a92c58a03b68fca943e
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-dwh
Gerrit-Branch: master
Gerrit-Owner: Yedidyah Bar David <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to