Hi,
originally reported there https://bugzilla.redhat.com/show_bug.cgi?id=1678235
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] ***********************************************************',",
Fix proposed to branch: master /review. openstack. org/637542
Review: https:/