Skip to content

Conversation

@durera
Copy link
Contributor

@durera durera commented Nov 28, 2025

Description

Another issue related to the Ansible core upgrade - found another code path where we require explicit conversion from string to object:

TASK [ibm.mas_devops.db2 : Filter out s12* versions and pick latest s11*] ******
[ERROR]: Task failed: Finalization of task args for 'ansible.builtin.set_fact' failed: Error while resolving value for 'db2_version': object of type 'str' has no attribute 'databases'

Task failed.
Origin: /opt/app-root/lib64/python3.12/site-packages/ansible_collections/ibm/mas_devops/roles/db2/tasks/upgrade/run-db2-instances-upgrade.yml:48:7

46         db2_releases_content: "{{ db2_release_info.resources[0].data.json }}"
47
48     - name: Filter out s12* versions and pick latest s11*
         ^ column 7

⚠️ Notes for Reviewers

  • Ensure you have understood the PR guidelines in the Playbook before proceeding with a review.
  • Ensure all sections in the PR template are appropriately completed.

@durera durera requested a review from a team as a code owner November 28, 2025 12:13
@durera durera merged commit 72f0cfa into master Nov 28, 2025
2 checks passed
@durera durera deleted the fromjson branch November 28, 2025 12:14
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