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"

Bug #1916459 reported by Sandeep Yadav
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
In Progress
High
Rabi Mishra

Bug Description

Description:-

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

https://storage.gra.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_e3c/periodic/opendev.org/openstack/tripleo-quickstart/master/tripleo-ci-centos-7-containers-multinode-queens/e3cd3b5/logs/undercloud/home/zuul/overcloud_deploy.log

~~~
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 'ansible_facts.services['NetworkManager.service']['status'] == 'enabled'' failed. The error was: error while evaluating conditional (ansible_facts.services['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

https://zuul.openstack.org/builds?job_name=tripleo-ci-centos-7-containers-multinode-queens

Another example:-

https://4cd51bfc0f9cfc33b4b6-bef665fe0fdccb7c7f794c7d2e14b311.ssl.cf1.rackcdn.com/periodic/opendev.org/openstack/tripleo-quickstart/master/tripleo-ci-centos-7-containers-multinode-queens/44e4c5b/logs/undercloud/home/zuul/overcloud_deploy.log

Tags: alert
Revision history for this message
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.

[1] https://docs.ansible.com/ansible/2.7/modules/service_facts_module.html#examples

Revision history for this message
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
Changed in tripleo:
milestone: xena-1 → xena-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/tripleo-common queens-eol

This issue was fixed in the openstack/tripleo-common queens-eol release.

Changed in tripleo:
milestone: xena-2 → xena-3
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.