Sandro Bonazzola has uploaded a new change for review.

Change subject: storage: fix connectStoragePool call
......................................................................

storage: fix connectStoragePool call

latest VDSM API requires Host ID to be an int.

Change-Id: I89f635fd84c93a42a727d175b4b9db962b74ff3c
Signed-off-by: Sandro Bonazzola <[email protected]>
---
M src/plugins/ovirt-hosted-engine-setup/storage/storage.py
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-hosted-engine-setup 
refs/changes/38/40038/1

diff --git a/src/plugins/ovirt-hosted-engine-setup/storage/storage.py 
b/src/plugins/ovirt-hosted-engine-setup/storage/storage.py
index d7b036d..83e1087 100644
--- a/src/plugins/ovirt-hosted-engine-setup/storage/storage.py
+++ b/src/plugins/ovirt-hosted-engine-setup/storage/storage.py
@@ -618,7 +618,7 @@
     def _storagePoolConnection(self, disconnect=False):
         spUUID = self.environment[ohostedcons.StorageEnv.SP_UUID]
         sdUUID = self.environment[ohostedcons.StorageEnv.SD_UUID]
-        ID = self.environment[ohostedcons.StorageEnv.HOST_ID]
+        ID = int(self.environment[ohostedcons.StorageEnv.HOST_ID])
         scsi_key = spUUID
         master = sdUUID
         master_ver = 1


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I89f635fd84c93a42a727d175b4b9db962b74ff3c
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-hosted-engine-setup
Gerrit-Branch: master
Gerrit-Owner: Sandro Bonazzola <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to