Dan Kenigsberg has posted comments on this change. Change subject: ppc: Over ppc arch vdsm reports UNKNOW as operationSystem in getVdsCaps ......................................................................
Patch Set 1: (1 comment) http://gerrit.ovirt.org/#/c/32444/1/vdsm/caps.py File vdsm/caps.py: Line 512: release = d.get('RELEASE', '') Line 513: elif osname == OSName.DEBIAN: Line 514: version = linecache.getline('/etc/debian_version', 1).strip("\n") Line 515: release = "" # Debian just has a version entry Line 516: else: > perhaps replace the whole thing with platform.linux_distribution() ? platform.linux_distribution() does not include the "release" part. In case someone cares for it, they'll see a regression. Line 517: if platform.machine() == Architecture.PPC64: Line 518: release_path = '/etc/ibm_powerkvm-release' Line 519: else: Line 520: release_path = '/etc/redhat-release' -- To view, visit http://gerrit.ovirt.org/32444 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I5e6ef83353b4b47a22d91d222ef1a0122b9470d3 Gerrit-PatchSet: 1 Gerrit-Project: vdsm Gerrit-Branch: master Gerrit-Owner: Yaniv Bronhaim <[email protected]> Gerrit-Reviewer: Dan Kenigsberg <[email protected]> Gerrit-Reviewer: Michal Skrivanek <[email protected]> Gerrit-Reviewer: Michal Skrivanek <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ vdsm-patches mailing list [email protected] https://lists.fedorahosted.org/mailman/listinfo/vdsm-patches
