Bug 1992863 - [OSP 16.2] Avoid duplicate BDMs during reserve_block_device_name
Summary: [OSP 16.2] 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: z2
: 16.2 (Train on RHEL 8.4)
Assignee: Lee Yarwood
QA Contact: OSP DFG:Compute
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-11 20:23 UTC by Lee Yarwood
Modified: 2023-03-21 19:46 UTC (History)
9 users (show)

Fixed In Version: openstack-nova-20.6.2-2.20210812144825.1aa5711.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1992858
Environment:
Last Closed: 2022-03-23 22:11:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 803727 0 None None None 2021-08-11 20:23:23 UTC
OpenStack gerrit 803728 0 None None None 2021-08-11 20:23:23 UTC
Red Hat Issue Tracker OSP-8292 0 None None None 2021-11-15 12:58:03 UTC
Red Hat Product Errata RHBA-2022:1001 0 None None None 2022-03-23 22:11:30 UTC

Description Lee Yarwood 2021-08-11 20:23:23 UTC
+++ This bug was initially created as a clone of Bug #1992858 +++

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 14 errata-xmlrpc 2022-03-23 22:11:12 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 16.2.2), 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/RHBA-2022:1001


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