def do_provision(self):
# check if host is alive
if not self.is_alive():
- msg = "Deploy failed. Unresponsive node {}".format(self.get("hostname"))
+ trace = traceback.format_exc()
+ msg = "Deploy failed. Unresponsive node {} -- traceback {}".format(self.get("hostname"), trace)
self.error(msg)
raise RuntimeError, msg
import pickle
pids = pickle.load(open("/tmp/save.proc", "rb"))
pids_temp = dict()
- ps_aux = "ps aux |awk '{print $2,$11}'"
+ ps_aux = "ps aux | awk '{print $2,$11}'"
(out, err), proc = self.execute(ps_aux)
if len(out) != 0:
for line in out.strip().split("\n"):