update_available_resource_for_node racing instance deletion
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Medium
|
Matt Riedemann | ||
Ocata |
Fix Committed
|
Medium
|
Lee Yarwood | ||
Pike |
Fix Committed
|
Medium
|
Lee Yarwood | ||
Queens |
Fix Committed
|
Medium
|
Lee Yarwood |
Bug Description
Description
===========
The following trace was seen multiple times during a CI run for https:/
http://
http://
In the first example a request to terminate the instance 60b7cb32 appears to race an existing run of the update_
req-fa96477b-
req-dc60ed89-
Steps to reproduce
==================
Delete an instance while update_
Expected result
===============
Either swallow the exception and move on or lock instances in such a way that they can't be removed while this periodic task is running.
Actual result
=============
update_
Environment
===========
1. Exact version of OpenStack you are running. See the following
list for all releases: http://
https:/
2. Which hypervisor did you use?
(For example: Libvirt + KVM, Libvirt + XEN, Hyper-V, PowerKVM, ...)
What's the version of that?
Libvirt
2. Which storage type did you use?
(For example: Ceph, LVM, GPFS, ...)
What's the version of that?
n/a
3. Which networking type did you use?
(For example: nova-network, Neutron with OpenVSwitch, ...)
n/a
tags: | added: placement resource-tracker |
Changed in nova: | |
status: | New → Confirmed |
Changed in nova: | |
assignee: | nobody → Matt Riedemann (mriedem) |
Changed in nova: | |
assignee: | Matt Riedemann (mriedem) → sahid (sahid-ferdjaoui) |
Changed in nova: | |
assignee: | sahid (sahid-ferdjaoui) → Matt Riedemann (mriedem) |
Another example on stable/ocata :
http:// logs.openstack. org/30/ 431530/ 1/check/ gate-tempest- dsvm-neutron- full-ubuntu- xenial/ b5e565e/ logs/screen- n-cpu.txt. gz?level= ERROR#_ 2017-02- 09_14_14_ 09_377