Comment 6 for bug 1914084

Revision history for this message
Michele Baldessari (michele) wrote :

Reopening as this has not been fixed.

I do have the patch mentioned in comment 5

(undercloud) [stack@undercloud-0 ~]$ grep "auth_variables = {}" /usr/bin/tripleo-ansible-inventory |wc -l
1

(undercloud) [stack@undercloud-0 ~]$ rpm -qf `which /usr/bin/tripleo-ansible-inventory`
openstack-tripleo-validations-14.0.1-0.20210323051419.c876cbb.el8.noarch

But it still breaks:
(undercloud) [stack@undercloud-0 ~]$ tripleo-ansible-inventory --static-yaml-inventory inv.yml
WARNING:tripleo_common.inventory:Stack not found: None. No data found in neither neutron or heat. Only the undercloud will be added to the inventory.

Specifying the stack works:
(undercloud) [stack@undercloud-0 ~]$ tripleo-ansible-inventory --stack overcloud --static-yaml-inventory inv.yml
(undercloud) [stack@undercloud-0 ~]$