Commit Graph

8 Commits

Author SHA1 Message Date
Brian Rosmaita b5f3a1dc5c Fix openstack-tox-py311 job
The openstack-tox-py311 job (change I725b94bee6601a) was added to
the testing template by change I3b22ff95ab7b83a.  Since it uses a
debian bookworm nodeset, follow change I736ecb2a18d3 in adjusting
glance's bindep.txt.

Change-Id: Ifdf4a3d844cc4ed4a3cb3225220a5a01ff961f43
2023-08-31 18:14:18 -04:00
Cyril Roelandt 53f322f1d8 Bindep fixes for SUSE-like systems
- qemu-img is provided by qemu-tools
- pg_config is provided by postgresql-server-devel

Closes-Bug: #1978869
Change-Id: Ia0e5f52f3841b3306a8776762d18a56c6df1e2f5
2022-06-15 23:07:06 +02:00
Zuul 79f285623c Merge "Add missing packages to test dependencies" 2021-11-17 08:06:16 +00:00
Andre Aranha 474c600b8a Add missing packages to test dependencies
The tests are failing when running on Centos due to lack of
qemu-img package and python3-devel.
This patch is adding the missing packages to bindep.txt.

Closes-Bug: #1947146

Change-Id: I99ab96a7f8b6fdf6a27faf1fe0ea0328f89b154f
2021-11-04 11:46:06 +00:00
Cyril Roelandt 6bfe0a9737 Add libpcre3-dev/pcre-devel to bindep.txt
This is required to run "tox -edocs".

Change-Id: Iba9b5c660628bae77708911ef0459992e01c93c4
Closes-Bug: #1870205
2021-09-28 20:11:25 +02:00
Dan Smith 6a2a6283ae Stream-friendly disk format inspection module
This adds a module called common.format_inspector which contains
an implementation of virtual disk format and size detection that
works in a streamable fashion. This can be injected into a data
processing loop and gracefully detect both format type as well as
virtual_size of the disk format, for those that are supported.

Currently excluded from the list of formats that glance claims to
support are iso (which can be treated like raw) and ploop (which
not even qemu-img seems to support).

This also adds a test_format_inspector.py executable into tools/,
which we can use to validate the code manually on images in the
case where bugs report that this fails to work on some real-world
image.

Related to blueprint calculate-virtual-size

Change-Id: Ica9fc645229b0b19b913ce3f2e151f7b0c935649
2020-08-05 08:41:55 -07:00
Matthew Thode b59dc8d068
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.

see I5e0f6246d010e09065815e9fca5ad2c4da5060b6 for another example

Change-Id: I01735aa3bffbce8e6e182887d8df450fa509c636
2019-04-09 18:06:35 -05:00
Dirk Mueller 8db99e2213 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: Id6c17f9a53ad8ad5f0bb9d308ccf5d33a6f59f7f
2017-05-25 23:13:21 +02:00