Skip to content

Conversation

@blechner
Copy link
Contributor

@blechner blechner commented Apr 29, 2025

Changes in this PR:

  • In the scenario where MAS 9.0 without Manage is upgraded to MAS 9.1, the mas upgrade command will now install Manage Foundation. Added DB2 and Manage installation tekton tasks in upgrade.yml.j2 for this specific scenario.
  • The app-manage-upgrade task now runs before the other app upgrade tasks.
  • When installing Manage Foundation, we need to set mas_app_settings_aio_flag param to false (both install and upgrade scenarios).
  • Added an optional silentMode to configDb2, to make sure Db2 can be installed along with Manage Foundation in the upgrade scenario without showing any prompts.
  • Added --dev-mode to mas upgrade so that the upgrade channel for Manage Foundation installation can be entered manually during tests. Artifactory username and token are also requested in dev mode.

Tested the following scenarios:

  • Installation of MAS 9.0 without Manage and then upgrade to MAS 9.1 (Manage Foundation was installed)
  • Installation of MAS 9.0 with Manage and then upgrade to MAS 9.1 (Manage 9.0 was upgraded to Full Manage 9.1)

Marcelo Blechner added 30 commits April 10, 2025 17:19
…age Foundation installation would work in the upgrade pipeline.
Adding a silent mode in configDb2 so that we don't bother the user with DB2 settings when Manage Foundation needs to be installed.
…eraction.

For MAS installation, only set configDB2 to silent mode if IoT is not going to be installed and Manage Foundation is going to be installed.
…ble for installing Manage Foundation, to make sure they don't run when they are not supposed to.
…tials to the Manage Foundation so that these prompts are not requested in scenarios where Manage Foundation would not be installed.
… it to launchUpgradePipeline because it looks like that nextChannel is only informative. The actual channel to be upgraded to is derived from a compatibility matrix in ansible-devops.
…dd an extra when clause to Manage Foundation tasks hoping that they will not overwrite the ones in the template.
…when clause is appended to existing entries, while still keeping indentation correct.
…y installed db2-system will be already installed.
alequint
alequint previously approved these changes Apr 29, 2025
@blechner blechner marked this pull request as ready for review May 2, 2025 12:16
@alequint
Copy link
Contributor

alequint commented May 6, 2025

Looks good to me!

@alequint alequint changed the title Support for Manage Foundation installation during an upgrade from MAS 9.0 without Manage to MAS 9.1 [minor] Support for Manage Foundation installation during an upgrade from MAS 9.0 without Manage to MAS 9.1 May 6, 2025
@alequint
Copy link
Contributor

alequint commented May 6, 2025

Just changed PR title to include minor prefix

@alequint alequint merged commit 4496c16 into master May 6, 2025
12 checks passed
@alequint alequint deleted the issue-MASCORE-6276 branch May 6, 2025 22:40
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.

3 participants