Skip to content

[patch] add cpd 5.3.1 to upgrade path to allow update when already at target version - #2602

Merged
anilprajapatiibm merged 1 commit into
masterfrom
pk-cpd
Sep 21, 2026
Merged

anilprajapatiibm merged 1 commit into
masterfrom
pk-cpd

Conversation

@prveenkumr

@prveenkumr prveenkumr commented Sep 20, 2026

Copy link
Copy Markdown
Contributor

CP4D 5.3.1 was not present as a key in cpdUpgradePath, causing mas update to fatal-error with "Skipping intermediate Cloud Pak for Data updates is not tested and thus not supported" when CP4D 5.3.1 was already installed and the catalog target version was also 5.3.1.

Adding "5.3.1": "5.3.1" as a self-referential entry means the version is recognised as a known leaf node. The existing elif check (cpdUpgradePath[v] != cpdTargetVersion) then evaluates "5.3.1" != "5.3.1" as False, allowing execution to fall through to the already-at-target-version path.

Fixes: update pipeline not starting after install when CP4D 5.3.1 is present

… target version

CP4D 5.3.1 was not present as a key in cpdUpgradePath, causing `mas update`
to fatal-error with "Skipping intermediate Cloud Pak for Data updates is not
tested and thus not supported" when CP4D 5.3.1 was already installed and the
catalog target version was also 5.3.1.

Adding "5.3.1": "5.3.1" as a self-referential entry means the version is
recognised as a known leaf node. The existing elif check
(cpdUpgradePath[v] != cpdTargetVersion) then evaluates "5.3.1" != "5.3.1"
as False, allowing execution to fall through to the already-at-target-version
path.

Fixes: update pipeline not starting after install when CP4D 5.3.1 is present
@prveenkumr
prveenkumr requested a review from a team as a code owner September 20, 2026 18:04
@anilprajapatiibm
anilprajapatiibm merged commit 2c4240b into master Sep 21, 2026
11 checks passed
@anilprajapatiibm
anilprajapatiibm deleted the pk-cpd branch September 21, 2026 05:18
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