Bug 2149468 - [OSP17.1] Invalid bdm record is left when cinder api call to delete a volume attachment times out
Summary: [OSP17.1] Invalid bdm record is left when cinder api call to delete a volume ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 17.1 (Wallaby)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ga
: 17.1
Assignee: melanie witt
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On: 2149466
Blocks: 2149471 2151410
TreeView+ depends on / blocked
 
Reported: 2022-11-30 00:54 UTC by melanie witt
Modified: 2023-08-16 01:13 UTC (History)
13 users (show)

Fixed In Version: openstack-nova-23.2.3-1.20221209191244.bbf626c.el9ost
Doc Type: Bug Fix
Doc Text:
Before this update, the Compute service (nova) processed a temporary error message from the Block Storage service (cinder) volume detach API, such as '504 Gateway Timeout', as an error. The Compute service failed the volume detach operation even though it succeeded but timed out on the Block Storage service side, leaving a stale block device mapping record in the Compute service database. With this update, the Compute service retries the volume detach call to the Block Storage service API if it receives an HTTP error that is likely to be temporary. Upon retry, if the volume attachment is no longer found, the Compute service processes the volume as already detached.
Clone Of: 2149466
: 2149471 (view as bug list)
Environment:
Last Closed: 2023-08-16 01:12:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad.net 1978444 0 None None None 2022-11-30 00:54:25 UTC
OpenStack gerrit 866084 0 None MERGED Fix the wrong exception used to retry detach API calls 2022-12-15 19:31:57 UTC
OpenStack gerrit 866085 0 None MERGED Retry attachment delete API call for 504 Gateway Timeout 2022-12-15 19:32:00 UTC
Red Hat Issue Tracker OSP-20556 0 None None None 2022-11-30 01:15:33 UTC
Red Hat Product Errata RHEA-2023:4577 0 None None None 2023-08-16 01:13:40 UTC

Comment 14 errata-xmlrpc 2023-08-16 01:12:55 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.1 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2023:4577


Note You need to log in before you can comment on or make changes to this bug.