Hi everyone
I am facing this problem when precheck with Kolla-ansible. 
My IP: controller 172.16.32.16. compute-01: 172.16.32.15, 
compute-02:172.16.32.14
Please help me. Thank a lot!

fatal: [172.16.32.15]: FAILED! => {"msg": "The conditional check 
'inventory_hostname not in groups['deployment']' failed. The error was: 
error while evaluating conditional (inventory_hostname not in 
groups['deployment']): Unable to look up a name or access an attribute in 
template string ({% if inventory_hostname not in groups['deployment'] %} 
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/local/share/kolla-ansible/ansible/roles/prechecks/tasks/main.yml': 
line 2, 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- 
include_tasks: port_checks.yml\n  ^ here\n"}
fatal: [172.16.32.14]: FAILED! => {"msg": "The conditional check 
'inventory_hostname not in groups['deployment']' failed. The error was: 
error while evaluating conditional (inventory_hostname not in 
groups['deployment']): Unable to look up a name or access an attribute in 
template string ({% if inventory_hostname not in groups['deployment'] %} 
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/local/share/kolla-ansible/ansible/roles/prechecks/tasks/main.yml': 
line 2, 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- 
include_tasks: port_checks.yml\n  ^ here\n"}
fatal: [172.16.32.16]: FAILED! => {"msg": "The conditional check 
'inventory_hostname not in groups['deployment']' failed. The error was: 
error while evaluating conditional (inventory_hostname not in 
groups['deployment']): Unable to look up a name or access an attribute in 
template string ({% if inventory_hostname not in groups['deployment'] %} 
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/local/share/kolla-ansible/ansible/roles/prechecks/tasks/main.yml': 
line 2, 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- 
include_tasks: port_checks.yml\n  ^ here\n"}

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/5c699102-24ad-4c07-b8c0-bec45649de03%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to