6a2a6283ae
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
26 lines
945 B
Plaintext
26 lines
945 B
Plaintext
# This is a cross-platform list tracking distribution packages needed for install and tests; # see http://docs.openstack.org/infra/bindep/ for additional information.
|
|
|
|
build-essential [platform:dpkg test]
|
|
gcc [platform:rpm test]
|
|
gettext [!platform:suse]
|
|
gettext-runtime [platform:suse]
|
|
libffi-dev [platform:dpkg]
|
|
libffi-devel [platform:redhat]
|
|
libffi48-devel [platform:suse]
|
|
virtual/libffi [platform:gentoo]
|
|
locales [platform:debian]
|
|
mariadb [platform:rpm]
|
|
mariadb-server [platform:redhat]
|
|
mariadb-devel [platform:redhat]
|
|
libmysqlclient-dev [platform:dpkg]
|
|
libmysqlclient-devel [platform:suse]
|
|
mysql-client [platform:dpkg]
|
|
mysql-server [platform:dpkg]
|
|
postgresql
|
|
postgresql-client [platform:dpkg]
|
|
postgresql-devel [platform:rpm]
|
|
postgresql-server [platform:rpm]
|
|
qemu [platform:dpkg devstack build-image-dib]
|
|
qemu-utils [platform:dpkg devstack build-image-dib]
|
|
libpq-dev [platform:dpkg]
|