How to solve kolla-ansible -i ./all-in-one deploy shows fail status

asked 2019-11-27 03:26:33 -0500

ShengHao gravatar image

i exec kolla-ansible -i ./all-in-one deploy , when exec to TASK [haproxy-config : Copying over haproxy-config haproxy config] shows failed. help me please, thanks

The log is TASK [haproxy-config : Copying over haproxy-config haproxy config] ***************************

fatal: [localhost]: FAILED! => {"msg": "Unable to look up a name or access an attribute in template string ({{ inventory_hostname in groups['neutron-lbaas-agent'] }}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'AnsibleUndefined' is not iterable"}

PLAY RECAP


localhost : ok=53 changed=0 unreachable=0 failed=1 skipped=44 rescued=0 ignored=0

Command failed ansible-playbook -i ./all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=deploy /usr/share/kolla-ansible/ansible/site.yml

edit retag flag offensive close merge delete

Comments

try --vvv for details error

piyushsrivastava gravatar imagepiyushsrivastava ( 2019-11-27 07:58:44 -0500 )edit

Is it configured in your profile [neutron-lbaas-agent:children] neutron

Or you've configured the wrong node name

nicholas666 gravatar imagenicholas666 ( 2019-12-16 21:45:32 -0500 )edit