Revision 9dd6889b lib/cmdlib.py
b/lib/cmdlib.py | ||
---|---|---|
1433 | 1433 |
self.bad = self.bad or cond |
1434 | 1434 |
|
1435 | 1435 |
def _VerifyNode(self, ninfo, nresult): |
1436 |
"""Run multiple tests against a node.
|
|
1436 |
"""Perform some basic validation on data returned from a node.
|
|
1437 | 1437 |
|
1438 |
Test list: |
|
1439 |
|
|
1440 |
- compares ganeti version |
|
1441 |
- checks vg existence and size > 20G |
|
1442 |
- checks config file checksum |
|
1443 |
- checks ssh to other nodes |
|
1438 |
- check the result data structure is well formed and has all the mandatory |
|
1439 |
fields |
|
1440 |
- check ganeti version |
|
1444 | 1441 |
|
1445 | 1442 |
@type ninfo: L{objects.Node} |
1446 | 1443 |
@param ninfo: the node to check |
Also available in: Unified diff