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

System Upgrade Controller install failed due to missing /etc/pki dir #1043

Merged
merged 3 commits into from
Nov 25, 2023

Conversation

PrymalInstynct
Copy link
Contributor

During a ground up rebuild I noticed that the System Upgrade Controller deployment failed because it could not mount /etc/pki on the host. so I created a task in cluster-prepare.yaml to do so.

Error

MountVolume.SetUp failed for volume "etc-pki" : hostPath type check failed: /etc/pki is not a directory

@github-actions github-actions bot added area/ansible area/bootstrap Changes made in the bootstrap directory labels Nov 25, 2023
@onedr0p
Copy link
Owner

onedr0p commented Nov 25, 2023

I think it might be easier to change this line to DirectoryOrCreate in https://github.com/onedr0p/flux-cluster-template/blob/main/bootstrap/templates/addons/system-upgrade-controller/app/helmrelease.yaml.j2#L93

Edit: Looks like it should be that (and some other mounts) according to the source. https://github.com/rancher/system-upgrade-controller/blob/master/manifests/system-upgrade-controller.yaml#L126

Back out Previous Change
@PrymalInstynct
Copy link
Contributor Author

PrymalInstynct commented Nov 25, 2023

Updated PR to suggested option

@onedr0p onedr0p merged commit 68b3e27 into onedr0p:main Nov 25, 2023
1 check passed
@onedr0p
Copy link
Owner

onedr0p commented Nov 25, 2023

Thanks!

@PrymalInstynct PrymalInstynct deleted the system-upgrade-controller-fix branch November 25, 2023 23:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/bootstrap Changes made in the bootstrap directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants