Commit Graph

9 Commits

Author SHA1 Message Date
songwenping 06b03fff14 Fix bindep.txt for python 3.11 job(Debian Bookworm)
Python 3.11 job run on Debian Bookworm which does
not the mysql pkg for example, mariadb-server, libmysqlclient-dev
instead they have mariadb. Updating bindep.txt file
to adjust the pkgs as per Debian bookworm.

Change-Id: Iddd0dc75f335e3422b1cb2b08897911bb2900662
2023-09-25 11:25:41 +08:00
Luigi Toscano 8a026b95bd Focal-related fixes: libguestfs, mysql 8, requirements
- use the the python3 guestfs bindings, not the old python2
  (not availbale anymore on the newer systems);
- fix the compatibility with mysql 8, which unfortunately
  removes the shortend for user creation + password setting;
- bump the values in lower-requirements.txt (also requirements.txt
  and test-requirements.txt when needed) so they they work with
  python 3.8 (inspired by other similar bumps).

Change-Id: Icaa3c008bbe179098244f7bb9d80790068430fe2
2020-09-22 18:10:10 +02:00
Ghanshyam Mann 17c3249a27 [ussuri][goal] Drop python 2.7 support and testing
OpenStack is dropping the py2.7 support in ussuri cycle.

sahara is ready with python 3 and ok to drop the
python 2.7 support.

Complete discussion & schedule can be found in
- http://lists.openstack.org/pipermail/openstack-discuss/2019-October/010142.html
- https://etherpad.openstack.org/p/drop-python2-support

Ussuri Communtiy-wide goal:
https://governance.openstack.org/tc/goals/selected/ussuri/drop-py27.html

Other required Sahara changes:
- port the image building job to CentOS 8, and thus Python 3.

Depends-On: https://review.opendev.org/#/c/693631/
Depends-On: https://review.opendev.org/#/c/694699/
Change-Id: I30485a9933d38db76c031c6e760598c4e47123fc
2020-01-14 18:38:26 +01:00
Luigi Toscano 6979406464 Add a required dep to fix the buildimages jobs
The buildimages jobs use CentOS. A change somewhere introduced a
new dependency on the devel package of PostgreSQL (namely libpq-fe.h).
The issues was fixed by If4ecc6a80bed338a0117adee0e6d361c135d9123
for Debian-based distribution; this change fixes it also for RPM-based
distributions, where postgresql-devel exists as a package or as alias.

Change-Id: I6288c796a1e9a69be6722bf6f3c4ec0a86a6ae4f
2019-05-06 12:31:29 +02:00
Luigi Toscano f0a1cc99d0 Fix the lower-requirements job: libpq-dev, psycopg 2.7
- Add libpq-dev to bindep.txt
  Apparently this is needed after some unclear change.
  Without this, psycopg fails to install:
  "You need to install postgresql-server-dev-X.Y for building a server-side
  extension or libpq-dev for building a client-side application."

- Bump the minimum version of psycopg to 2.7.2
  pysycopg 2.6.2 is not able to deal with PostgreSQL 10:
  "Error: could not determine PostgreSQL version from '10.6'"

Thanks to https://review.openstack.org/643231

Change-Id: If4ecc6a80bed338a0117adee0e6d361c135d9123
2019-03-18 23:36:42 +01:00
shangxiaobj aa9cf058bc Replace http with https for doc links in sahara
1) Update doc links according to OpenStack document migration
2) Use https instead of http for docs links

Change-Id: I2eb35e925d0facdb4352d02bf433afde61fb7c72
2017-08-27 23:45:09 -07:00
Luigi Toscano 0153879f58 bindep: depends on gettext (release notes translations)
Apparently not noticed until now because no release notes translations
were proposed.

Change-Id: I2c2a73f1a348bbb5b5ad1a043b305605de27c9a4
2017-08-14 15:55:58 +02:00
Jeremy Freudberg b4fb2c404c Use neutronclient for all network operations
Latest novaclient 8.0.0 removed nova-network
related functionality which Sahara depended on for
network operations, even for Neutron.

Now, use neutronclient (and Neutron resources in
Heat) for all network operations.

Additionally, fix devstack coordination backend.

Partially-Implements: bp sahara-remove-nova-network
Closes-Bug: #1692551
Co-Authored-By: Vitaly Gridnev <vgridnev@mirantis.com>
Change-Id: I6b8e12f0d33752e7790c5f40ebe6a3940ff1b0c1
2017-06-07 13:05:16 -04:00
Luigi Toscano b0785d1696 Basic script for pack-based build image
Each review which adds support for another plugin should change
the support matrix defined in the script.

Add the binary dependencies required for the sahara-image-pack
command.

Change-Id: Ibc294bd572ee4da298f125f9d9c4bff87ce5da9d
2017-05-05 11:04:20 +02:00