~andreserl/maas/lp1582323

Viewing all changes in revision 5579.

  • Committer: MAAS Lander
  • Author(s): Lee Trager
  • Date: 2016-11-30 19:51:48 UTC
  • mfrom: (5573.2.3 lp1637401)
  • Revision ID: maas_lander-20161130195148-jveiy5nwyxsw1xzc
[r=blake-rouse][bug=1637401][author=ltrager] 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.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: