Commit Graph

22 Commits

Author SHA1 Message Date
Federico Ressi
1cb0c3d814 Fix issue when noise neaks into get_python_info.py script stdout
Change-Id: I36f9e80199115b628993814f8751ce834f84f467
2021-05-03 11:24:43 +02:00
Eduardo Olivares
99ce6a399c Install python3 from correct repo with rhosp-RedHat-7.9 setups
Tobiko stage was failing on Downstream OSP13 jobs because it tried to
install python3-devel from rhelosp-rhel-7.9-server-opt repository, which had
some problems with dependencies (specifically with package python3-libs)

With this patch, any other repo matching  rhelosp-rhel-*-server-opt*
is enabled and python3-devel can be installed successfully

Change-Id: I4b3db12ffccef7ff6357e2ef96c27e238572b5fc
2020-09-15 08:33:22 +02:00
Federico Ressi
07e593f829 Rewrite Vagrant file using ansible and Centos 8
Depends-On: Ifa876b3e5f89258f40055fa7ce03f5e9c601771c
Change-Id: I806c76bff85210f74cd23c29835f41c174b8c960
2020-06-23 11:47:17 +02:00
Federico Ressi
bb0a45ffde Update role tasks to reduce false 'changed' state
Change-Id: If7b1d35bdf89a249214b81ee8979c16cea275789
2020-06-22 13:11:54 +02:00
Federico Ressi
846fd51a97 Handle non-RHOSP hosts without rescueing from an error.
Change-Id: I2f8bee52d8fd5b9e28c9b366e3b4ccc064429fa8
2020-06-22 11:13:04 +02:00
Federico Ressi
2c38d883bb Use special RHOSP vars files in tobiko-ensure-python3 role
Change-Id: I09055d0610ddc26c0ada947f95d823c28e9494b4
2020-06-10 05:33:10 +00:00
Federico Ressi
711cfcb6ad Add py3 prefix to Python 3 platform vars files
Change-Id: I577f2558bb1468478fa6c86b65646286a49fffac
2020-06-08 15:19:19 +02:00
pinikomarov
31ce2569c1 Fix rhel optional repo not found and not reported as error
error links:
http://pastebin.test.redhat.com/872688
http://pastebin.test.redhat.com/872689

problem 1)
currently even a made up repo enable command returns zero:
[stack@undercloud-0 ~]$ sudo yum-config-manager --enable petepan-repo-rhel-7
[stack@undercloud-0 ~]$ echo $?
0
we can switch to using "shell" ansible module, and grep for the baseurl
so that the if it fails we'll actually catch the error

problem 2)
no such thing as rhel-7-server-optional-rpms repo (exists only in som latest versions)
what does exist is : rhelosp-rhel-7.8-server-opt
and we can use : rhelosp-rhel-*-server-opt
to be version agnostic

Change-Id: Icd5c62d3d421e0f561032620ab3548d32b4ff387
2020-06-08 03:29:12 +03:00
Federico Ressi
12db48915f Enable rhel-7-server-optional-rpms repo
This allows to install 'python3-devel' package removing
therefore the need for compiling python on RHEL-7

Change-Id: I103f5d52fee4f54dba03588b469da3bae66e714d
2020-06-05 09:59:53 +00:00
Federico Ressi
38b58a6d0e Enforce using compiled python release on RHEL-7 by pinning 3.7 release
Use the same configuration for CentOS-7 and RHEL-7

Change-Id: Ie18bcfcab53e4d5c82d19a002ae4dded15a5e6cd
2020-06-04 14:12:46 +02:00
Federico Ressi
15fa84f133 Compile Python3 on RHEL-7
Change-Id: I20a8764560174fde7cee9147afd0bd3dc01bfb51
2020-06-03 18:59:18 +02:00
Federico Ressi
d4b18155a4 Remove python3-devel package from RHEL-7 bindeps
This allows running InfraRed jobs against RHEL-7 hosts
Test cases are going anyway to fail because python3-devel
is actually required by Tobiko python dependencies.
Romoving this package from dependencies helps fixing
other issues before package lack is solved.

Change-Id: I47aeae358652a7ee5618d8cec9dae01f872f5c40
2020-06-03 16:00:18 +02:00
Federico Ressi
64308b3eb4 Add Fedora 32 IR jobs (with Python 3.8)
Change-Id: Ie3d720f8a42ae1d7b20f43f673b8f80592971dbb
2020-05-25 10:28:13 +02:00
Federico Ressi
302a5711c5 Add support for Fedora 31 and Python 3.7
Change-Id: I118074705c9b83167914d1d0d568f8727d2076e3
2020-05-20 16:16:29 +00:00
Federico Ressi
2f95d7a975 Add support for ubuntu 20.04 LTS and Python 3.8
Change-Id: Ie1972f708bd0901117cfcb8341b55b8e6ef3cf64
2020-05-20 11:25:25 +02:00
Federico Ressi
9cf069dbb0 Remove support for Python2.7 on all upstream jobs
Because upstream OpenStack requirements master branch
(Victoria) removed any support for Python 2.7 upstream
jobs started failing. We where only using Python 2
because infrared installation process fails on
RHEL/CentOS 7 and Python 3 due to lacking SE Linux
Python bindings.

This workaround this issue by removing support
for Python 2.7 and CentOS/RHEL 7. The support for
CentOS 7 could be restored once the IR issue has
been fixed.

Change-Id: I09d2577a0e5cb4c7efbb6863294f63b2dd88de0a
2020-05-18 14:58:20 +02:00
Federico Ressi
388426812d Use upper-constraints file from requirements project
Change-Id: I26318898ced32248a2ff31a78ec15d49382b9027
2020-05-04 14:47:41 +02:00
Federico Ressi
20c05cd1b9 Fix broken infrared toxenv on CentOS/RHEL-8
- use OpenStack uppser-constrains file for infrared toxenv
- make tobiko-tox-infrared-centos-8 job voting
- ensure setupptools and wheel versions are up to date

Change-Id: I04934b6eba6c35acf6ed2bcb9702b09a31dac8bf
2020-04-30 14:34:07 +02:00
Federico Ressi
3aa27f1beb Use test_become flag in Tobiko ansible roles
Change-Id: Ic8b6895b0bdab441b6aec0a6c8007252bfaaa5f0
2020-04-22 15:50:59 +02:00
Federico Ressi
f1b479c990 Add Ubuntu Bionic Infrared plugin job
Change-Id: Idfe053b9f3d708ea9fdbe864f320e72d01d21a81
2020-04-13 13:55:51 +02:00
Federico Ressi
31f6026ab9 Implement test workflow steps
Change-Id: I34026836ac42dd6f2a5e5dfc05203c460cc949fc
2020-04-08 14:32:58 +02:00
Federico Ressi
86441d7aac Update roles requiring python
Change-Id: Iae5cd4affc3e7d148221e55768fbdf6d28907e54
2020-04-03 11:10:38 +00:00