OpenStack - Kolla-Ansible prechecks error "Hostname has to resolve to IP address of api_interface"
Following the OpenStack Kolla Ansible documentation I was trying to check my kolla ansible environment by running this command: sudo kolla-ansible prechecks And I got this error: TASK [rabbitmq : fail] ***************************************************************************************************************************************fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check 'item.stdout.find(hostvars[item['item']]['ansible_' ~ hostvars[item['item']]['api_interface']]['ipv4']['address']) == -1' failed. The error was: error while evaluating conditional (item.stdout.find(hostvars[item['item']]['ansible_' ~ hostvars[item['item']]['api_interface']]['ipv4']['address']) == -1): 'dict object' has no attribute 'api_interface' \n\nThe error appears to have been in '/usr/local/share/kolla-ansible/ansibl...