When os-brick is installed from pip, there is no way right now
for devstack to know which dependencies are needed.
So far we have been duplicating them, but at least make it clear
that the dependency must be added to devstack as well.
Change-Id: Ic2a42bae8e957986a71b11598f943a84267deb18
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
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links
Change-Id: Ib98f33de8d7f6ef84a2f6ecb498530b336da875b
Source builds using cryptography need libssl-dev (and assorted other
platform package names) to compile. Adding package declaration for
dpkg, rpm, and suse.
Change-Id: I9238cc977529c46470479656e449ea6cef4ae5fb
Closes-bug: #1696712
Adding constraints support to libraries is slightly more complex than
services as the libraries themselves are listed in upper-constraints.txt
which leads to errors that you can't install a specific version and a
constrained version.
This change adds constraints support by also adding a helper script to
edit the constraints to remove os-brick.
Finally, it also adds libxml2 and libxslt to bindep.txt for use when
building lxml that is now required by oslo.vmware.
Change-Id: I3fbe4acbdf0281c91801ff7d09de6e9043915939
This patch adds support for the bindep python package. This enables os-brick
to specify binary package requirements for operations.
Change-Id: Iab5e923101855622c33df85899401c48a668ee15