Validations are broken due to a recent change in tripleo-ansible-inventory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Invalid
|
Critical
|
James Slagle |
Bug Description
After re-installing the development environment, running any validation results in an error:
(undercloud) [stack@
[WARNING]: * Failed to parse /usr/bin/
u'172.18.0.18', u'storage_mgmt_ip': u'172.19.0.16', u'external_ip': u'10.0.0.15', u'ctlplane_ip': u'192.168.24.7', u'tenant_ip': u'172.16.0.16', u'internal_api_ip': u'172.20.0.14', u'management_ip':
u'192.168.24.7', u'deploy_
u'ansible_host': u'192.168.24.7'}}, u'vars': {u'role_name': u'Controller', u'bootstrap_
[WARNING]: * Failed to parse /usr/bin/
but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: def _parse_config(): ^ here exception type: <class 'yaml.scanner.
exception: mapping values are not allowed in this context in "<unicode string>", line 68, column 20
[WARNING]: * Failed to parse /usr/bin/
[WARNING]: Unable to parse /usr/bin/
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
[WARNING]: Could not match supplied host pattern, ignoring: undercloud
[WARNING]: Could not match supplied host pattern, ignoring: overcloud
PLAY [undercloud, overcloud] *******
skipping: no hosts matched
PLAY RECAP *******
Looks like this change in triple-common has to do with it:
Changed in tripleo: | |
milestone: | none → rocky-2 |
Changed in tripleo: | |
status: | In Progress → Invalid |
Only works with a static inventory generated by tripleo- ansible- inventory script.