On Tue, 19 Feb 2019 at 07:30, vladimir franciz blando <vladimir.blando@gmail.com> wrote:
Hi,

I have a newly installed node running on CentOS 7 with 2 NICs, my precheck failed and I can't figure it out. I'm trying out multinode with 1 node for controller and the other for compute

--- begin paste ---
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       
---


- Vlad
Hi Vlad,
What version of kolla-ansible are you using? We are removing the glance-registry group from the inventory during this release cycle, but if you use an official release of kolla-ansible (Rocky, 7.0.0, is the latest), it should be there.
Mark