Skip to content

[patch] Add pre-checks and apply pre-install RBAC for upgrade for 9.2#2303

Merged
durera merged 15 commits into
masterfrom
upgrade-fix
May 22, 2026
Merged

[patch] Add pre-checks and apply pre-install RBAC for upgrade for 9.2#2303
durera merged 15 commits into
masterfrom
upgrade-fix

Conversation

@Aneri11U
Copy link
Copy Markdown
Contributor

Description

  • In case of 9.2 + , check the permissionMode and if minimal found then block the upgrade otherwise apply the pre-install RBAC for the detected permissionMode.
  • For, 91 to 92 upgrade - this takes permissionMode as cluster by default
  • Fix the syntax error for sync-upgrade task

Jira Issue

Testing

  • Tested by upgrading from 9.1.x to 9.2.x-dev for core and manage
image On cluster the roles gets created image Upgrade for core and manage got successful image sync-upgrade failed due to passing ${CONFIGMAP_VALUE} as `Completed #------- ` was not under quotes so giving bad flag error while creating configmap: image

After the fix:
image

@Aneri11U Aneri11U requested a review from a team as a code owner May 22, 2026 12:19
Comment thread python/src/mas/cli/cli.py
}

self.upgrade_path: Dict[str, str] = {
"9.1.x": "9.2.x-feature",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this removal intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No I think while testing I added the path to 9.1.x to 9.2.x-dev, might have removed this existing one accidentally. Thanks for pointing this out!
I have put this back.

@durera durera merged commit 7558062 into master May 22, 2026
5 of 6 checks passed
@durera durera deleted the upgrade-fix branch May 22, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants