lsscsi is needed for some of the SCSI device identification. This
identification is actually done in os-brick, but due to the way devstack
and potentially other things install from source, os-brick's bindep.txt
file may not be used.
Since Cinder needs the package in order for os-brick to operate, we can
just add it to cinder so we can make sure it is available.
Change-Id: Iee0a30c4e623c9b22c377093cd600cc8f6da78eb
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
Without libpq-dev installed you get the following error message with
psycopg2-2.8.1
Error: You need to install postgresql-server-dev-X.Y for building a
server-side extension or libpq-dev for building a client-side application.
Change-Id: I5e0f6246d010e09065815e9fca5ad2c4da5060b6
The actual target of openstack-tox-lower-constraints is using the lower
version package to run unit test.
But in current Cinder CI,there was a hard code to specify the
upper-constraints.txt, that means we install the package in
upper-constraints.txt, but the lower-constraints.txt doesn't work well.
This patch try to fix this error, move the hard code to 'deps'.
We also refresh the lower-constraints.txt and requirements.txt to make
CI works well:
1. Add libxml2-dev, libxslt-devel, libxslt1-dev to bindep.txt to make
lxml can be built successfully, like what we do in other project. [0]
2. Upgrade oslo.messaging to 6.4.0 to avoid "ACCESS_REFUSED
- Login was refused using authentication mechanism AMQPLAIN." error.
3. Upgrade oslo.utils to 3.34.0 to add a new method escape_ipv6 [1] to
oslo_utils.netutils, which is needed by [2].
4. Upgrade keystoneauth1 to 3.7.0 to fix "no such option split_loggers
in group [service_user]" [3]
[0] https://github.com/openstack/nova/blob/bb3ded3/bindep.txt#L17-L19
[1] https://review.openstack.org/#/c/495166/
[2] https://github.com/openstack/cinder/blob/fe421fe/cinder/volume/drivers/netapp/utils.py#L172
[3] https://review.openstack.org/#/c/578008/
Change-Id: Ide84d49c283c0ad179a5cfdb0392d34ee73d97ea
Closes-bug: #1801239
Ubuntu requires an additional package to be installed to enable thin
provisioning, but Red Hat based platforms have this included with the
base LVM2 package. An explicit item was added to bindep for the RPM
package that includes these thin tools, but that is not needed and
should be removed.
Change-Id: I7e7575746911e8d19a3804fa08b357c9563713f1
Our installation guide walks through configuring storage nodes
using the LVM driver. LVM now defaults to thinly provisioned,
which requires thing-provisioning-tools to be installed on the
host. So by default, our instructions will result in failure
when we attempt to perform thin provision operations.
This adds mention of installing the required package for each
platform's instructions to get the necessary tools installed.
It also adds device-mapper-persistent-data to bindep for Red
Hat based platforms to get those thin provisioning tools that
were previously missing for these platforms.
Tools appear to be installed by default on Suse platforms.
Change-Id: I2a84ae99d71c3551814197917d114057430858b7
Closes-bug: #1738409
We should be treating warnings from Sphinx as
errors as they usually result in bad HTML output.
Now that we have all of the existing warnings resolved we
want to turn on this option so that more bad docstrings, etc.
do not get merged.
One last bad docstring appears to have snuck in. This patch
also fixes that docstring problem in cinder/volume/qos_specs.py .
We have a requirement on graphviz that was never handled and is
actually causing one of our web pages to be improperly rendered.
The patch adds the dependency to bindep.txt so that we do not
see a check failure and so the documentation builds properly.
Change-Id: I66a9282b63d884a390534b0c777be8433a7e9bb3
If we're going to use auto we should make sure we add
thin-provisioning-tools to bindep. I think RHEL/CentOS
variants include this by default.
Change-Id: I14fd7e7b13d29af3c4502dbe178ea7a25b2cdcbc
Source builds using cryptography need libssl-dev (and assorted other
platform package names) to compile. Adding package declaration for
dpkg, rpm, and suse.
Closes-bug: #1696262
Change-Id: I4d8bb80f72db6fafc5f37e0e9a32d7ad7d11e87e
This avoids falling back to the global bindep-fallback.txt which
installs a pretty big environment. Without this change, a lot
of additional but unnecessary packages are installed on the nodepool
workers.
Change-Id: I8c581225eada929bc947b13f851bb228000f32fe