Bug 1992858 - [OSP 17] Avoid duplicate BDMs during reserve_block_device_name
Summary: [OSP 17] Avoid duplicate BDMs during reserve_block_device_name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 17.0 (Wallaby)
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: beta
: 17.0
Assignee: Lee Yarwood
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-11 20:18 UTC by Lee Yarwood
Modified: 2023-03-21 19:46 UTC (History)
7 users (show)

Fixed In Version: openstack-nova-23.0.3-0.20210908140341.e39bbdc.el9ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1992863 (view as bug list)
Environment:
Last Closed: 2022-09-21 12:16:15 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 803717 0 None None None 2021-08-11 20:18:12 UTC
OpenStack gerrit 803718 0 None None None 2021-08-11 20:18:12 UTC
Red Hat Issue Tracker OSP-7017 0 None None None 2021-11-15 12:58:05 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:16:56 UTC

Description Lee Yarwood 2021-08-11 20:18:13 UTC
Description of problem:

Duplicate BlockDeviceMapping if attaching volumes too fast 
https://launchpad.net/bugs/1937375

When attaching a volume to a running instance the nova-api validates that
the volume is not already attached to the instance. However nova-compute
is responsible for actually creating the BDM entry in the database.
If sending attach requests fast enough it can be possible that the same
"attach_volume" request can be sent to nova-compute for the same
volume/instance combination.

Comment 5 errata-xmlrpc 2022-09-21 12:16:15 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.0 (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-2022:6543


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