[Bug 1454332] Re: Fail to chainload iPXE (undionly.kpxe)
James Page
james.page at ubuntu.com
Thu Sep 8 11:09:51 UTC 2016
Marking Fix Released as Ubuntu now has 6.1.0 in yakkety.
** Changed in: ironic (Ubuntu)
Status: Confirmed => Fix Released
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to ironic in Ubuntu.
https://bugs.launchpad.net/bugs/1454332
Title:
Fail to chainload iPXE (undionly.kpxe)
Status in Ironic:
Fix Released
Status in Ironic kilo series:
Fix Released
Status in ironic package in Ubuntu:
Fix Released
Bug description:
I was working on a DELL R630 and it was failing to chainload the
undionly.kpxe configuration in the way we set the DHCP configuration
in Neutron.
By manually tweaking stuff I could get it to work. Here's what I had
to change:
* In Ironic:
diff --git a/ironic/common/pxe_utils.py b/ironic/common/pxe_utils.py
index b24b716..40a4469 100644
--- a/ironic/common/pxe_utils.py
+++ b/ironic/common/pxe_utils.py
@@ -267,7 +267,7 @@ def dhcp_options_for_instance(task):
'opt_value': CONF.pxe.pxe_bootfile_name})
# If the request comes from iPXE, direct it to boot from the
# iPXE script
- dhcp_opts.append({'opt_name': 'bootfile-name',
+ dhcp_opts.append({'opt_name': 'tag:ipxe,bootfile-name',
'opt_value': ipxe_script_url})
else:
if deploy_utils.get_boot_mode_for_deploy(task.node) == 'uefi':
* In the custom dnsmasq we create for creating the "ipxe" tag in Neutron:
$ cat /etc/dnsmasq-ironic.conf
dhcp-userclass=set:ipxe,iPXE
(Instead of dhcp-match:set:ipxe,175) Tho dhcp-match should work, I
just don't know why it didn't for that machine. Perhaps we should
document both
To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/1454332/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list