kolla-ansible precheck error

asked 2019-02-18 07:41:02 -0500

vblando gravatar image

Can't figure out the problem, it stopped at this TASK, the node is newly installed with Minimal CentOS 7, the only service running is SSH.

TASK [glance : Checking free port for Glance Registry] ******************************************************************************************************************************************
fatal: [10.150.7.102]: FAILED! => {"msg": "The conditional check 'inventory_hostname in groups[glance_services['glance-registry']['group']]' failed. The error was: error while evaluating conditional (inventory_hostname in groups[glance_services['glance-registry']['group']]): Unable to look up a name or access an attribute in template string ({% if inventory_hostname in groups[glance_services['glance-registry']['group']] %} True {% else %} False {% endif %}).\nMake sure your variable name does not contain invalid characters like '-': argument of type 'StrictUndefined' is not iterable\n\nThe error appears to have been in '/usr/share/kolla-ansible/ansible/roles/glance/tasks/precheck.yml': line 18, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Checking free port for Glance Registry\n  ^ here\n"}
        to retry, use: --limit @/usr/share/kolla-ansible/ansible/site.retry

PLAY RECAP **************************************************************************************************************************************************************************************
10.150.7.102               : ok=68   changed=0    unreachable=0    failed=1
10.150.7.103               : ok=15   changed=0    unreachable=0    failed=0
localhost                  : ok=10   changed=0    unreachable=0    failed=0
edit retag flag offensive close merge delete

Comments

This is likely caused by the difference in version of the inventory file, ie. multinode or all-in-one and kolla-ansible. There are usually some changes in the structure of the inventory file from version to version.

sean.xyz gravatar imagesean.xyz ( 2019-02-25 00:18:18 -0500 )edit