openstack overcloud upgrade run fails during FFU from 16.2 to 17.1 due to 'pacemaker_remote_short_node_names_upgraded' is undefined error
Issue
-
During the FFU upgrade from Red Hat OpenStack Platform 16.2 to 17.1,
openstack overcloud upgrade run --yes --stack <stack> --debug --limit allovercloud,undercloud --playbook all
command fails with the following error messages:openstack overcloud upgrade run --yes --stack overcloud --debug --limit allovercloud,undercloud --playbook all : 2023-08-28 10:32:20.132475 | 525400dd-aae4-5ccd-59cf-000000000b46 | SKIPPED | set pacemaker remote upgrade node facts from the limit option | overcloud-novacompute-2 | item=overcloud-novacompute-2 2023-08-28 10:32:20.135555 | 525400dd-aae4-5ccd-59cf-000000000b46 | TIMING | set pacemaker remote upgrade node facts from the limit option | overcloud-novacompute-2 | 0:03:27.951075 | 0.16s 2023-08-28 10:32:20.137179 | 525400dd-aae4-5ccd-59cf-000000000b47 | FATAL | debug | overcloud-novacompute-0 | error={"msg": "The task includes an option with an undefined variable. The error was: 'pacemaker_remote_short_node_names_upgraded' is undefined\n\nThe error appears to be in '/home/stack/overcloud-deploy/overcloud/config-download/overcloud/Compute/upgrade_tasks_step1.yaml': line 17, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n - item.split('.')[0] in ansible_limit.split(':')\n - debug:\n ^ here\n"} 2023-08-28 10:32:20.137921 | 525400dd-aae4-5ccd-59cf-000000000b47 | TIMING | debug | overcloud-novacompute-0 | 0:03:27.953466 | 0.09s 2023-08-28 10:32:20.138879 | 525400dd-aae4-5ccd-59cf-000000000b47 | FATAL | debug | overcloud-novacompute-1 | error={"msg": "The task includes an option with an undefined variable. The error was: 'pacemaker_remote_short_node_names_upgraded' is undefined\n\nThe error appears to be in '/home/stack/overcloud-deploy/overcloud/config-download/overcloud/Compute/upgrade_tasks_step1.yaml': line 17, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n - item.split('.')[0] in ansible_limit.split(':')\n - debug:\n ^ here\n"} 2023-08-28 10:32:20.139455 | 525400dd-aae4-5ccd-59cf-000000000b47 | TIMING | debug | overcloud-novacompute-1 | 0:03:27.954999 | 0.07s 2023-08-28 10:32:20.220932 | 525400dd-aae4-5ccd-59cf-000000000b47 | FATAL | debug | overcloud-novacompute-2 | error={"msg": "The task includes an option with an undefined variable. The error was: 'pacemaker_remote_short_node_names_upgraded' is undefined\n\nThe error appears to be in '/home/stack/overcloud-deploy/overcloud/config-download/overcloud/Compute/upgrade_tasks_step1.yaml': line 17, column 5, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n - item.split('.')[0] in ansible_limit.split(':')\n - debug:\n ^ here\n"} : overcloud-controller-0 : ok=122 changed=51 unreachable=0 failed=0 skipped=132 rescued=0 ignored=2 overcloud-controller-1 : ok=96 changed=28 unreachable=0 failed=0 skipped=158 rescued=0 ignored=2 overcloud-controller-2 : ok=96 changed=28 unreachable=0 failed=0 skipped=158 rescued=0 ignored=2 overcloud-novacompute-0 : ok=18 changed=6 unreachable=0 failed=1 skipped=12 rescued=0 ignored=2 overcloud-novacompute-1 : ok=17 changed=6 unreachable=0 failed=1 skipped=12 rescued=0 ignored=2 overcloud-novacompute-2 : ok=17 changed=6 unreachable=0 failed=1 skipped=12 rescued=0 ignored=2 undercloud : ok=5 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=2
Environment
- Red Hat OpenStack Platform 16.2
- Red Hat OpenStack Platform 17.1
- Instance HA is enabled
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.