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 (ansible_facts.services['NetworkManager.service']['status'] == 'enabled'): 'dict object' has no attribute 'status"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
In Progress
|
High
|
Rabi Mishra |
Bug Description
Description:-
tripleo-
~~~
2021-02-21 08:41:10 | TASK [tripleo-bootstrap : Set 'dns=none' in /etc/NetworkMan
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-
2021-02-21 08:41:10 |
~~~
As per build history, Issue started on 18th feb
https:/
Another example:-
Changed in tripleo: | |
milestone: | wallaby-3 → wallaby-rc1 |
Changed in tripleo: | |
milestone: | wallaby-rc1 → xena-1 |
Changed in tripleo: | |
milestone: | xena-1 → xena-2 |
Changed in tripleo: | |
milestone: | xena-2 → xena-3 |
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.
[1] https:/ /docs.ansible. com/ansible/ 2.7/modules/ service_ facts_module. html#examples