Commit Graph

14 Commits

Author SHA1 Message Date
Eric Harney
a9fec16ec7 bindep: Track qemu-img dependency
Cinder uses qemu-img in a few ways for
processing image and volume data.

Change-Id: Ic47d4103fe12384a21f4ed261ebb2a1411bd09cb
2020-08-19 15:00:35 +00:00
Sean McGinnis
f7f1df8d5e
Add lsscsi to bindep
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>
2020-07-27 12:42:36 -05:00
Eric Harney
9af6e70a03 Add cryptsetup to bindep.txt
This is used when using encrypted volumes
on iSCSI/FC drivers.

Change-Id: I2af7aa6f82f635c515bc1bc1ae45a2c4448c1c7b
2020-01-28 15:52:44 -05:00
Zuul
61e16bd7bb Merge "add libpq-dev to build psycopg2" 2019-04-10 00:42:06 +00:00
Matthew Thode
50c341166b
add libpq-dev to build psycopg2
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
2019-04-09 15:34:16 -05:00
Yikun Jiang
3c2a22f75c Make lower constraints CI works well
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
2018-11-06 20:29:53 +08:00
Sean McGinnis
fa370f7db5 Do not explicitly list thin provisioning tools for RPM
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
2018-01-02 10:52:44 -06:00
Sean McGinnis
78fa04624d Add thin provisioning package to install guide
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
2017-12-15 13:08:15 -06:00
Andreas Jaeger
da6470d32f Update bindep.txt for doc builds
https://governance.openstack.org/tc/reference/project-testing-interface.html#documentation
specifies that doc dependencies need the doc tag in bindep, use it.

Leave test environment in for transition period until we use the new
scripts.

Change-Id: I50e4c66097aefdfea1e7589b2ae67e262ae6a6d3
2017-11-21 21:06:13 +01:00
zhangbailin
234a0784bf Replace http with https for doc links in cinder
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links
For example:
(1)http://docs.openstack.org/admin-guide/blockstorage_nfs_backend.html
->https://docs.openstack.org/cinder/latest/admin/blockstorage-nfs-backend.html
(2)http://docs.openstack.org/oslo.i18n/latest/user/index.html
->https://docs.openstack.org/oslo.i18n/latest/user/index.html
(3)http://docs.openstack.org/ --> https://docs.openstack.org/
(4)http://docs.openstack.org/admin-guide/blockstorage_multi_backend.html
->https://docs.openstack.org/cinder/latest/admin/blockstorage-multi-backend.html

Change-Id: I7fcdc4453cb3bad713c7d770012411701cca742b
Closes-Bug:#1710054
2017-10-17 11:14:01 +08:00
Jay S. Bryant
888dcd4372 [Doc] Handle Sphinx warnings as errors
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
2017-08-29 16:00:09 -05:00
John Griffith
c6a4a6b2f2 Add thin-provisioning-tools to bindep
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
2017-06-16 19:10:11 -06:00
Sean McGinnis
9151ea2719 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.

Closes-bug: #1696262
Change-Id: I4d8bb80f72db6fafc5f37e0e9a32d7ad7d11e87e
2017-06-06 17:37:11 -05:00
Dirk Mueller
2db0497fde Add a local bindep.txt override
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
2017-05-25 23:27:10 +02:00