Yaniv Bronhaim has posted comments on this change.
Change subject: vdsm-tool: vdsm-id: add force option to force generate id ......................................................................
Patch Set 6:
(1 comment)
.................................................... File lib/vdsm/utils.py Line 624: Line 625: if p.returncode == 0 and 'Not' not in out: Line 626: #Avoid error string - 'Not Settable' or 'Not Present' Line 627: __hostUUID = out.strip() Line 628: elif force: why do you need the force option unless dmidecode doesn't work properly ? Line 629: hostid = str(uuid.uuid4()) Line 630: with open(constants.P_VDSM_NODE_ID, 'w') as f: Line 631: f.write("%s\n", hostid) Line 632: ovirtNodePersist([constants.P_VDSM_NODE_ID])