Skip to content

[FEATURE] Introduce upgradeVersionCheck to decide version upgrade enforcement  #7539

Description

@innobead

What's the task? Please describe

Requesting to allow Harvester users to skip version 1.5 and upgrade directly from version 1.4 to 1.6. Upgrade version enforcement requires a new path to be created. Besides, having this new mechanism to bypass version performance in some specific user cases.

Describe the sub-tasks

  • Add back 1.4 -> 1.5 upgrade path migration code
  • Disable pre-upgrade check for Longhorn manager
  • Change the values.yaml by adding upgradeVersionCheck value to decide to do the upgrade version check in the Longhorn manager.
helmPreUpgradeCheckerJob:
  enabled: true
preUpgradeChecker:
  jobEnabled: true
  upgradeVersionCheck: true

When setting upgradeVersionCheck true, we will have a warning log and event to inform users this is not a recommended behavior. For Harvester, they can take this as a path for 1.4 -> 1.6.

Additional context

We need to maintain the upgrade paths of previous versions within the system, but this is a disadvantage.

cc @longhorn/qa

Metadata

Metadata

Labels

area/install-uninstall-upgradeInstall, Uninstall or Upgrade relatedarea/troubleshootTroubleshoot relatedkind/featureFeature request, new featurepriority/0Must be implement or fixed in this release (managed by PO)require/docRequire updating the longhorn.io documentationrequire/manual-test-planRequire adding/updating manual test cases if they can't be automated

Type

No type

Projects

Status
Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions