Stop passing IP address to IPA by PXE

CoreOS version for Ironic Python Agent was upgraded in the Rocky. An
IPA built on CoreOS doesn't boot from PXE. A new validation added to
CoreOS doesn't allow 'ip' parameter passed by PXE when DHCP is used.
This patch changes 'ipappend' parameter in PXE configuration not to
pass 'ip' parameter.

Change-Id: I6d5ca3a51fcbe95bd9e541a6f5ad2f7352c86a6e
Story: 2002093
Task: 19771
This commit is contained in:
Hironori Shiina 2018-05-24 20:23:35 +09:00
parent 929eb6e311
commit ca921839b2
3 changed files with 11 additions and 2 deletions

View File

@ -3,7 +3,7 @@ default deploy
label deploy
kernel {{ pxe_options.deployment_aki_path }}
append initrd={{ pxe_options.deployment_ari_path }} selinux=0 troubleshoot=0 text {{ pxe_options.pxe_append_params|default("", true) }} ipa-api-url={{ pxe_options['ipa-api-url'] }} coreos.configdrive=0
ipappend 3
ipappend 2
label boot_partition

View File

@ -3,7 +3,7 @@ default deploy
label deploy
kernel /tftpboot/1be26c0b-03f2-4d2e-ae87-c02d7f33c123/deploy_kernel
append initrd=/tftpboot/1be26c0b-03f2-4d2e-ae87-c02d7f33c123/deploy_ramdisk selinux=0 troubleshoot=0 text test_param ipa-api-url=http://192.168.122.184:6385 coreos.configdrive=0
ipappend 3
ipappend 2
label boot_partition

View File

@ -0,0 +1,9 @@
---
upgrade:
- |
To use CoreOS based deploy/cleaning ramdisk built using Ironic Python Agent
from the Rocky release, Ironic should be upgraded to the Rocky release if
PXE is used. Otherwise, a node cannot be deployed or cleaned because the
IPA fails to boot due to an unsupported parameter passed via PXE. See
`bug 2002093 <https://storyboard.openstack.org/#!/story/2002093>`_ for
details.