Sandro Bonazzola has uploaded a new change for review. Change subject: packaging: setup: raising an exception on SDK failure ......................................................................
packaging: setup: raising an exception on SDK failure Raising an exception to interrupt the normal flow on SDK failures. Change-Id: I4d7cf8c1505ae4da5e719049bc11499c04b3c086 Bug-Url: https://bugzilla.redhat.com/1109929 Signed-off-by: Simone Tiraboschi <[email protected]> (cherry picked from commit 6ee1fe82fabef649e1b340fa6cb7f05f83841b78) --- M src/plugins/ovirt-hosted-engine-setup/engine/add_host.py 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-setup refs/changes/63/29963/1 diff --git a/src/plugins/ovirt-hosted-engine-setup/engine/add_host.py b/src/plugins/ovirt-hosted-engine-setup/engine/add_host.py index 9e3daed..62a1786 100644 --- a/src/plugins/ovirt-hosted-engine-setup/engine/add_host.py +++ b/src/plugins/ovirt-hosted-engine-setup/engine/add_host.py @@ -488,6 +488,13 @@ details=e.detail ) ) + raise RuntimeError( + _( + 'Cannot add the host to cluster {cluster}' + ).format( + cluster=cluster_name, + ) + ) up = self._wait_host_ready( engine_api, self.environment[ohostedcons.EngineEnv.APP_HOST_NAME] -- To view, visit http://gerrit.ovirt.org/29963 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I4d7cf8c1505ae4da5e719049bc11499c04b3c086 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-hosted-engine-setup Gerrit-Branch: ovirt-hosted-engine-setup-1.2 Gerrit-Owner: Sandro Bonazzola <[email protected]> Gerrit-Reviewer: Simone Tiraboschi <[email protected]> _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
