Today if the write sys call to offline a cpu when
deleting an instnace fails due to an OSERROR or ValueERROR
the instance delete fails and the instance goes to error.
as reported in bug: #2065927 this can happen as a result of
OSError: [Errno 16] Device or resource busy if the vm is
deleted shortly after its started.
Related-Bug: #2065927
Change-Id: I1352a3a1e28cfe14ec8f32042ed35cb25e70338e
(cherry picked from commit ee581a5c9d1c0b7c0d8830a08f55fe8bc2fbcd0f)
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /922950 /opendev. org/openstack/ nova/commit/ f1c46802b109db0 b8e62f461ef0b43 2fa7c0984e
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/2024.1
commit f1c46802b109db0 b8e62f461ef0b43 2fa7c0984e
Author: Sean Mooney <email address hidden>
Date: Tue May 21 17:53:07 2024 +0100
add functional repoducer for bug 2065927
Today if the write sys call to offline a cpu when
deleting an instnace fails due to an OSERROR or ValueERROR
the instance delete fails and the instance goes to error.
as reported in bug: #2065927 this can happen as a result of
OSError: [Errno 16] Device or resource busy if the vm is
deleted shortly after its started.
Related-Bug: #2065927 14ec8f32042ed35 cb25e70338e c0d8830a08f55fe 8bc2fbcd0f)
Change-Id: I1352a3a1e28cfe
(cherry picked from commit ee581a5c9d1c0b7