Added kolla_inspector_extra_kernel_options
This allows you to append additional kernel parameters to the kernel used for inspection. Change-Id: Ibc851145a3ffdaaad526ef999c8f024bd222dd5b
This commit is contained in:
parent
e71df7dbae
commit
4297cc34e2
@ -157,6 +157,7 @@ ironic_cleaning_network:
|
|||||||
ironic_console_serial_speed: "115200n8"
|
ironic_console_serial_speed: "115200n8"
|
||||||
ironic_ipxe_url: http://{{ api_interface_address }}:{{ ironic_ipxe_port }}
|
ironic_ipxe_url: http://{{ api_interface_address }}:{{ ironic_ipxe_port }}
|
||||||
ironic_enable_rolling_upgrade: "yes"
|
ironic_enable_rolling_upgrade: "yes"
|
||||||
|
ironic_inspector_kernel_cmdline_extras: []
|
||||||
|
|
||||||
####################
|
####################
|
||||||
## Kolla
|
## Kolla
|
||||||
|
@ -5,6 +5,6 @@ dhcp || goto retry_dhcp
|
|||||||
|
|
||||||
:retry_boot
|
:retry_boot
|
||||||
imgfree
|
imgfree
|
||||||
kernel --timeout 30000 {{ ironic_ipxe_url }}/ironic-agent.kernel ipa-inspection-callback-url=http://{{ kolla_internal_vip_address }}:{{ ironic_inspector_port }}/v1/continue systemd.journald.forward_to_console=yes BOOTIF=${mac} initrd=agent.ramdisk || goto retry_boot
|
kernel --timeout 30000 {{ ironic_ipxe_url }}/ironic-agent.kernel ipa-inspection-callback-url=http://{{ kolla_internal_vip_address }}:{{ ironic_inspector_port }}/v1/continue systemd.journald.forward_to_console=yes BOOTIF=${mac} initrd=agent.ramdisk {{ ironic_inspector_kernel_cmdline_extras | join(' ') }} || goto retry_boot
|
||||||
initrd --timeout 30000 {{ ironic_ipxe_url }}/ironic-agent.initramfs || goto retry_boot
|
initrd --timeout 30000 {{ ironic_ipxe_url }}/ironic-agent.initramfs || goto retry_boot
|
||||||
boot
|
boot
|
||||||
|
@ -2,6 +2,6 @@ default introspect
|
|||||||
|
|
||||||
label introspect
|
label introspect
|
||||||
kernel ironic-agent.kernel
|
kernel ironic-agent.kernel
|
||||||
append initrd=ironic-agent.initramfs ipa-inspection-callback-url=http://{{ kolla_internal_vip_address }}:{{ ironic_inspector_port }}/v1/continue systemd.journald.forward_to_console=yes
|
append initrd=ironic-agent.initramfs ipa-inspection-callback-url=http://{{ kolla_internal_vip_address }}:{{ ironic_inspector_port }}/v1/continue systemd.journald.forward_to_console=yes {{ ironic_inspector_kernel_cmdline_extras | join(' ') }}
|
||||||
|
|
||||||
ipappend 3
|
ipappend 3
|
||||||
|
@ -66,6 +66,16 @@ be used:
|
|||||||
|
|
||||||
.. end
|
.. end
|
||||||
|
|
||||||
|
You may optionally pass extra kernel parameters to the inspection kernel using:
|
||||||
|
|
||||||
|
.. code-block:: yaml
|
||||||
|
|
||||||
|
ironic_inspector_kernel_cmdline_extras: ['ipa-lldp-timeout=90.0', 'ipa-collect-lldp=1']
|
||||||
|
|
||||||
|
.. end
|
||||||
|
|
||||||
|
in ``/etc/kolla/globals.yml``.
|
||||||
|
|
||||||
Enable iPXE booting (optional)
|
Enable iPXE booting (optional)
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
|
@ -431,6 +431,9 @@ ironic_dnsmasq_dhcp_range:
|
|||||||
# Rolling upgrade were enable by default
|
# Rolling upgrade were enable by default
|
||||||
#ironic_enable_rolling_upgrade: "yes"
|
#ironic_enable_rolling_upgrade: "yes"
|
||||||
|
|
||||||
|
# List of extra kernel parameters passed to the kernel used during inspection
|
||||||
|
#ironic_inspector_kernel_cmdline_extras: []
|
||||||
|
|
||||||
######################################
|
######################################
|
||||||
# Manila - Shared File Systems Options
|
# Manila - Shared File Systems Options
|
||||||
######################################
|
######################################
|
||||||
|
@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
features:
|
||||||
|
- |
|
||||||
|
Added the ``ironic_inspector_kernel_cmdline_extras`` option to append
|
||||||
|
additional kernel parameters to the kernel used for inspection.
|
Loading…
Reference in New Issue
Block a user