Dan Kenigsberg has posted comments on this change.
Change subject: vdsm-tool: vdsm-id: add force option to force generate id
......................................................................
Patch Set 1:
(1 comment)
....................................................
File lib/vdsm/utils.py
Line 886: logging.error("Panic: %s", msg, exc_info=True)
Line 887: os.killpg(0, 9)
Line 888: sys.exit(-3)
Line 889:
Line 890:
this function is not expensive, but still, please use @memoize.
Line 891: def isOvirtNode():
Line 892: return (
Line 893: os.path.exists('/etc/rhev-hypervisor-release') or
Line 894: glob.glob('/etc/ovirt-node-*-release')
--
To view, visit
http://gerrit.ovirt.org/20808
To unsubscribe, visit
http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I89f1e29c9cdad0cadb32545fa27c1702ad2e116a
Gerrit-PatchSet: 1
Gerrit-Project: vdsm
Gerrit-Branch: master
Gerrit-Owner: Alon Bar-Lev <alonbl(a)redhat.com>
Gerrit-Reviewer: Dan Kenigsberg <danken(a)redhat.com>
Gerrit-Reviewer: Yaniv Bronhaim <ybronhei(a)redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes