Disable inspection power-off
This will enable inspection scenarios to operate the fast track behavior. Change-Id: I4596bfb1d2c6fab47e501dc1a5f013877a3c3b87
This commit is contained in:
parent
033545258e
commit
e522ab0fe7
@ -164,6 +164,13 @@ fast_track: Boolean setting to enable ironic to leverage an already running
|
||||
agent on the host being deployed such that deployment can begin
|
||||
immediately as opposed to waiting for a complete system reboot.
|
||||
|
||||
power_off_after_inspection: Boolean setting governing the behavior
|
||||
of ironic-inspector's processing.
|
||||
The default is to not power-off machines
|
||||
effectively enabling the Inspection to
|
||||
Deployment without the need to reboot
|
||||
the physical machine.
|
||||
|
||||
### Hardware Inspection Support
|
||||
|
||||
Bifrost also supports the installation of ironic-inspector in standalone
|
||||
|
@ -213,6 +213,11 @@ inspector:
|
||||
enabled: "{{ enable_inspector_discovery | default(true) }}"
|
||||
default_node_driver: "{{ inspector_default_node_driver | default('ipmi')}}"
|
||||
|
||||
# If baremetal nodes should be turned off after inspection.
|
||||
# The inspector default is to turn off the baremetal node
|
||||
# power, this setting to false enables use of fast track mode.
|
||||
power_off_after_inspection: false
|
||||
|
||||
# We may not have packaged iPXE files on some distros, or may want to
|
||||
# download them on their own.
|
||||
download_ipxe: false
|
||||
|
@ -71,6 +71,7 @@ store_data = database
|
||||
{% endif %}
|
||||
{% if inspector.discovery.enabled == true %}
|
||||
node_not_found_hook = enroll
|
||||
power_off = {{ power_off_after_inspection }}
|
||||
|
||||
[discovery]
|
||||
enroll_node_driver = {{ inspector.discovery.default_node_driver }}
|
||||
|
@ -85,6 +85,7 @@ use_web_server_for_images = true
|
||||
|
||||
{% if enable_inspector | bool == true %}
|
||||
[inspector]
|
||||
power_off = {{ power_off_after_inspection }}
|
||||
extra_kernel_params = {{ inspector_extra_kernel_options | default('') }}
|
||||
{% if enable_keystone is defined and enable_keystone | bool == true %}
|
||||
auth_type = password
|
||||
|
@ -0,0 +1,12 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
The default operating mode of bifrost now no longer powers off nodes
|
||||
once they have been inspected. This leaves the ironic-python-agent
|
||||
running and ultimately allows moving into deployment skipping a full
|
||||
boot sequence when following the typical use path.
|
||||
|
||||
This setting may be disabled and the previous behavior reverted by
|
||||
changing the ``power_off_after_inspection`` setting to ``true``.
|
||||
This setting maps to ironic-inspector.conf's ``[processing]power_off``
|
||||
and ironic.conf's ``[inspector]power_off`` settings.
|
Loading…
Reference in New Issue
Block a user