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
Rancher fleetchart updates and pins version #1590
Comments
Update: we have agreed to restrict pinning as follows: Rancher shall refrain from updating a manually set Fleet version only if that version is more recent than the pinned Fleet version for the considered Rancher release. |
|
See rancher/rancher#42304 (comment) for additional test cases |
@weyfonk what is this issue waiting for ? |
What we need at this point is a review of #1880 to be able to properly release Fleet against Rancher, as per my previous comment. |
QA TEST PLAN Scenarios
Note: Referring some test scenario's from this comment: rancher/rancher#42304 (comment) |
TEST RESULT
REPRO STEPS
Scenario 1
Scenario 2
Scenario 3
Scenario 4
Scenario 5
Scenario 6
Scenario 7
Scenario 8
|
Last 2 scenario's will be covered in a separate issue. PR is already created. Scenarios
|
SURE-6673
When upgrading Rancher from one minor version to another, e.g. 2.6 to 2.7, the
chart-default-branch
changes torelease-v2.7
. This leads to an update of the catalog resource and a git update. Afterwards (at the same time?) the fleetchart controller triggers, ensuring the latest fleet version from the rancher/charts repo is installed. It will install at least the version of fleet that is greaterCATTLE_FLEET_MIN_VERSION
.Besides triggering an upgrade due to a minor version upgrade of Rancher, there are reports of other situations, which will lead to a repo update and fleet upgrade.
This upgrade process ignores the chart annotation
catalog.cattle.io/rancher-version
, which is used for filtering UI dropbox entries only:Which versions are available to install? Besides the charts in the repo, there is also a fleet version in the bundled repo (container image) and the container's cache.
In practice this means, there is no direct relation between the Rancher version and the Fleet version.
Additionally, when updating from one patch version to another (x.y.Z), the
chart-default-branch
does not change and often no automatic update of fleet is triggered:Acceptance Criteria
We want to pin the fleet version to the Rancher release. When updating, installing X, we should always pull in fleet Y.
See rancher/rancher#40159 for a possible solution.
The text was updated successfully, but these errors were encountered: