Martin Polednik has uploaded a new change for review. Change subject: caps: get host uuid on ppc64le ......................................................................
caps: get host uuid on ppc64le On Power, the uuid is determined by parsing the device tree. The code for parsing lacks ppc64le architecture that needs to be added in order not to return None as UUID (breaking getVdsCaps). Change-Id: I411a635fcf724e255a8f000bdd491874c331c4a4 Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1201513 Signed-off-by: Martin Polednik <[email protected]> --- M lib/vdsm/utils.py 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://gerrit.ovirt.org:29418/vdsm refs/changes/00/46900/1 diff --git a/lib/vdsm/utils.py b/lib/vdsm/utils.py index 796ae0b..e435e10 100644 --- a/lib/vdsm/utils.py +++ b/lib/vdsm/utils.py @@ -825,7 +825,7 @@ __hostUUID = out.strip() else: logging.warning('Could not find host UUID.') - elif arch in ('ppc', 'ppc64'): + elif arch in ('ppc', 'ppc64', 'ppc64le'): # eg. output IBM,03061C14A try: with open('/proc/device-tree/system-id') as f: -- To view, visit https://gerrit.ovirt.org/46900 To unsubscribe, visit https://gerrit.ovirt.org/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I411a635fcf724e255a8f000bdd491874c331c4a4 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: ovirt-3.6 Gerrit-Owner: Martin Polednik <[email protected]> _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
