Commit Graph

15 Commits

Author SHA1 Message Date
Takashi Kajinami 05de67a535 Remove six
Because Python 2 support was removed, we no longer need the six
library which is used to make our code compatible with both Python 2
and Python 3.

Change-Id: I9c956ec5623a58fceff6854a878b4b48197c1ff3
2022-08-16 08:58:47 +00:00
Joel Capitao 6f9aedc4a3 Trove: Use trove::db to set up database options
... because database options of the base trove class have been
deprecated.

Remove CentOS Stream 8 jobs

RDO Zed (currently master) will only support
CentOS Stream 9 [1].
The CS8 DLRN builder is about to be stopped
and removed, so we can get rid of the CS8 jobs.

Plus we need to require "six" explicitly.
Until now, it was installed as transitive dependency.

[1] https://lists.rdoproject.org/archives/list/dev@lists.rdoproject.org/thread/EKPN4RMQEKYS3ZAHRUHZQ47IF7QXOLZH/

Change-Id: Ib82083f328c3e23b07559652e31acb0153c61a43
2022-07-01 14:15:08 +02:00
yatinkarel e11f86aeca Add support for EL9 and python3.9
Following is done:-
- Using distro module to get distribution as platform
  module no longer provide that with python3.8+[1].
- Use mariadb-server-galera as mariadb don't provide
  mariadb-galera-server in EL9[2].
- Ensure 'cronie' package is installed before attempting
  start of crond service.

[1] https://bugs.python.org/issue28167
[2] https://src.fedoraproject.org/rpms/mariadb/c/b1bc71c1a

Change-Id: I744de28a25739c00f585b7d9c12627ce0ed902f2
2021-05-21 05:41:03 +00:00
Javier Pena 3fadea0a99 Remove cryptography from requirements.txt
We are not importing it directly in the code, just as a transitive
dependency for pyOpenSSL, which is already a requirement.

Change-Id: Ia19b054564eda253dadf768557a73401ebf78e89
2017-08-29 11:05:47 +02:00
Alfredo Moralejo 6d032f6908 Bump required version of pyOpenSSL
cryptography-2.0 has been released and requires
version >=1.6.2 of pyOpenSSL. This patch changed
required version of pyOpenSSL to be >= 1.6.2. Given
that we are not capping the version of cryptography
i think we shouldn't cap pyOpenSSL.

Change-Id: I044f6d74d64899eaf9edc3a3931825c5a5d6e84f
2017-07-18 11:49:06 +02:00
Javier Pena b1f8a221cf Do not require a nameserver to detect the local IP address
There may be cases where a name server is not configured on a system,
and there is no Internet access. Changing the local IP detection code
to work on these cases, by using the default gateway as a reference.

Change-Id: I3a6da3cdd3f3a17c24a855a912a3134e651cdc61
Closes-Bug: #1656459
2017-02-13 15:28:50 +00:00
David Moreau Simard 5beecf0509 Revert "Pin pycparser to 2.13"
This reverts commit 236f20a2b8.

The broken wheel has been fixed upstream, it should be safe to remove the pin now.

Change-Id: I88d759d4cb3e9040ee94ebded6af25f88f8c828e
2016-10-04 14:20:26 +00:00
Alfredo Moralejo 236f20a2b8 Pin pycparser to 2.13
Bug https://github.com/eliben/pycparser/issues/147 is
affecting packstack installation from source.

As workaround i'm setting it to ==2.13.

Change-Id: Idf78577988a56404e22ceed9915d4b077e6a46ee
2016-10-03 09:49:15 -04:00
Alan Pevec 1bbcbff4fb Use PBR
Refactor setup.py using Python Build Reasonableness[1]
as a standard for OpenStack projects.

[1] http://docs.openstack.org/developer/pbr/

Closes-Bug: #1559150
Change-Id: Ie3b3845f11236f5338228690418760599914cce4
2016-09-21 17:49:02 +02:00
Javier Pena 15b05be87b Fix pep8 and py27 tests in Ubuntu Xenial
With the introduction of Ubuntu Xenial images, we are having issues
with pep8 and py27 tests, see
http://logs.openstack.org/78/330478/6/check/gate-packstack-pep8-ubuntu-xenial/1011cfa/console.html
for an example.

Since the cryptography version constraint was set to allow Nova to
work, I'm setting the same constraint here (!=1.3.0,>=1.0), which
seems to work as expected.

Change-Id: I2783bf9a7f32e11fdf661b18b2937d3420c6aa2d
2016-08-02 10:56:32 +02:00
Ivan Chavero 7691a6c580 Fix requirements when installing from source
Nova fails to work with some versions of cryptography so we have
to adjust for the version that nova sets in its own requirements,
this makes us set pyOpenSSL < 16.0.0 because it does not work with
the version of cryptograpy that gets installed when it's constrained
to: cryptography!=1.3.0,>=1.0.

Change-Id: I59fbaab8e8034916fb41ee76b429469982bd7d39
2016-04-25 11:24:04 -06:00
Lukas Bezdicka 1c0c36bf40 Refactor SSL setup to use CA to sign certificates
Users can now use Packstack generated CA or provide Subordinate CA to packstack
to sign certificates used by OpenStack.

Resolves: rhbz#1163866

Change-Id: Idd89dbb7f197a194fd87576be6d95a75d059231e
2015-05-27 17:19:27 +02:00
Martin Mágr 9a347f80d5 Single source of documentation
This patch adds feature for parsing docs/packstack.rst file for parameter
USAGE values.

Change-Id: Iea404e8ade657e82ac1e33ad3697180680c3633e
Closes-bug: rhbz#1199847
2015-03-30 12:37:51 +02:00
Gael Chamoulaud 219cf98b4f Adds Hiera implementation within Packstack
Packstack configures Hiera as data backend. Packstack puppet templates are now
using hiera() and hiera_array() functions to fetch data from hiera backend.

Packstack generates a defaults.yaml file in the /var/tmp/packstack directory.

Firewall rules for each openstack components are inserted into the hiera
backend as hash and created by the create_resources function.

Change-Id: Iab553a71264b0fc0f26d33a6304b545ad302f664
Fixes: rhbz#1145223
Signed-off-by: Gael Chamoulaud <gchamoul@redhat.com>
2014-10-27 14:49:09 +01:00
Martin Magr 1265f9b608 Correct CIDR values in case of invalid is given
Change-Id: I4f2a18acb2f5a0c17e7154368b767c70fd166e8c
Fixes: rhbz#969977
2013-07-29 14:13:36 +02:00