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.
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /873648 /opendev. org/openstack/ nova/commit/ 211737d0ce23a8a 9b1f3953f481615 0a9a3271fa
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit 211737d0ce23a8a 9b1f3953f481615 0a9a3271fa
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 6d67a5995710761 f0f6b6a4c18
Change-Id: I6588836c3484a2