-
Notifications
You must be signed in to change notification settings - Fork 228
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
[backport][v0.9][SURE-7469] Imagescan breaks fleet controller #2181
Comments
QA TemplateSolutionFixes panic issue when working with pre-release image tags and the "*" range. TestingCreate a imagescan configuration using the "*" target and images with pre-release tags. (0.0.1-10, 0.0.2-20, etc) Additionally, you should see the message: Additional info |
Checked and working in Rancher 2.8.3-rc3 and Fleet 0.9.1-rc.6 System Information
For upgrade installation
Installation and TestingScenario 1 - Test Fleet controller does not crash when image tag does not include semserver range and check no panic logs are found
Before this happened:
Pod crashed:
Scenario 2 - Check crashed pod, panic logs errors and correct logs appear after upgrade to healthy version
|
SURE-7469
backport of: #2096
Issue description:
Fleet controller in Rancher upstream clusters crashes if the imagen tag does not include the semver range expected when using ImageScan in the fleet.yaml file.
Business impact:
Fleet goes into a crash and the GitRepos are not updated.
Troubleshooting steps:
From the customer:
In artifact registry our latest image was built 20 hours ago and has the tag 0.0.0-52. The one deployed with the initial fleet.yaml file is 0.0.0-44. This fails to update.
Actual behavior:
Fleet controller in Rancher upstream clusters crashes if the imagen tag does not include the semver range expected
Expected behavior:
Fleet controller should not be crashed.
Files, logs, traces:
-GitRepo project-test2: project-test.yaml
-Gitjob log
-Fleet controller log
Additional notes:
As this comment remarks https://github.com/rancher/fleet/pull/413#issuecomment-880228630, it might lack understanding how to set up the parameter semver ranger in the fleet.yaml manifest.
The text was updated successfully, but these errors were encountered: