tripleo-ci-centos-7-containers-multinode-queens failing on TASK [tripleo-bootstrap : Set 'dns=none' in /etc/NetworkManager/NetworkManager.conf] with "error while evaluating conditional (['NetworkManager.service']['status'] == 'enabled'): 'dict object' has no attribute 'status"

Bug #1916459 reported by Sandeep Yadav on 2021-02-22
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rabi Mishra

Bug Description


tripleo-ci-centos-7-containers-multinode-queens is failing on below task:-

2021-02-21 08:41:10 | TASK [tripleo-bootstrap : Set 'dns=none' in /etc/NetworkManager/NetworkManager.conf] ***
2021-02-21 08:41:10 | Sunday 21 February 2021 08:41:08 +0000 (0:00:00.874) 0:00:14.718 *******
2021-02-21 08:41:10 | fatal: [centos-7-rax-ord-0023122295]: FAILED! => {"msg": "The conditional check '['NetworkManager.service']['status'] == 'enabled'' failed. The error was: error while evaluating conditional (['NetworkManager.service']['status'] == 'enabled'): 'dict object' has no attribute 'status'\n\nThe error appears to have been in '/usr/share/ansible/roles/tripleo-bootstrap/tasks/main.yml': line 25, column 7, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n block:\n - name: Set 'dns=none' in /etc/NetworkManager/NetworkManager.conf\n ^ here\n"}
2021-02-21 08:41:10 |

As per build history, Issue started on 18th feb

Another example:-

Rabi Mishra (rabi) wrote :

Looks like with ansible-2.6/2.7 there is no 'status' in service_facts[1]. We probably have to just check the 'state' instead or change it to just use shell module to check status.


Rabi Mishra (rabi) wrote :
Changed in tripleo:
status: Triaged → In Progress
assignee: nobody → Rabi Mishra (rabi)
Changed in tripleo:
milestone: wallaby-3 → wallaby-rc1
Changed in tripleo:
milestone: wallaby-rc1 → xena-1
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers