cpu power management can fail with OSError: [Errno 16] Device or resource busy
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
In Progress
|
Low
|
sean mooney | ||
2024.1 |
Triaged
|
Low
|
Unassigned | ||
Antelope |
Triaged
|
Low
|
Unassigned | ||
Bobcat |
Triaged
|
Low
|
Unassigned |
Bug Description
as reported downstream in https:/
if you create a vm, reboot the host, start the vm,
and finally delete it.
that may fail
May 16 15:54:26 edpm-compute-0 nova_compute[3396]: Traceback (most recent call last):
May 16 15:54:26 edpm-compute-0 nova_compute[3396]: File "/usr/lib/
May 16 15:54:26 edpm-compute-0 nova_compute[3396]: fd.write(data)
May 16 15:54:26 edpm-compute-0 nova_compute[3396]: OSError: [Errno 16] Device or resource busy
this prevents the VM from being deleted on the inial request but it can then be deleted if you try again
this race condition with the kernel is unlikely to happen and appeared to be timing related.
i.e. there is a short period of time where onlineing or offlining of a CPU may not be possible
to mitigation this nova should retry the operation with a backoff and then eventually squash the error allowing the vm to delete without failing if we cant offline the core.
power management of the core should never block or cause the vm delete to fail.
Changed in nova: | |
assignee: | nobody → sean mooney (sean-k-mooney) |
Related fix proposed to branch: master /review. opendev. org/c/openstack /nova/+ /920119
Review: https:/