Hi All,
Looking for help with below error during upgrade from MAS 8.11.x to MAS 9.
Using ansible oneclickupgrade for this but getting below error.
fatal: [localhost]: FAILED! => {
"msg": "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'resources'. 'dict object' has no attribute 'resources'\n\nThe error appears to be in '/root/.ansible/collections/ansible_collections/ibm/mas_devops/roles/suite_upgrade/tasks/upgrade.yml': line 4, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n# -----------------------------------------------------------------------------\n- name: \"upgrade : Update ibm-mas subscription channel\"\n ^ here\nThis one looks easy to fix. It seems that there is a value started\nwith a quote, and the YAML parser is expecting to see the line ended\nwith the same kind of quote. For instance:\n\n when: \"ok\" in result.stdout\n\nCould be written as:\n\n when: '\"ok\" in result.stdout'\n\nOr equivalently:\n\n when: \"'ok' in result.stdout\"\n"
Had set below vairables then ran ansible for oneclick upgrade.
export MAS_INSTANCE_ID=<mas instance id>
export MAS_CHANNEL=9.0.x
export MAS_APP_CHANNEL_MANAGE=9.0.x
ansible-playbook ibm.mas_devops.oneclick_upgrade
Could someone advise on this?
Thanks in Advance.
------------------------------
Ritesh Ranjan
------------------------------