extend_volume of libvirt/volume/fc should not use device_path
The connection_info['data']['device_path'] field is not always
available. In cases that it was not available, it would cause
the debug code to raise a KeyError instead of proceeding.
Other similar debug messages in the same file do not include
device_path. As a simple fix, just drop the device_path from
the log.
Reviewed: https:/ /review. opendev. org/c/openstack /nova/+ /858129 /opendev. org/openstack/ nova/commit/ f9fa785fa809d6f fbb93dc4eec0c1b 4955bfec20
Committed: https:/
Submitter: "Zuul (22348)"
Branch: master
commit f9fa785fa809d6f fbb93dc4eec0c1b 4955bfec20
Author: Rajesh Tailor <email address hidden>
Date: Fri Sep 16 17:38:18 2022 +0530
extend_volume of libvirt/volume/fc should not use device_path
The connection_ info['data' ]['device_ path'] field is not always
available. In cases that it was not available, it would cause
the debug code to raise a KeyError instead of proceeding.
Other similar debug messages in the same file do not include
device_path. As a simple fix, just drop the device_path from
the log.
Closes-Bug: #1989894 0be8c95da7132b3 b74226ad10a
Change-Id: I4218fb39ce8080