dynamic inventory error needs better message
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Confirmed
|
Wishlist
|
Pauline |
Bug Description
Deploying master with service-specific conf.d files yielded the following error
Traceback (most recent call last):
File "inventory/
output = main(**all_args)
File "inventory/
environment
File "inventory/
_check_
File "inventory/
ip = _value['ip']
KeyError: 'ip'
The fault was identified as a misplaced element in the yaml file, but we couldn't tell which file easily. Identifying the host with the missing ip, and the file containing the error was an exercise which could have been made easier by the dynamic inventory lib.
Changed in openstack-ansible: | |
assignee: | nobody → Praveen N (praveenn) |
Changed in openstack-ansible: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
tags: | added: low-hanging-fruit |
Changed in openstack-ansible: | |
assignee: | Praveen N (praveenn) → nobody |
Changed in openstack-ansible: | |
assignee: | nobody → Pauline (sebbenbear) |
It'd be great to have a sample set of configs to replicate the issue.