[minor] Support db2 v12 upgrade#2099
Conversation
durera
left a comment
There was a problem hiding this comment.
In the screenshots, it doesn't show how the user will be prompted for the db2 activation key in interactive or non-interactive ... I assume that in there though, otherwise upgrade would take them to a trial license? And we need to prevent the update being started in the event that they don't provide the activation key -- even if they think they want to move to the trial license, I just don't want that headache when it means a prod system goes offline in 30 days :D
We can let people install NEW without a license, but for the update/db2 v12 upgrade I think we need to ensure that there's no "downgrade" from full to trial as part of this action
Okay. I didn't enforce the license for db2 v12 upgrade. Let me update CLI and ansible-devops to enforce the presence during the upgrade. |
|
Added license enforcing when updating from v11 to v12. |
1. Description
To support Db2 v12 upgrade, it requires to change
mas updatecommand to allow the upgrade according with the user input. So, for that support it will be included:--db2-v12-upgradeand--db2-license-fileflag in themas updatecommand linedb2_v12_upgradeanddb2_license_fileflag inmas_updateTekton task, backed up by a change in the ansible-devops to carrydb2_v12_upgradeAlso in this PR it will be delivered the support for Db2 License file. To support that:
db2LicenseFile()which has the same features asslsLicenseFile().shared-db2that mountspipeline-db2-licensesecret.2. Dependencies
3. Upgrade Tests
3.1. CLI Help
3.2. Non interactive
Without
--db2-v12-upgradeWithout
--db2-license-fileNormal flow
3.3. Interactive
4. Install tests with License
CLI Help
Interactive
Non Interactive
Pipeline with License
Pipeline without License
FVT Tests