valdiations CLI role reports issues with 'rc' variable contents

Bug #1998483 reported by Jiri Podivin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
New
Medium
Jiri Podivin

Bug Description

The task is passing, but we need to get hold of this anyway. Having potentially broken syntax in our CI isn't good for anybody.

Trace:
======
2022-12-01 06:32:49.519488 | primary | TASK [validations : set fact for run_results] **********************************
2022-12-01 06:32:49.519508 | primary | Thursday 01 December 2022 06:32:49 -0500 (0:00:00.045) 1:45:54.641 *****
2022-12-01 06:32:49.544295 | primary | fatal: [undercloud]: FAILED! => {"msg": "The conditional check 'run_results.rc != expected_rc' failed. The error was: error while evaluating conditional (run_results.rc != expected_rc): 'dict object' has no attribute 'rc'\n\nThe error appears to be in '/usr/share/ansible/roles/validations/tasks/run.yaml': line 26, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n - name: set fact for run_results\n ^ here\n"}

Tags: ci
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.