ovb reproducer fails with "AnsibleUndefinedVariable: 'dict object' has no attribute 'ansible_host'"
Bug #1771563 reported by
Matt Young
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
High
|
Unassigned |
Bug Description
OVB CI reproducer is failing with:
```
TASK [ovb-manage-stack : Dump hosts to file]
fatal: [localhost]: FAILED! => {"changed": false, "failed": true, "msg": "AnsibleUndefin
to retry, use: --limit @/home/
```
when run thus:
./reproducer-
Full output: http://
---
investigating root cause and/or ensuring this isn't operator error.
setting importance to "high" as this impacts ability to reproduce CI failures.
Changed in tripleo: | |
milestone: | rocky-2 → rocky-3 |
Changed in tripleo: | |
milestone: | rocky-3 → rocky-rc1 |
Changed in tripleo: | |
milestone: | rocky-rc1 → stein-1 |
Changed in tripleo: | |
milestone: | stein-1 → stein-2 |
Changed in tripleo: | |
milestone: | stein-2 → stein-3 |
Changed in tripleo: | |
status: | Incomplete → Invalid |
To post a comment you must log in.
Firstly, the error shows logged shows up in https:/ /github. com/openstack/ tripleo- quickstart- extras/ blob/master/ roles/ovb- manage- stack/tasks/ ovb-create- stack.yml# L191 which only executes when ovb_dump_ hosts|default( 'false' )|bool.
So, in most cases, this step will never kick in an ovb reproducer.
When we force it execute,
TASK [ovb-manage-stack : Dump hosts to file] ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ******* ****
changed: [localhost]
it worked for me.