Open emosbaugh opened 2 weeks ago
Hi, just a minor update, I successfully reproduced this and I'm currently working on it.
Thanks!!!
Note to self:
The issue is that the existing charts never reach the function InstallOrUpgradeChart because the controller doesn't get an event for existing objects.
https://github.com/k0sproject/k0s/blob/main/pkg/component/controller/extensions_controller.go#L282
I'm pretty sure we must patch the ExtensionsController.Start() function https://github.com/k0sproject/k0s/blob/main/pkg/component/controller/extensions_controller.go#L411
Not quite sure how though.
Before creating an issue, make sure you've checked the following:
Platform
No response
Version
v1.29.5+k0s.0
Sysinfo
`k0s sysinfo`
What happened?
The k0s-controller crashed during initial installation, and when it was restarted by the systemd controller it did not install the helm charts.
Unfortunately since this error occurred in CI I only have what was collected by our automation.
Steps to reproduce
1. 2. 3.
Expected behavior
Upon restart of the controller the helm charts install will resume.
Actual behavior
Helm chart extensions were never installed.
Screenshots and logs
k0scontroller-logs.txt
charts.yaml.txt
Below are https://troubleshoot.sh/ bundles:
TestMultiNodeAirgapUpgradeSameK0s-support-bundle-host.tar.gz.zip
TestMultiNodeAirgapUpgradeSameK0s-support-bundle-cluster.tar.gz.zip
Additional context
Relevant stack trace: