Revision 93f2399e lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
1496 | 1496 |
groups = self.cfg.GetNodeGroupList() |
1497 | 1497 |
|
1498 | 1498 |
# Verify global configuration |
1499 |
jobs.append([opcodes.OpClusterVerifyConfig()]) |
|
1499 |
jobs.append([ |
|
1500 |
opcodes.OpClusterVerifyConfig(ignore_errors=self.op.ignore_errors) |
|
1501 |
]) |
|
1500 | 1502 |
|
1501 | 1503 |
# Always depend on global verification |
1502 | 1504 |
depends_fn = lambda: [(-len(jobs), [])] |
1503 | 1505 |
|
1504 | 1506 |
jobs.extend([opcodes.OpClusterVerifyGroup(group_name=group, |
1505 |
depends=depends_fn())] |
|
1507 |
ignore_errors=self.op.ignore_errors, |
|
1508 |
depends=depends_fn())] |
|
1506 | 1509 |
for group in groups) |
1507 | 1510 |
|
1508 | 1511 |
# Fix up all parameters |
Also available in: Unified diff