Comment 2 for bug 2012365

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to nova (master)

Reviewed: https://review.opendev.org/c/openstack/nova/+/873648
Committed: https://opendev.org/openstack/nova/commit/211737d0ce23a8a9b1f3953f4816150a9a3271fa
Submitter: "Zuul (22348)"
Branch: master

commit 211737d0ce23a8a9b1f3953f4816150a9a3271fa
Author: Amit Uniyal <email address hidden>
Date: Mon Feb 13 21:06:09 2023 +0000

    Added context manager for instance lock

    Moved lock and unlock instance code to context manager.
    Updated _refresh volume attachment method to use instance
    lock context manager

    Now there will be a single request ID for the lock, refresh, and unlock
    actions. Earlier, the volume_attachment refresh operation used to have a
    unique req-id for each action.

    Related-Bug: #2012365
    Change-Id: I6588836c3484a26d67a5995710761f0f6b6a4c18