mirror of
https://github.com/xcat2/confluent.git
synced 2024-12-25 12:41:39 +00:00
Only mod noderange if bad nodes detected
This was triggering a defect in noderange. The defect should be fixed, but in the meantime, avoid tripping over it and looking weird anyway.
This commit is contained in:
parent
a922de2ed6
commit
2795dfe7b9
@ -66,6 +66,7 @@ rc = session.simple_noderange_command(noderange, '/boot/nextdevice', bootdev,
|
||||
bootmode=bootmode,
|
||||
persistent=options.persist,
|
||||
errnodes=errnodes)
|
||||
noderange = noderange + ',-(' + ','.join(errnodes) + ')'
|
||||
if errnodes:
|
||||
noderange = noderange + ',-(' + ','.join(errnodes) + ')'
|
||||
rc |= session.simple_noderange_command(noderange, '/power/state', 'boot')
|
||||
sys.exit(rc)
|
||||
|
Loading…
Reference in New Issue
Block a user