Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix RKE2 binary path check #270

Merged
merged 8 commits into from
Nov 20, 2024

Conversation

jLemmings
Copy link
Contributor

Description

When upgrading a RKE2 cluster which either /usr/local is its own partition or its not writeable then it fails to use the rke2 binary. A similar fix has been made before for the hardening part. This PR moves the partition check to an earlier step and uses the information deciding where the binary is located.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • Small minor change not affecting the Ansible Role code (GitHub Actions Workflow, Documentation etc.)

How Has This Been Tested?

Locally

@MonolithProjects
Copy link
Collaborator

@jLemmings thanks for the PR. Could you please resolve the conflicts?

@MonolithProjects MonolithProjects self-assigned this Nov 7, 2024
@MonolithProjects MonolithProjects added the bug Something isn't working label Nov 7, 2024
@jLemmings
Copy link
Contributor Author

@MonolithProjects fixed the new merge conflicts.

tasks/rke2.yml Outdated Show resolved Hide resolved
Copy link
Collaborator

@MonolithProjects MonolithProjects left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MonolithProjects MonolithProjects merged commit 101bb0f into lablabs:main Nov 20, 2024
5 checks passed
@jLemmings jLemmings mentioned this pull request Nov 27, 2024
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants