Update git submodules
* Update os-brick from branch 'master' - Merge "Replace sg_scan with lsscsi to get '[H:C:T:L]'" - Replace sg_scan with lsscsi to get '[H:C:T:L]' The current get_device_info uses sg_scan to get device info but it only returns HLU number lower than 255 due to bug#1793259. sg_scan was designed for old days when 255 LUNs were enough. However we now have requirement to support HLU number greater than 255. Since lsscsi doesn't have the limit of 255, we should use lsscsi to get device info. The 'device' of get_device_info can be of 2 types: o /dev/disk/by-path/xxx, which is a symlink to /dev/sdX o /dev/sdX sg_scan can take any device name but lsscsi only show /dev/sdx names. So if the device is a symlink, we use the device name it links to, otherwise we use it directly. Then get the device info '[H:C:T:L]' by comparing the device name with the last column of lsscsi output Also lsscsi doesn't require privilege. Depends-on: https://review.opendev.org/743548 Change-Id: I867c972d9f712c0df4260ebc8211b786006ed7a2 Closes-bug: #1793259
This commit is contained in:
parent
a6c9fd3190
commit
85e65f4966
2
os-brick
2
os-brick
@ -1 +1 @@
|
||||
Subproject commit 4bd4066e76e54acfcb8ce08f6c9dc0ef0788aed6
|
||||
Subproject commit 5208e7bdc4ca79853f01a4d69d00600f81f75c8c
|
Loading…
Reference in New Issue
Block a user