17 Commits

Author SHA1 Message Date
Sean Mooney
e310049eab Add functional repoducer for ephemeral disks
This commit add a functional repoducer for a regression
in ephmeral disk image format validation

When we changed to use the oslo.utils verison of the
format_inspector we aquired a new inspector which can
detect if a file has a partition table.

As the qcow 2 backend does not know that ephemeral disk
or swap disk are not boot able it requires that they
also have partition tables.

Related-Bug: #2079850
Change-Id: I26c6e8d2efbf7403542e99b8ac45e2a31f08afd1
2024-09-11 18:35:29 +01:00
Dr. Jens Harbott
53972dfa5a Fix bindep for Debian bookworm
Debian prefers Mariadb instead of mysql, the libmysqlclient-dev pkg
is not available there, replace it with libmariadb-dev-compat.
Replace mysql-server with mariadb-server.

Change-Id: I736ecb2a18d3ca02143a41b77bd8f213d1b7ad33
2023-08-13 09:16:27 +02:00
Balazs Gibizer
e187e97253 Adapt bindep ubuntu-jammy
This is needed to make openstack-tox-py310 job to install deps properly.

Change-Id: I70c8aa764229a10b9047f2f8c3c887ccd741da19
2022-05-06 08:51:15 +02:00
Lee Yarwood
085de864db tests: Allow bindep and test-setup.sh to run on EL distros
Only install mariadb on EL based hosts. Also when using mariadb and
postgresql on EL based distros we need to ensure each service is
configured and actually started before using either.

Co-Authored-By: Ade Lee <alee@redhat.com>
Change-Id: I7122933d85bd7d0333c2c35e0f1a8414c1baa6d5
2021-06-18 12:34:27 +01:00
Lee Yarwood
ead034d969 bindep: Install python3 and python3-devel on CentOS 8 and Fedora
python-devel is no longer available on either distro, both should now
use python3 and python3-devel packages.

Change-Id: I51eb3c6626aec9842cb756d7f97c683c77479401
2020-10-03 13:20:21 +01:00
Sean McGinnis
b3b56d8127
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 Nova needs the package in order for os-brick to operate, we can
just add it to nova so we can make sure it is available.

Change-Id: Iba5307a6c644ae0fe5eb754f1b1e5dbdfc541cb9
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
2020-08-05 16:16:49 -05:00
Zuul
07acbe8ce7 Merge "Add missing test bindep on openssl" 2020-06-21 02:01:16 +00:00
Matthew Booth
d8f7325181 Add missing test bindep on openssl
nova.virt.xenapi.agent.SimpleDH._run_ssl expects the 'openssl' binary
to be installed. This method is also executed by unit tests.

Change-Id: I5b53e1a97811768c0bbe8f4bdac06591f3739c66
2020-05-22 16:47:07 +01:00
melanie witt
d40a0856ad Add packages required for pdf-docs run to bindep.txt
This adds packages needed to run 'tox -e pdf-docs' locally to our
bindep.txt for users, for example:

  bindep -l newline pdf-docs | xargs <package manager> install -y

The CI jobs don't use the 'pdf-docs' label for handling bindep for pdf
docs builds [1] and instead install a separate list of prereqs [2], so
this change is only relevant for local test runs.

[1] 64341d2e32/zuul.d/jobs.yaml (L435)
[2]
64341d2e32/roles/prepare-build-pdf-docs/tasks/main.yaml (L7-L20)

Change-Id: Ib603baa1766b873073165c71772ada021c6e5036
2020-05-18 20:39:49 +00:00
Daniel Pawlik
f37623089e Added openssh-client into bindep
Currently containers with Nova doesn't include openssh-client package,
which is required to perform tempest test e.g.:
tempest.api.compute.admin.test_migrations.MigrationsAdminTest.test_cold_migration.
This package is installed by default in cloud images, but its not
included in container images.

Change-Id: I559883b9f4d9ced0a20444c76f94540d3231cdd9
2019-10-23 07:21:23 +00:00
Matt Riedemann
9ae92e3f98 Add librsvg2* to bindep
I3aaea1d15a357f550f529beaa84fb1a1a7748358 added the docs
build requirement on sphinxcontrib-svg2pdfconverter which
needs the native rsvg-convert command. This change adds
the native package that provides that command to bindep.txt.

Change-Id: I064a1f33902405c3db699a46feeb93397fc3b038
Closes-Bug: #1844583
2019-09-18 17:25:49 -04:00
Stephen Finucane
102bc41f90 bindep: Remove dead markers
Ubuntu 12.04 is rather long in the tooth now. Remove the bindep markers
for it.

Change-Id: Ie5c2d7ab1e3e637a1d42712e22a7a6e6d6427020
Signed-off-by: Stephen Finucane <sfinucan@redhat.com>
2019-07-18 11:27:13 +01:00
Zuul
bb3ded3537 Merge "Bindep does not catch missing libpcre3-dev on Ubuntu" 2018-02-14 07:31:09 +00:00
Ameed Ashour
6c2353bfe8 Bindep does not catch missing libpcre3-dev on Ubuntu
added libpcre3-dev [platform:dpkg test] and
pcre-devel [platform:rpm test]to bindep.txt

Change-Id: I944957ca0bf42309d4df6efb741ca078b87354a1
Closes-Bug: #1746386
2018-02-08 12:25:32 -05:00
zhangbailin
110b499b6a Update links in documents
Due to the migration of the OpenStack document library, some outdated
links were found during use, using https instead of http and pointing
to the right place.

Change-Id: I1e37e15643b4ff7a7b22b2c7c39eba76d0cbdb39
2018-01-12 17:05:11 +08:00
Andreas Jaeger
338ed6f955 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: I851a06fbc07a84f70ee76e78062777ad2bade764
2017-11-21 21:01:09 +01:00
Jeremy Stanley
7cdd5da7d7 List system dependencies for running common tests
Add a bindep.txt file containing a cross-platform list
of dependencies needed for running included tox-based tests. Also
include a tox environment for convenience calling the bindep[*]
utility to list any missing system requirements, and simplify the
contributor documentation to recommend this rather than embedding an
ad-hoc list of package names in an untestable document.

This change is self-testing.

[*] http://docs.openstack.org/infra/bindep/

Change-Id: I7c18b0921c39b99df89f2c356208303c2bad5a97
2016-08-24 06:49:32 +02:00