Ironic inspector dnsmasq can offer the same IP address to different hosts

Bug #1991390 reported by Pierre Riteau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla-ansible
Fix Released
Undecided
Unassigned

Bug Description

While PXE booting 10 bare metal hosts at a time to inspect them, I noticed several of them failing to PXE boot (3 of them failed each time, though I tried only twice).

This appears to be caused to the ironic_dnsmasq service providing the same IP address to multiple hosts. This is linked to the use of the dhcp-sequential-ip configuration option.

Unless there is a strong need for this option, it should be removed.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (master)
Changed in kolla-ansible:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (master)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/859974
Committed: https://opendev.org/openstack/kolla-ansible/commit/9ce47b2fff74e943a1a63cf56a19708b41e5195b
Submitter: "Zuul (22348)"
Branch: master

commit 9ce47b2fff74e943a1a63cf56a19708b41e5195b
Author: Pierre Riteau <email address hidden>
Date: Fri Sep 30 13:26:23 2022 +0200

    Remove dhcp-sequential-ip in ironic dnsmasq config

    With this option enabled, dnsmasq can offer the same IP address to
    multiple hosts when their requests are close to each other. Remove this
    option in order to use the built-in hashing mechanism which will
    allocate random IP addresses, which should be less likely to conflict.

    Closes-Bug: #1991390
    Change-Id: I09a9fa2d0c54635b899ad7906cc2e2e4580ef5ad

Changed in kolla-ansible:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/yoga)

Fix proposed to branch: stable/yoga
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/860138

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/xena)

Fix proposed to branch: stable/xena
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/860139

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla-ansible (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/kolla-ansible/+/860140

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/860140
Committed: https://opendev.org/openstack/kolla-ansible/commit/7967376a69496dcd6908842d7edd9ca15338284e
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit 7967376a69496dcd6908842d7edd9ca15338284e
Author: Pierre Riteau <email address hidden>
Date: Fri Sep 30 13:26:23 2022 +0200

    Remove dhcp-sequential-ip in ironic dnsmasq config

    With this option enabled, dnsmasq can offer the same IP address to
    multiple hosts when their requests are close to each other. Remove this
    option in order to use the built-in hashing mechanism which will
    allocate random IP addresses, which should be less likely to conflict.

    Closes-Bug: #1991390
    Change-Id: I09a9fa2d0c54635b899ad7906cc2e2e4580ef5ad
    (cherry picked from commit 9ce47b2fff74e943a1a63cf56a19708b41e5195b)

tags: added: in-stable-wallaby
tags: added: in-stable-xena
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/xena)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/860139
Committed: https://opendev.org/openstack/kolla-ansible/commit/d07954295f6789283792db755e3b7bc32321015d
Submitter: "Zuul (22348)"
Branch: stable/xena

commit d07954295f6789283792db755e3b7bc32321015d
Author: Pierre Riteau <email address hidden>
Date: Fri Sep 30 13:26:23 2022 +0200

    Remove dhcp-sequential-ip in ironic dnsmasq config

    With this option enabled, dnsmasq can offer the same IP address to
    multiple hosts when their requests are close to each other. Remove this
    option in order to use the built-in hashing mechanism which will
    allocate random IP addresses, which should be less likely to conflict.

    Closes-Bug: #1991390
    Change-Id: I09a9fa2d0c54635b899ad7906cc2e2e4580ef5ad
    (cherry picked from commit 9ce47b2fff74e943a1a63cf56a19708b41e5195b)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla-ansible (stable/yoga)

Reviewed: https://review.opendev.org/c/openstack/kolla-ansible/+/860138
Committed: https://opendev.org/openstack/kolla-ansible/commit/4082de1cca1f12afe42a4e273ed172c747414d2e
Submitter: "Zuul (22348)"
Branch: stable/yoga

commit 4082de1cca1f12afe42a4e273ed172c747414d2e
Author: Pierre Riteau <email address hidden>
Date: Fri Sep 30 13:26:23 2022 +0200

    Remove dhcp-sequential-ip in ironic dnsmasq config

    With this option enabled, dnsmasq can offer the same IP address to
    multiple hosts when their requests are close to each other. Remove this
    option in order to use the built-in hashing mechanism which will
    allocate random IP addresses, which should be less likely to conflict.

    Closes-Bug: #1991390
    Change-Id: I09a9fa2d0c54635b899ad7906cc2e2e4580ef5ad
    (cherry picked from commit 9ce47b2fff74e943a1a63cf56a19708b41e5195b)

tags: added: in-stable-yoga
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 13.6.0

This issue was fixed in the openstack/kolla-ansible 13.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 14.6.0

This issue was fixed in the openstack/kolla-ansible 14.6.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible 15.0.0.0rc1

This issue was fixed in the openstack/kolla-ansible 15.0.0.0rc1 release candidate.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla-ansible wallaby-eol

This issue was fixed in the openstack/kolla-ansible wallaby-eol 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.