Commit Graph

29 Commits

Author SHA1 Message Date
Jonathan Rosser 4eac7fd2c1 Clean up code from unsupported operating systems
Remove SUSE, Gentoo, and references to yum package manager.

Change-Id: If591661b4145219f7837960f93bc9647b60d2a70
2021-03-11 23:08:21 +00:00
Marc Gariepy 0b59539f55 Deploy modern ara for CentOS 8 deployments
As CentOS 8 is not compatible with old ara, we installing new one isnted
Also providing py3 as default python for CentOS 8

Change-Id: I264e6f8bfa507668dada7b629af52a8a13001a45
2020-05-22 00:25:15 +03:00
Dmitriy Rabotyagov 1d11db71e8 Remove gzip installation
Since we do not compress logs in CI no reason to have gzip
in bindep file.

Change-Id: Ibbaef0cb0381d9859747b69d613c50f17ab11176
2020-05-12 15:56:36 +03:00
Jonathan Rosser b4355c9360 Install python3 tools and libraries instead of python2
Change-Id: Ibe3b9fe5f3ec46524c7ac039789163d77dacb710
2020-03-10 14:44:33 +02:00
Jonathan Rosser df7fed2c56 Do not compress log files before uploading
Log file compression is now not supported in the zuul log viewer.

Change-Id: I8738b28eb4f0fef314c751f67c7f361641128544
2020-03-03 21:26:21 +00:00
Mohammed Naser 174df6c505 bindep: add python3 to centos 7
This will allow us to run the functional tests successfully using
Python 3.

Change-Id: Iaaafb36be0ce01cde839a1e005bbdf76b98036bd
2020-02-24 09:30:41 +01:00
Dmitriy Rabotjagov 3bf45d57cb Replace git.openstack.org with opendev.org
This patch replaces git.openstack.org with opendev.org as redirection
from old path was enabled.

Change-Id: I8a070e0aded59dd7a4751218bd95bc23d153c6d3
2019-05-08 19:49:28 +03:00
Jean-Philippe Evrard a99c8c7c08 Use the right git in all openstack-ansible bindeps
SUSE has a git-core package, lighter than git. We should use it.

Change-Id: I7c722220a6cd4b72a0fbe70596ec97a518c67998
2019-03-22 16:57:25 +01:00
Matthew Thode 63dbdfe819
add Gentoo jobs as non-voting
Depends-On: https://review.openstack.org/608325
Depends-On: https://review.openstack.org/608393
Depends-On: https://review.openstack.org/633092
Depends-On: https://review.openstack.org/633093
Depends-On: https://review.openstack.org/633152
Depends-On: https://review.openstack.org/633289
Depends-On: https://review.openstack.org/633394
Depends-On: https://review.openstack.org/633385
Depends-On: https://review.openstack.org/633423
Depends-On: https://review.openstack.org/633424
Change-Id: I8ca881dc47ae26de0caee75385e302396c99bf42
2019-02-22 13:49:51 -06:00
Markos Chandras 97ff03c323 bindep.txt: Consolidate some RPM depdendencies
Since bindep commit de6726520b1b ("bindep: Query for RPM capabilities as
well") we can now use RPM capabilities in the bindep.txt files and this
allows us to merge some of the existing RPM dependencies from SUSE and
RedHat. Moreover, drop the profile information from the gcc package
since it's common everywhere.

Change-Id: Ia040b1f87df9625e062a0f9ae2b0ef566138f463
2017-12-05 17:50:02 +00:00
Major Hayden 88b2e56dbd
Remove SSL SNI packages from bindep
This patch removes the SSL SNI packages as they're no longer needed
on the host.

Change-Id: I90b78a5a540886c738ad374bf239c1871dbd0079
2017-09-12 08:52:26 -06:00
Major Hayden 37ed1bb6b4
Remove ubuntu-14 reference from bindep
With the removal of RHEL 6 STIG content for Trusty in the
ansible-hardening role in Queens, we no longer need any package
references for Ubuntu 14.04. This patch removes the reference
from bindep.txt.

Partial-Bug: 1715745
Change-Id: I37ff24baf16bee1d83b0c62d7764e59001fcb9b9
2017-09-08 09:01:57 -05:00
lidong e24b828c30 Update links in bindep
Change the outdated links to the latest links in README

Change-Id: Ibc4edd680f432379fe9515c782aeaf4a4eda3c92
2017-08-31 09:10:30 +08:00
Jesse Pretorius 078e50f7ef Reduce package set to install via bindep
The build-essential meta-package is a very large
set. We only need gcc and the others listed in
order to support pip and Ansible. The fewer we
install via bindep, the greater the chance we
have of figuring out what's missing from each
role's distro package list.

Change-Id: I97f068eb1368fccb61be900625e5b5dcbf77d527
2017-08-24 08:10:09 +00:00
Major Hayden 4e3d92e715 Install pyOpenSSL on CentOS
python2-pyOpenSSL is only available from the CentOS RDO QEMU repo
and that repo is not commonly installed on a basic CentOS 7 system.
It happens to be pre-installed in the OpenStack CI gates and that's
why this bindep file works.

However, this package installation fails on a normal CentOS 7
system and it can cause problems during deployment or testing.

The EPEL repository has a package called pyOpenSSL that provides
python bindings for OpenSSL on CentOS systems. That should be used
instead.

In addition, dnf will fail entirely with a bad exit code if a package
isn't found. The yum package manager will trudge on without errors.

Closes-Bug: 1708493
Depends-On: I2ac5a9c463991e4668a3e7608831c1944377e85e
Change-Id: I93de939304b57a211f2eb281365d5a591752be7d
2017-08-04 14:09:23 +00:00
Logan V 8e769cc26e Add python3 packages to tests repo bindep
Install the python3 OS packages so we can begin running py3 based
tox scenarios in the tested roles.

Change-Id: I77d0d58942492ad4185f62bc659e2fabeac065e0
2017-07-31 13:11:54 -05:00
Markos Chandras 95eb17d437 bindep.txt: Use explicit openSUSE Leap 42.2 dependencies
bindep.txt does not understand rpm patterns yet so we need to avoid
them until such support is added. As such, we use explicit package
names for openSUSE Leap 42.2 in order for experimental openSUSE CI
jobs to start being useful.

The bindep rpm pattern support is discussed in
https://review.openstack.org/#/c/476851/ so this patch can be
simplified once this change is in and deployed in the OpenStack CI
nodes. For now, this change is needed to unblock the openSUSE CI jobs.

Link: https://review.openstack.org/#/c/476851/
Change-Id: I1694d18c685b5bf2ced8517e3f8f5de97fcd5c2f
2017-07-06 09:07:57 +01:00
Markos Chandras 36342b4536 bindep.txt: Extend bindep.txt for ansible-hardening
python-apt and python-dnf are required by the ansible-hardening role
so add them to bindep.txt. The role also supports Fedora 25 and Ubuntu
Trusty so fix some packages for these distributions.

Change-Id: I28c009170cbb316c2cbddd2ca0fd72fff853c4af
2017-07-06 09:07:55 +01:00
Markos Chandras e49809e95d bindep.txt: Fix package name for ndg-httpsclient
Commit 15ed2ec42c ("bindep.txt: Use RedHat and SUSE platforms in
bindep.txt") added support for the new 'redhat' and 'suse' families
in bindep. However, this broke the SUSE case because the ndg-httpsclient
package name is different between RedHat and SUSE so we need to use
separate packages for these families.

Fixes: Commit 15ed2ec42c ("bindep.txt: Use RedHat and SUSE platforms in bindep.txt")
Change-Id: I36919b56b01a32ca8014377181fe9907fd901ea7
2017-04-26 11:54:14 +01:00
Markos Chandras 15ed2ec42c bindep.txt: Use RedHat and SUSE platforms in bindep.txt
Newest bindep supports the 'redhat' and 'suse' platforms to group
together the CentOS, Fedora, RHEL and openSUSE, SUSE distributions
respectively. As such, update the bindep.txt file to use these
platforms and always require bindep>=2.4.0 which added support for them.

Change-Id: I5490c12db46afc6ad4ec359f9274df9551881219
2017-04-25 17:16:13 +01:00
Markos Chandras 3fa21be02b Vagrantfile: Add support for CentOS 7
Add support for CentOS 7 Vagrant VMs. This also updates the bindep.txt
file so it can be easier to copy it across OSA repositories.

Change-Id: Iaf2ef0a0d6278605ce411da0c55d3c667e77a588
2017-03-31 11:28:51 +01:00
Markos Chandras 6df06f4200 vagrant: Add openSUSE Leap 42.1
Add support for testing ansible roles against openSUSE Leap 42.1.
This also improves the run_tests.sh script and also adds support for
openSUSE bindep dependencies. Finally, it adds a new BINDEP_FILE
variable which can be used to set an alternative bindep.txt dependency
file.

Change-Id: I57357b119eb1d8eb7726401b8feb48d1ae08c470
2017-03-30 13:49:07 +01:00
Jimmy McCrory cd281f12f3 Install python2-pyOpenSSL package on CentOS
Package pyOpenSSL is obsoleted by python2-pyOpenSSL.

Change-Id: Ie2162990273c6c316673d2b891353e109204aed4
2017-03-03 11:12:35 -08:00
Andy McCrae 2249c567c2 Remove Trusty support from tests repository
Change-Id: I66b5bef5ec55b87902bf25f8bc56dfb0d33a5ff1
Implements: blueprint trusty-removal
2016-12-16 10:26:39 +00:00
Joshua Hesketh 2ccbecf349 Use git.o.o and regen requirements file
Change-Id: I30683b1e0374039875534dc439163284813a2aa1
2016-11-02 12:25:04 +11:00
Jesse Pretorius aac2f5411d Compress test execution logs
The volume of logs we collect in CI jobs are extensive. This
patch ensures that the logs collected are compressed to reduce
the space taken in CI systems.

PYTHONUNBUFFERED is also set to ensure that the console log
from the CI jobs is recorded in the exact order of execution.

Change-Id: I323987e281eff6245189109e6c4b17e999739b8c
Related-Bug: #1620849
2016-09-09 10:58:01 +01:00
Qin Wang bf0c4ef981 Add SNI support via OS packages for openstack-ansible-tests
Some Linux distributions, such as CentOS 7 and Xenial, have trouble
validating SSL certificates when using get_url with servers
that use Server Name Indication (SNI).

This patch adds those packages to the list of required packages and
uses bindep to install them in developer test environments the same
way that the gate tests install them.

Change-Id: Ibc90483b4d47e43c675f6696d8e0e6089d108f98
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-08-19 15:55:21 +00:00
Chris Smart 23d23133d1 Fix the ansible-func-centos-7-nv test
The ansible-func-centos-7-nv test fails because the package names for
dependencies are different in CentOS than Ubuntu.

This adds specific packages for dpkg and rpm based systems.

Change-Id: I2ab79fed6ec838d2302edc855957bb48d5178932
2016-08-16 12:27:07 +10:00
Jean-Philippe Evrard 5fb187fc48 Move other-requirements.txt to bindep.txt
The default filename for documenting binary dependencies has been
changed from "other-requirements.txt" to "bindep.txt" with the release
of bindep 2.1.0. While the previous name is still supported, it will
be deprecated.

Move the file around to follow this change.

Note that this change is self-testing, the OpenStack CI infrastructure
will use a "bindep.txt" file to setup nodes for testing.

For more information about bindep, see also:
http://docs.openstack.org/infra/manual/drivers.html#package-requirements
http://docs.openstack.org/infra/bindep/

As well as this announcement:
http://lists.openstack.org/pipermail/openstack-dev/2016-August/101590.html

Change-Id: I13064d51a930cc2d03ce0aab484e8e1240f75229
2016-08-15 00:22:06 +01:00