Sandro Bonazzola has uploaded a new change for review. Change subject: packaging: setup: fix references to RequestError ......................................................................
packaging: setup: fix references to RequestError Change-Id: I510d139432a36f95fac97d04d49200d2db769e17 Bug-Url: https://bugzilla.redhat.com/1097188 Signed-off-by: Sandro Bonazzola <[email protected]> --- M packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/all-in-one/vdsm.py 1 file changed, 3 insertions(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/29/27629/1 diff --git a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/all-in-one/vdsm.py b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/all-in-one/vdsm.py index df614fc..ffe26c6 100644 --- a/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/all-in-one/vdsm.py +++ b/packaging/setup/plugins/ovirt-engine-setup/ovirt-engine/all-in-one/vdsm.py @@ -124,7 +124,7 @@ insecure=True, ) isUp = True - except self._ovirtsdk_api.RequestError: + except self._ovirtsdk_errors.RequestError: self.logger.debug( 'Cannot connect to engine', exc_info=True, @@ -160,8 +160,10 @@ def _validation(self): import ovirtsdk.api import ovirtsdk.xml + import ovirtsdk.infrastructure.errors self._ovirtsdk_api = ovirtsdk.api self._ovirtsdk_xml = ovirtsdk.xml + self._ovirtsdk_errors = ovirtsdk.infrastructure.errors @plugin.event( stage=plugin.Stages.STAGE_MISC, -- To view, visit http://gerrit.ovirt.org/27629 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I510d139432a36f95fac97d04d49200d2db769e17 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sandro Bonazzola <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
