PXE options are not understood correctly by some Neutron backends due to theirs names

Bug #1717236 reported by Vasyl Saienko
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Vasyl Saienko

Bug Description

Different Neutron backeds (dhcp servers) may use different option names. A good example is dnsmasq and contrail. To avoid this we need to set options by theirs values instead of names as value is a standard defined by IANA

https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml

Revision history for this message
Vasyl Saienko (vsaienko) wrote :
Changed in ironic:
assignee: nobody → Vasyl Saienko (vsaienko)
Changed in ironic:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (master)

Reviewed: https://review.openstack.org/499553
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=c377f5cbbd034e16b68a3fc30e138b03badc9c94
Submitter: Jenkins
Branch: master

commit c377f5cbbd034e16b68a3fc30e138b03badc9c94
Author: Andrey Shestakov <email address hidden>
Date: Thu Aug 31 13:55:33 2017 +0300

    Change pxe dhcp options name to codes.

    There is difference between dhcp option names in different backends.
    This patch changes options name to code according to [0].

    [0] https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml

    Closes-Bug: 1717236

    Change-Id: Idbc2f7496d10d92d8dc481eb4173ed1c6f35d412

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
Ruby Loo (rloo) wrote :
Changed in ironic:
status: Fix Released → In Progress
importance: Undecided → High
Revision history for this message
OpenStack Infra (hudson-openstack) wrote :

Reviewed: https://review.openstack.org/506173
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=228a2a7885e1b04d4180fe8daa2992884decaf6d
Submitter: Zuul
Branch: master

commit 228a2a7885e1b04d4180fe8daa2992884decaf6d
Author: Vasyl Saienko <email address hidden>
Date: Thu Sep 21 13:39:28 2017 +0000

    Change pxe dhcp options name to codes.

    There is difference between dhcp option names in different backends.
    This patch changes options name to code according to [0].

    [0] https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml

    Closes-Bug: 1717236

    This is an updated version of c377f5cbbd034e16b68a3fc30e138b03badc9c94
    which problems with PXE and dnsmasq due to buggy dnsmasq code which uses
    siaddr field to specify tftp server. They are addressed now by always
    sending server-ip-address to make sure that dnsmasq works.

    More information about siaddr and option 150,66 can be found in
    informational RFC https://tools.ietf.org/html/rfc5859

    Change-Id: I55487d867979bf6bb4cf228fcf6408beae955d2b

Changed in ironic:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 9.2.0

This issue was fixed in the openstack/ironic 9.2.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/525248

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ironic (stable/pike)

Reviewed: https://review.openstack.org/525248
Committed: https://git.openstack.org/cgit/openstack/ironic/commit/?id=78c4d016461bf88030e4e304b912bd7a1f711815
Submitter: Zuul
Branch: stable/pike

commit 78c4d016461bf88030e4e304b912bd7a1f711815
Author: Vasyl Saienko <email address hidden>
Date: Thu Sep 21 13:39:28 2017 +0000

    Change pxe dhcp options name to codes.

    There is difference between dhcp option names in different backends.
    This patch changes options name to code according to [0].

    [0] https://www.iana.org/assignments/bootp-dhcp-parameters/bootp-dhcp-parameters.xhtml

    Closes-Bug: 1717236

    This is an updated version of c377f5cbbd034e16b68a3fc30e138b03badc9c94
    which problems with PXE and dnsmasq due to buggy dnsmasq code which uses
    siaddr field to specify tftp server. They are addressed now by always
    sending server-ip-address to make sure that dnsmasq works.

    More information about siaddr and option 150,66 can be found in
    informational RFC https://tools.ietf.org/html/rfc5859

    Change-Id: I55487d867979bf6bb4cf228fcf6408beae955d2b
    (cherry picked from commit 228a2a7885e1b04d4180fe8daa2992884decaf6d)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/ironic 9.1.5

This issue was fixed in the openstack/ironic 9.1.5 release.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.