-
Committer:
MAAS Lander
-
Author(s):
Lee Trager
-
Date:
2016-12-01 02:54:42 UTC
-
mfrom:
(5558.1.1 lp1637401_2.1)
-
Revision ID:
maas_lander-20161201025442-elw7b74wxje586r7
[r=ltrager][bug=1637401][author=ltrager] 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.