Allow computes without virtualization enabled to be unlocked
The goenabled script in mtce-compute checks if hardware
virtualization is enabled, before allowing the node to
become enabled. (hardware only)
This check is only needed if the compute is being used as an
openstack compute node, and so the check has been updated
to look for the appropriate label.
Puppet stores the labels in the hieradata file in /tmp.
That file is recreated when the host is rebooted or unlocked,
and labels cannot be changed unless a host is locked.
Change-Id: I6862a1b7824c759f0c3caea37c3ae6e4e9ab43b7
Closes-Bug: 1843616
Signed-off-by: Al Bailey <email address hidden>
Reviewed: https:/ /review. opendev. org/682122 /git.openstack. org/cgit/ starlingx/ metal/commit/ ?id=b1df966e023 4c4e3d8978ff949 d2ebea523e5ea9
Committed: https:/
Submitter: Zuul
Branch: master
commit b1df966e0234c4e 3d8978ff949d2eb ea523e5ea9
Author: Al Bailey <email address hidden>
Date: Fri Sep 13 12:27:48 2019 -0500
Allow computes without virtualization enabled to be unlocked
The goenabled script in mtce-compute checks if hardware
virtualization is enabled, before allowing the node to
become enabled. (hardware only)
This check is only needed if the compute is being used as an
openstack compute node, and so the check has been updated
to look for the appropriate label.
Puppet stores the labels in the hieradata file in /tmp.
That file is recreated when the host is rebooted or unlocked,
and labels cannot be changed unless a host is locked.
Change-Id: I6862a1b7824c75 9f0c3caea37c3ae 6e4e9ab43b7
Closes-Bug: 1843616
Signed-off-by: Al Bailey <email address hidden>