yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83380
[Bug 1888649] Re: OVN: Extra DHCP options validation broke the Ironic+OVN+DHCP agent combination
Reviewed: https://review.opendev.org/742654
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=8c4b23f8128fa396164293d74837fa3b391e9974
Submitter: Zuul
Branch: master
commit 8c4b23f8128fa396164293d74837fa3b391e9974
Author: Lucas Alvares Gomes <lucasagomes@xxxxxxxxx>
Date: Thu Jul 23 13:07:42 2020 +0100
[OVN] Extra DHCP options validation: Log invalid options
By raising an exception when an option is invalid we broke the Ironic +
OVN + Neutron DHCP agent combination that enabled deploying baremetal
machines.
This patch is changing the approach to just log the invalid options
instead of failing the request so that the OVN driver can still be used
with Ironic.
Change-Id: I5e98297acefb62f9a9c1200ccfaac0672eeeed2c
Closes-Bug: #1888649
Signed-off-by: Lucas Alvares Gomes <lucasagomes@xxxxxxxxx>
** Changed in: neutron
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1888649
Title:
OVN: Extra DHCP options validation broke the Ironic+OVN+DHCP agent
combination
Status in neutron:
Fix Released
Bug description:
The patch [0] added validations to the DHCP options passed to OVN via
the Neutron API because, not all existing DHCP options are supported
by the OVN DHCP.
Some projects such as Ironic uses a dnsmasq syntax when passing those
options, for example [1]: "tag:ipxe,<option name>". Which is not
understood by the OVN driver for Neutron causing the validation to
fail the API request.
But by failing the API request we also break the combination of using
Ironic + OVN + Neutron DHCP agent, where the agent is able to
understand that syntax and boot the baremetal instances via the
network.
Due to that problem, I believe the OVN driver should stop failing the
API request for the options it doesn't understand and instead log an
error message so that it's visible to the cloud operator.
[0] https://review.opendev.org/#/c/722025/
[1] https://github.com/openstack/ironic/blob/19866e3ddbff1953a5ed6fb3abd11d7f649238fa/ironic/common/pxe_utils.py#L472-L487
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1888649/+subscriptions
References