yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #92476
[Bug 2015092] Re: Instance sticks in BUILD when scheduling with a port assigned invalid MAC
Reviewed: https://review.opendev.org/c/openstack/nova/+/879350
Committed: https://opendev.org/openstack/nova/commit/dacae335e4c538f54a32f431469bd7059cba48c3
Submitter: "Zuul (22348)"
Branch: master
commit dacae335e4c538f54a32f431469bd7059cba48c3
Author: Alexey Stupnikov <aleksey.stupnikov@xxxxxxxxx>
Date: Mon Apr 3 16:19:35 2023 +0200
Process unlimited exceptions raised by unplug_vifs
Currently compute manager's _cleanup_allocated_networks() method
expects NotImplementedError or exception.NovaException when
calling self.driver.unplug_vifs.
In reality, other class of exception could be raised. It could break
the Nova Compute flow and leave instance in inconsistent state. This
patch switches from exception.NovaException to all kinds of exceptions.
Closes-bug: #2015092
Change-Id: Icaf3cc93edfea97ee4fa497bdeb5f7d631c8ae55
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/2015092
Title:
Instance sticks in BUILD when scheduling with a port assigned invalid
MAC
Status in OpenStack Compute (nova):
Fix Released
Bug description:
This is a copy of downstream
https://bugzilla.redhat.com/show_bug.cgi?id=1949703 caused by
combination of Neutron bug (addressed in
https://bugs.launchpad.net/neutron/+bug/1926273) and Nova inability to
process ValueError raised by oslo_versionedobjects.
Steps to reproduce (before Neutron bug was fixed):
1. Create bad port
$ openstack port create --mac-address 40:28:0:00:2:6 --disable-port-security --network ess-dpdk-1370 test-port-bad-mac_user-dpdk2
2. Create server using bad port
$ openstack server create --flavor m1.tiny --image cirros --nic port-id=023abee9-a896-4678-b6fe-d4abae9066f0 dpdk-instance-bad-mac2
Expected outcome:
Instance is in ERROR state
Actual outcome:
Instance is sticks in BUILD state
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/2015092/+subscriptions
References