Commit Graph

10 Commits

Author SHA1 Message Date
Luigi Toscano e83b028099 bindep: remind people to sync the dependencies with devstack
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
2020-08-14 00:50:08 +02:00
Sam Wan fc6ca22bdb 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
2020-07-29 13:57:06 +00:00
Eric Harney 0d6f6bd23c Add iscsi-initiator-utils requirement
os-brick calls "iscsiadm".

Change-Id: I9098c30c93d196603bf61dfb24a3c24939ff7e66
2020-06-08 09:26:20 -04:00
Walter A. Boring IV 132a531e17 Add pdf documentation build in tox
This patch adds a tox command -e pdf-docs for building the pdf
documentation for os-brick.

Change-Id: Ib56ef75468bbbd39fcfec869c42ba4377ecbdd2c
2019-08-29 11:41:33 -07:00
Eric Harney 02b78c597f Fix bindep for multipath
Use the correct package for el7 distributions.

Fix the package name for Ubuntu as well.

Change-Id: Ice9d6fdab3fb0aca4ac630c4a32d9e1447461194
2018-04-02 14:40:35 -04:00
howardlee b00cee15d8 Update and replace http with https for doc links
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: Ib98f33de8d7f6ef84a2f6ecb498530b336da875b
2017-07-26 02:18:44 +00:00
Sean McGinnis b83838356d Add libssl to bindep
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
2017-06-08 06:14:15 -05:00
Eric Harney 2d3a4c58d4 Add curl to bindep
This is used by tools/tox_install.sh.

Change-Id: Ib9f9fc214c27c5ba647f8abcb4b558a229f1f1fa
2016-12-22 10:53:42 -05:00
Lee Yarwood 58956d7c86 Add Constraints support and missing bindep.txt dependencies
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
2016-12-20 14:30:55 +11:00
Walter A. Boring IV e95864a2c2 os-brick: Add bindep support
This patch adds support for the bindep python package.  This enables os-brick
to specify binary package requirements for operations.

Change-Id: Iab5e923101855622c33df85899401c48a668ee15
2016-11-28 05:07:33 +00:00