Jiří Moskovčák has uploaded a new change for review. Change subject: don't use vdsm backend when there is not valid vol or imgUUID ......................................................................
don't use vdsm backend when there is not valid vol or imgUUID Change-Id: Idcd181d260f4f20676a4124b899575b42935753c Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1171452 Signed-off-by: Jiri Moskovcak <jmosk...@redhat.com> --- M ovirt_hosted_engine_ha/agent/hosted_engine.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-ha refs/changes/51/36051/1 diff --git a/ovirt_hosted_engine_ha/agent/hosted_engine.py b/ovirt_hosted_engine_ha/agent/hosted_engine.py index b0b9a58..8037136 100644 --- a/ovirt_hosted_engine_ha/agent/hosted_engine.py +++ b/ovirt_hosted_engine_ha/agent/hosted_engine.py @@ -423,7 +423,7 @@ ).dump() } # check if we have all the needed config params needed for vdsm api - if [v for k, v in storage_params.items() if v is '']: + if [v for k, v in storage_params.items() if v in ('', None, 'None')]: storage_params = { 'sd_uuid': sd_uuid, 'dom_type': dom_type -- To view, visit http://gerrit.ovirt.org/36051 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Idcd181d260f4f20676a4124b899575b42935753c Gerrit-PatchSet: 1 Gerrit-Project: ovirt-hosted-engine-ha Gerrit-Branch: master Gerrit-Owner: Jiří Moskovčák <jmosk...@redhat.com> _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches