yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #70751
[Bug 1741075] Re: Excessive warning logs for "Detach interface failed" when the instance was deleted
Reviewed: https://review.openstack.org/530969
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=74fed3b2cdfb3a4aa82d7ac9618b7ddfbf85ecc5
Submitter: Zuul
Branch: master
commit 74fed3b2cdfb3a4aa82d7ac9618b7ddfbf85ecc5
Author: Matt Riedemann <mriedem.os@xxxxxxxxx>
Date: Wed Jan 3 11:58:14 2018 -0500
Don't log a warning for InstanceNotFound in detach_interface
If we're racing with an instance delete while detaching interfaces,
don't log a warning in the case the instance is deleted at the
same time, just log that at debug level.
We see this warning about 42 times in a normal Tempest run so it's
not uncommon.
Change-Id: Ic2557ae5ba02924749c4c2b762a7f510483f1046
Closes-Bug: #1741075
** 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/1741075
Title:
Excessive warning logs for "Detach interface failed" when the instance
was deleted
Status in OpenStack Compute (nova):
Fix Released
Bug description:
Looking at these nova-compute logs:
http://logs.openstack.org/60/513160/4/check/tempest-dsvm-neutron-nova-
next-
full/6458405/logs/screen-n-cpu.txt.gz?level=TRACE#_Dec_08_23_13_42_867535
This type of warning message shows up 42 times:
Dec 08 23:13:42.867535 ubuntu-xenial-ovh-gra1-0001332290 nova-
compute[31536]: WARNING nova.compute.manager [None req-5378dd72-7f5d-
4c39-82ec-2989263136fb service nova] [instance: 7a32f2d9-a7e6-42fa-
b0a6-def8fdb56887] Detach interface failed, port_id=a5cd433c-589f-4c65
-814a-e71923e408cb, reason: Instance 7a32f2d9-a7e6-42fa-
b0a6-def8fdb56887 could not be found.: InstanceNotFound: Instance
7a32f2d9-a7e6-42fa-b0a6-def8fdb56887 could not be found.
If we failed to detach an interface because the instance was deleted,
it's not really a warning that the operator should care about, so we
should downgrade this from warning to debug.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1741075/+subscriptions
References