Hitachi: fix to output resource lock message correctly

This patch fix to output a warning message for resource lock correctly.
The message can help to analyze in some trouble.

Closes-Bug: #1989176
Change-Id: Iaeee0496987ffe4777c34fe8056f56985273a5d0
This commit is contained in:
Atsushi Kawai 2022-09-09 10:19:22 +00:00
parent 48a36c3800
commit d2b302885e
2 changed files with 7 additions and 1 deletions

View File

@ -377,7 +377,7 @@ class RestApiClient():
message, errobj=errobj)
return False, rsp_body, errobj
else:
LOG.debug("The resource group to which the operation object ",
LOG.debug("The resource group to which the operation object "
"belongs is being locked by other software.")
return True, rsp_body, errobj

View File

@ -0,0 +1,6 @@
---
fixes:
- |
Hitachi driver `bug #1989176
<https://bugs.launchpad.net/cinder/+bug/1989176>`_:
Fixed Hitachi driver to output a message for resource lock correctly.