rancherfederal / rke2-ansible

RKE2 cluster provisioning via Ansible.
Apache License 2.0
233 stars 129 forks source link

Add retries to rke2-server and rke2-agent RPM install tasks #251

Closed onceinarow closed 5 months ago

onceinarow commented 5 months ago

What type of PR is this?

(REQUIRED)

What this PR does / why we need it:

We experience frequent issues when attempting to install the rke2-server and rke2-agent RPMs. The failures happen most frequently with the rke2-agent RPM for whatever reason. The addition of retries has allowed our RPM installations to not have any issues over the last 4+ weeks with this modification locally.

Which issue(s) this PR fixes:

Fixes #250

Special notes for your reviewer:

We have been running with this modification with no issues for over a month now.

Testing

Unfortunately, it was intermittent, so with a series of automated tests, this would show itself every now and then in a cloud-based environment.

Release Notes

N/A