yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24023
[Bug 1384577] [NEW] ipxe doesn't support dnsmasq
Public bug reported:
The workflow of ipxe in ironic now only support ISC dhcpd.
I use dnsmasq and follow the install-guide:
https://github.com/openstack/ironic/blob/master/doc/source/deploy/install-guide.rst#ipxe-setup
but failed to get undionly.kpxe
I find the issue is from the option '!175,bootfile-name' in:
https://github.com/openstack/ironic/blob/master/ironic/common/pxe_utils.py
which is not recognized by dnsmasq
There are two things to do:
1. add dhcp-match=set:ipxe,175
2. add tag:!ipxe,option:bootfile-name,undionly.kpxe as a new option
For 1, we just need to modify the dhcp_agent.ini
for 2, we need to enable neutron add our new extra_tag after the old tag of port_id.
** Affects: ironic
Importance: Undecided
Assignee: Tan Lin (tan-lin-good)
Status: New
** Affects: neutron
Importance: Undecided
Assignee: Tan Lin (tan-lin-good)
Status: New
** Tags: neutron
** Changed in: ironic
Assignee: (unassigned) => Tan Lin (tan-lin-good)
** Also affects: neutron
Importance: Undecided
Status: New
** Changed in: neutron
Assignee: (unassigned) => Tan Lin (tan-lin-good)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1384577
Title:
ipxe doesn't support dnsmasq
Status in OpenStack Bare Metal Provisioning Service (Ironic):
New
Status in OpenStack Neutron (virtual network service):
New
Bug description:
The workflow of ipxe in ironic now only support ISC dhcpd.
I use dnsmasq and follow the install-guide:
https://github.com/openstack/ironic/blob/master/doc/source/deploy/install-guide.rst#ipxe-setup
but failed to get undionly.kpxe
I find the issue is from the option '!175,bootfile-name' in:
https://github.com/openstack/ironic/blob/master/ironic/common/pxe_utils.py
which is not recognized by dnsmasq
There are two things to do:
1. add dhcp-match=set:ipxe,175
2. add tag:!ipxe,option:bootfile-name,undionly.kpxe as a new option
For 1, we just need to modify the dhcp_agent.ini
for 2, we need to enable neutron add our new extra_tag after the old tag of port_id.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ironic/+bug/1384577/+subscriptions
Follow ups
References