-
Committer:
Lee Trager
-
Date:
2016-11-30 23:18:58 UTC
-
Revision ID:
lee.trager@canonical.com-20161130231858-349dutg319rlj694
Backport r5579 from trunk: During probe and enlist of virsh only power off and commission new nodes.
Previously probe_virsh_and_enlist would power off each node before requesting a new node row was created. If the machine already exists or there was some issue creating the new node row the node was still powered off. This meant reprobing a virsh host would power off all known nodes. Power off now only happens if a new row was successfully created, existing nodes are ignored and left untouched.