1
0
mirror of https://github.com/openshift/openshift-ansible.git synced 2026-02-05 06:46:04 +01:00

14653 Commits

Author SHA1 Message Date
openshift-merge-bot[bot]
75653ac296 Merge pull request #12529 from gpei/add_afterburn
OCPBUGS-54955: Add the afterburn package into the openshift_node_packages list
2025-04-18 15:32:46 +00:00
Gaoyun Pei
efa80c7b8e Add the afterburn as the installed package 2025-04-14 08:49:09 -04:00
openshift-merge-bot[bot]
b37970c8c7 Merge pull request #12528 from gpei/prevent_419_rhel
CORS-3957 - Drop the support for RHEL node when cluster version is 4.19 and above
2025-04-01 11:18:51 +00:00
Gaoyun Pei
c283ce13ac Corrent the failure msg a bit 2025-04-01 03:53:12 -04:00
Gaoyun Pei
d8bcab24d8 Remove the support for 4.19+ from the ansible playbook 2025-04-01 03:42:25 -04:00
openshift-merge-bot[bot]
006fe4e17c Merge pull request #12523 from gpei/fix_drain_option
OCPBUGS-44318: Replace the unsupported option "--delete-local-data" to the new one "--delete-emptydir-data"
2024-11-07 12:28:30 +00:00
Gaoyun Pei
a81fc72f38 Replace the unsupported option to the new one 2024-11-04 19:28:09 -05:00
openshift-merge-bot[bot]
a168100667 Merge pull request #12518 from barbacbd/OCPBUGS-34844-disable-repo
OCPBUGS-34844: Force disable container tools
2024-10-20 07:42:55 +00:00
Brent Barbachem
bd84996de4 OCPBUGS-34844: Force disable container tools
** Disable the container tools in a more aggressive manner.
** Skip disabling when the repo is not found.
2024-10-18 13:41:52 -04:00
openshift-merge-bot[bot]
49992a2c19 Merge pull request #12522 from barbacbd/update-test-requirements
no-jira:  Update Test Requirements
2024-10-18 17:40:30 +00:00
Brent Barbachem
3b9289a934 no-jira: Update Test Requirements
** This reverts 879fe0ec0e in favor of using a specific version of setuptools.
**  Most people consider the deprecation of setuptools `tests_require` in 40.0.0 (this still causes errors). Previous versions also give errors
but for different missing features. Setuptools 45.0.0 appears new enough to get rid of said errors while still including the `tests_require` feature.
Considering 45.0.0 the sweetspot. This simplifies the travis config changes and setup.py changes. This also ensures we stick to specific versions.
2024-10-18 08:10:28 -04:00
openshift-merge-bot[bot]
8dcb4e65b7 Merge pull request #12521 from barbacbd/fix-travis-ci
no-jira: Fix travis ci issues with tox
2024-10-18 01:34:52 +00:00
Brent Barbachem
5519f89f98 OCPBUGS-43493: add crun to list of installed packages
** The new versions of crio split some of the services out. This is required
as a separate package to run crio.
2024-10-17 12:38:09 -04:00
Brent Barbachem
879fe0ec0e no-jira: Fix travis ci issues with tox
** There appear to be some issues occurring due to changes in setuptools. The
setuptools are used for yamllint and asible-syntax now but not pylinting. The
pylint was causing an issue to be hit for an unknown attribute in setuptools_lint.
** Each task was separated out in the travis ci file too in order to run them with
different deps - this will allow us to use built in features for pylint.
2024-10-17 12:20:20 -04:00
openshift-merge-bot[bot]
f49f79b86d Merge pull request #12514 from gpei/update_network_to_netavark
OCPBUGS-39178: Update the network backend of podman to Netavark if installing Podman 5.0 and higher
2024-09-03 11:07:46 +00:00
Gaoyun Pei
000c0ca0d4 Update the network backend of podman to Netavark if installing podman-5.0 and greater 2024-08-30 03:28:19 -04:00
openshift-merge-bot[bot]
d15426bab2 Merge pull request #12506 from gpei/support_rhel9
Add rhel-9 attribute in openshift_node_support_packages
2024-08-20 01:15:14 +00:00
Gaoyun Pei
74c5183d38 Add rhel-9 attribute 2024-08-19 02:25:54 -04:00
openshift-merge-bot[bot]
9fa7de2ee4 Merge pull request #12505 from barbacbd/OCPBUGS-34844
OCPBUGS-34844: Disable repo container-tools before installs
2024-08-09 07:30:55 +00:00
openshift-merge-bot[bot]
444a9de1cb Merge pull request #12503 from barbacbd/update-images
OCPBUGS-35209: Update Dockerfile to centos9 stream.
2024-08-09 04:32:05 +00:00
Brent Barbachem
3a050d6d7c OCPBUGS-34844: Disable repo container-tools before installs openshift-packages 2024-07-31 12:28:09 -04:00
Brent Barbachem
a6bd99588c Ansible core must be less than 2.17 for rhel 8 2024-07-09 20:09:27 -04:00
Brent Barbachem
ca88683e7e ** Update Doc reference to centos9 and ubi9 2024-07-01 10:35:43 -04:00
Brent Barbachem
e4c1cd53ef OCPBUGS-35209: Update Dockerfile to centos9 stream.
** Centos8 is End of Life as of May 31, 2024
2024-06-10 08:55:49 -04:00
openshift-merge-bot[bot]
78065326c7 Merge pull request #12496 from barbacbd/update-ipsec
OCPBUGS-30802: ipsec: Update the ipsec tasks to ensure that they are idempotent
2024-04-10 13:04:11 +00:00
Brent Barbachem
938528fbb2 Fix package conflict for openshift-hyperkube
**With a recent move away from openshift-hyperkube towards openshift-kubelet
the upgrade process will break as the hyperkube package in 4.15 conflicts with
the kubelet package of 4.16. This fix will remove the hyperkube package if it is
installed. This should be backwards compatible, because this process is run before
the update to reinstall package occurs. In the event that the package was intended
to be on the system it will be reinstalled.
2024-04-04 08:12:25 -04:00
Brent Barbachem
1045547ada Update Travis CI run(s)
** Updating tox python references
** Updating python version for travis
** Removing version deps for requirements.txt for ansible core
2024-03-29 13:04:59 -04:00
Brent Barbachem
6f79fba3c9 OCPBUGS-30802: ipsec: Update the ipsec tasks to ensure that they are idempotent
** check the number of entries with semanage. If one exists, do not re-run or it could cause install/upgrade failures.
2024-03-29 09:43:56 -04:00
openshift-merge-bot[bot]
aec1964a5b Merge pull request #12495 from sdodson/openshift-kubelet
Switch to openshift-kubelet package
2024-03-26 15:14:55 +00:00
openshift-merge-bot[bot]
2ef36bec17 Merge pull request #12476 from barbacbd/OCPBUGS-22366
OCPBUGS-22366: Restart the openvswitch service on [re]install
2024-03-08 14:11:20 +00:00
openshift-merge-bot[bot]
66a3ef862b Merge pull request #12492 from theobarberbany/add-image-credential-providers
OCPCLOUD-2484,OCPCLOUD-2481: Adds azure and gcp image credential providers
2024-03-07 16:04:08 +00:00
Scott Dodson
6a063c4690 Switch to openshift-kubelet package
See https://github.com/openshift/kubernetes/pull/1882

This will likely require some testing. I would expect clusters upgrading
to the new packaging to be fine but still have all of the other packages
installed. Maybe at some point we should come back and remove the other
packages but it doesn't seem imperative now.
2024-02-26 15:06:32 -05:00
Theo Barber-Bany
a59e049615 Adds azure and gcp image credential providers
Install the azure and gcp image registry credential providers, that are
required from 4.16.
2024-02-19 15:09:55 +00:00
openshift-merge-bot[bot]
b0ba95ac84 Merge pull request #12486 from sdodson/ocpbugs-29527
OCPBUGS-29527: Install ose-aws-ecr-image-credential-provider
2024-02-16 21:39:41 +00:00
openshift-merge-bot[bot]
08782ff2c8 Merge pull request #12489 from barbacbd/fixing-pip-issues
Ensure that pip3 is available.
2024-02-16 15:59:00 +00:00
Brent Barbachem
d61540b5d1 Ensure that pip3 is available.
** python3.11 is installed, but it was not referenced or linked. Add a symlink so that
the executable pip3 are available.
2024-02-16 09:19:30 -05:00
Scott Dodson
2956dc04c1 OCPBUGS-29527: Install ose-aws-ecr-image-credential-provider
This is a new package required since 4.14.11
2024-02-15 09:56:11 -05:00
Patrick Dillon
195af4864d Merge pull request #12485 from yuvalk/ipsec-install
ipsec: fix selinux labels on nss db dir
2024-02-09 12:28:32 -05:00
Yuval Kashtan
28cc175bdf ipsec: add chcon to make sure labels are correct 2024-02-08 23:34:52 +02:00
Yuval Kashtan
00c5695544 ipsec: split ipsec tasks to it's own role
and import it into install.yml so it will correctly run in all needed
cases
2024-02-08 23:34:36 +02:00
Yuval Kashtan
f9717d5270 ipsec: fix selinux labels on nss db dir 2024-02-08 17:27:57 +02:00
Patrick Dillon
c2c12d00bf Merge pull request #12482 from yuvalk/ipsec-install
ipsec: edit /etc/ipsec.conf to modify nssdir
2024-02-07 14:32:39 -05:00
Yuval Kashtan
80c0dedb21 ipsec: edit /etc/ipsec.conf to modify nssdir
this is needed to align with where RHCOS stores nss db
2024-02-07 18:46:56 +02:00
Patrick Dillon
c369981638 Merge pull request #12477 from yuvalk/master
Add rpms needed for ipsec
2024-02-06 20:01:29 -05:00
Yuval Kashtan
16da3defa0 Add and enable ipsec service
this include installing libreswan
and enabling it's systemd service

this is to align with rhcos, see: https://github.com/openshift/os/blob/master/extensions-rhel-9.2.yaml#L14
2024-02-07 02:02:30 +02:00
Patrick Dillon
d96c87d8f8 Merge pull request #12479 from barbacbd/fix-versions-in-dockerfile
Dockerfile: Update versions
2024-02-06 17:39:07 -05:00
Brent Barbachem
bd075dac31 Dockerfile: Update versions
** Update dockerfile versions. Specifically trying to erase python version errors.
2024-02-06 15:47:23 -05:00
Brent Barbachem
e80be9dff2 OCPBUGS-22366: Restart the openvswitch service on [re]install
Restart the openvswitch service when installed/upgraded if it exists. This should resolve network
connectivity issues during upgrades.
2024-01-03 12:13:36 -05:00
OpenShift Merge Robot
8ea9a4124e Merge pull request #12467 from barbacbd/OCPBUGS-18703
OCPBUGS-18703: Correct upgrade for conflict packages.
2023-09-27 16:28:31 -04:00
Brent Barbachem
6154dfba01 OCPBUGS-18703: Correct upgrade for conflict packages.
** The yum module was originally having issues with upgrades (conflicts). Yum had a swap but the issues persisted.
A custom workaround was used by downloading RPMs. The process worked except for upgrades. It appeared that the evs-vswitchd daemon
was not correctly restarting causing lost connections during the upgrade process. The DNF module will use the --allowerasing option to
remove and install the package at the same time, avoiding the issue.

** Also noting that there were sometimes issues when the upgrade for openvswitch would upgrade to a package of the same version. This problem
has also been tested and works better with the DNF module.
2023-09-27 10:12:45 -04:00