diff options
author | George Kraft <george.kraft@calxeda.com> | 2013-12-10 11:17:44 -0600 |
---|---|---|
committer | George Kraft <george.kraft@calxeda.com> | 2013-12-10 11:17:44 -0600 |
commit | 7273e8cd03425cd53d5cbf7d71d1cc0f51fdfaf5 (patch) | |
tree | 8fb039b7579f9d758e92e948465fb81c658ad9c7 | |
parent | 765e1ff993179b7727526713e1d6745635b0ad91 (diff) | |
download | cxmanage-7273e8cd03425cd53d5cbf7d71d1cc0f51fdfaf5.tar.gz |
CXMAN-268: Do a simple IPMI command in fabric.refresh(wait=True)
Make sure the nodes are responsive.
-rw-r--r-- | cxmanage_api/fabric.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cxmanage_api/fabric.py b/cxmanage_api/fabric.py index e86170d..4efe93a 100644 --- a/cxmanage_api/fabric.py +++ b/cxmanage_api/fabric.py @@ -242,6 +242,8 @@ class Fabric(object): try: self._nodes = get_nodes() if len(self._nodes) >= initial_node_count: + # make sure the nodes respond to an IPMI command + self._run_on_all_nodes(False, "get_power") break except (IpmiError, TftpException, ParseError): pass |