yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #89397
[Bug 1982367] Re: Race condition between DHCP and L2 agent during evacuate vms may cause VM ends up in ERROR state
Reviewed: https://review.opendev.org/c/openstack/neutron/+/850529
Committed: https://opendev.org/openstack/neutron/commit/06ddcaf4368ce054a8d396e70880f7dd1abe0562
Submitter: "Zuul (22348)"
Branch: master
commit 06ddcaf4368ce054a8d396e70880f7dd1abe0562
Author: Slawek Kaplonski <skaplons@xxxxxxxxxx>
Date: Wed Jul 20 16:18:27 2022 +0200
Port update will trigger less notifications to the DHCP agents
After port update, DHCP agent will be notified about changes only if
one of the port's attributes related somehow to the DHCP will change.
Such fields are:
* fixed_ips,
* MAC address,
* dns_domain,
* dns_name,
* dns_assignment,
* extra_dhcp_opts.
In other cases there is no reason to send notifications to the agent.
This will results with less notifications to the DHCP agent and less
possibilities to race condition between DHCP and L2 agents while
switching ports from the DOWN to ACTIVE status and sending notifications
to nova.
Closes-Bug: #1982367
Change-Id: If7990bdec435af76ad2e88fd4ea2bc24a255fd5a
** 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/1982367
Title:
Race condition between DHCP and L2 agent during evacuate vms may cause
VM ends up in ERROR state
Status in neutron:
Fix Released
Bug description:
During the evacuation of vm from the down compute node, it may happen
that when port will be DOWN, DHCP agent will update port and send info
to the neutron server before L2 (ovs) agent on the new compute node
will do it. Because of that when L2 agent will report port is UP on
the node, notification to nova will not be send as port status was
already ACTIVE (changed when DHCP agent sent it's info that port is
configured). Finally VM will end up in ERROR state as nova-compute
will timeout while waiting for the notification from neutron.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1982367/+subscriptions
References