Created attachment 1535884 [details] FFU upgrade run ansible log Description of problem: FFU fails on run ffu upgrade. error while evaluating conditional (tripleo_role_name == \\'Compute\\' and ansible_hostname == Compute[0]): error appears to have been in \\'/var/lib/mistral/69019ca8-89a4-4741-af85-0088758c813f/fast_forward_upgrade_bootstrap_role_tasks.yaml Version-Release number of selected component (if applicable): How reproducible: 100% Steps to Reproduce: 1. deploy rhos10 2. run FFU undercloud upgrade 3. prepare docker images 4. run ffu prepare step 5. run the ffu upgrade run Actual results: the FFU process fails with the error above. Expected results: The stage, step to pass with no errors Additional info: u'TASK [include_tasks] ***********************************************************',", " u'Sunday 17 February 2019 13:27:18 -0500 (0:00:01.428) 0:12:15.360 ******* ',", " u'fatal: [controller-2]: FAILED! => {\"msg\": \"The conditional check \\'tripleo_role_name == \\'Controller\\' and ansible_hostname == Controller[0]\\' failed. The error was: error while evaluating conditional (tripleo_role_name == \\'Controller\\' and ansible_hostname == Controller[0]): \\'Controller\\' is undefined\\\\n\\\\nThe error appears to have been in \\'/var/lib/mistral/69019ca8-89a4-4741-af85-0088758c813f/fast_forward_upgrade_bootstrap_role_tasks.yaml\\': line 1, 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- include_tasks: Controller/fast_forward_upgrade_tasks.yaml\\\\n ^ here\\\\n\"}',", " u'fatal: [controller-1]: FAILED! => {\"msg\": \"The conditional check \\'tripleo_role_name == \\'Controller\\' and ansible_hostname == Controller[0]\\' failed. The error was: error while evaluating conditional (tripleo_role_name == \\'Controller\\' and ansible_hostname == Controller[0]): \\'Controller\\' is undefined\\\\n\\\\nThe error appears to have been in \\'/var/lib/mistral/69019ca8-89a4-4741-af85-0088758c813f/fast_forward_upgrade_bootstrap_role_tasks.yaml\\': line 1, 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- include_tasks: Controller/fast_forward_upgrade_tasks.yaml\\\\n ^ here\\\\n\"}',", " u'fatal: [controller-0]: FAILED! => {\"msg\": \"The conditional check \\'tripleo_role_name == \\'Controller\\' and ansible_hostname == Controller[0]\\' failed. The error was: error while evaluating conditional (tripleo_role_name == \\'Controller\\' and ansible_hostname == Controller[0]): \\'Controller\\' is undefined\\\\n\\\\nThe error appears to have been in \\'/var/lib/mistral/69019ca8-89a4-4741-af85-0088758c813f/fast_forward_upgrade_bootstrap_role_tasks.yaml\\': line 1, 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- include_tasks: Controller/fast_forward_upgrade_tasks.yaml\\\\n ^ here\\\\n\"}',", " u'skipping: [compute-1] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}',", " u'skipping: [compute-0] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}',", " u'skipping: [ceph-1] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}',", " u'skipping: [ceph-0] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}',", " u'skipping: [ceph-2] => {\"changed\": false, \"skip_reason\": \"Conditional result was False\"}',", " u'',", " u'TASK [include_tasks] ***********************************************************',",
Reproduced using - become: true hosts: overcloud tasks: - debug: var: Controller - include_tasks: Controller/fast_forward_upgrade_tasks.yaml when: ansible_hostname == Controller[0] Switching back to ansible 2.4 "solves" the issue.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0448