Add coreos.configdrive=0 as a default setting

Due to a race condition in CoreOS, any pre-existing configuration
drive that is present on a system is being attached to the node.

The only documented way to prevent CoreOS from attaching a
pre-existing configuration drive is to pass the kernel parameter.

This combined with an update that has been made to IPA, closes #2.

Additional details can be found at
https://bugs.launchpad.net/ironic/+bug/1433812
This commit is contained in:
Julia Kreger 2015-03-19 17:34:48 -04:00
parent 13cbd10482
commit ec10cee617

View File

@ -470,8 +470,16 @@ debug=true
# Additional append parameters for baremetal PXE boot. (string # Additional append parameters for baremetal PXE boot. (string
# value) # value)
#agent_pxe_append_params=nofb nomodeset vga=normal #agent_pxe_append_params=nofb nomodeset vga=normal
# The coreos.configdrive=0 parameter is a temporary fix to block
# pre-existing configuration drives from being loaded. Per JayF
# CoreOS is working on a longer term fix, but this will mitigate
# the issue for the time being.
{% if testing %} {% if testing %}
agent_pxe_append_params=nofb nomodeset vga=normal console=ttyS0 systemd.journald.forward_to_console=yes agent_pxe_append_params=nofb nomodeset vga=normal console=ttyS0 systemd.journald.forward_to_console=yes coreos.configdrive=0
{% else %}
agent_pxe_append_params=coreos.configdrive=0
{% endif %} {% endif %}
# Template file for PXE configuration. (string value) # Template file for PXE configuration. (string value)