Comment 4 for bug 1557979

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

Reviewed: https://review.openstack.org/293475
Committed: https://git.openstack.org/cgit/openstack/ironic-inspector/commit/?id=39eb964134f2ff13288ac117305ae226267c2e47
Submitter: Jenkins
Branch: stable/liberty

commit 39eb964134f2ff13288ac117305ae226267c2e47
Author: Dmitry Tantsur <email address hidden>
Date: Wed Mar 16 11:32:22 2016 +0100

    Disable DHCP completely when no nodes are on introspection

    Currently we keep DHCP always open for new nodes. This is an overkill, as we
    always know which nodes are on introspection. It also causes problems when not
    all node NIC's are registered in Ironic, as these NIC's might get DHCP from our
    server.

    This change reduces probability of wrong nodes accessing our DHCP by REJECT'ing
    all DHCP requests when no nodes are on introspection and node_not_found_hook is
    not set. It does not solve the problem completely: conflicts are still possible
    during the introspection.

    Change-Id: I7a50c02023ef4364e14825cd80fa75565fac3dc8
    Partial-Bug: #1557979
    (cherry picked from commit 405c7de1f8671eb5da7eb5dbf996f519b70b32d9)