Revision e0508c86
b/lib/client/gnt_cluster.py | ||
---|---|---|
478 | 478 |
verbose=opts.verbose, |
479 | 479 |
error_codes=opts.error_codes, |
480 | 480 |
debug_simulate_errors=simulate) |
481 |
jex.QueueJob('group ' + group, op)
|
|
481 |
jex.QueueJob("group " + group, op)
|
|
482 | 482 |
|
483 | 483 |
results = jex.GetResults() |
484 | 484 |
success &= compat.all(r[1][0] for r in results) |
485 | 485 |
|
486 |
return (not success and 1 or 0) |
|
486 |
if success: |
|
487 |
return constants.EXIT_SUCCESS |
|
488 |
else: |
|
489 |
return constants.EXIT_FAILURE |
|
487 | 490 |
|
488 | 491 |
|
489 | 492 |
def VerifyDisks(opts, args): |
b/lib/cmdlib.py | ||
---|---|---|
1406 | 1406 |
"""Verifies the cluster config. |
1407 | 1407 |
|
1408 | 1408 |
""" |
1409 |
|
|
1410 | 1409 |
REQ_BGL = False |
1411 | 1410 |
|
1412 | 1411 |
def _VerifyHVP(self, hvp_data): |
... | ... | |
1492 | 1491 |
"""Verifies the status of a node group. |
1493 | 1492 |
|
1494 | 1493 |
""" |
1495 |
|
|
1496 | 1494 |
HPATH = "cluster-verify" |
1497 | 1495 |
HTYPE = constants.HTYPE_CLUSTER |
1498 | 1496 |
REQ_BGL = False |
Also available in: Unified diff