Adding one compute host fails with undefined variable
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
High
|
Unassigned |
Bug Description
Following these instructions:
https:/
If OSA playbooks have not been used recently, the playbook os-nova-install.yml with --limit localhost,
with this error:
"The task includes an option with an undefined variable. The error was: 'ansible.
The error appears to be in '/opt/openstack
I believe this is because the cached facts for the other Nova hosts not included in the --limit have expired and are reported as undefined.
Instead of checking groups['nova_all'], perhaps the check should be limited to the intersection of
groups['nova_all'] with ansible_play_hosts ?
I have been tripping over this issue with a Zed deployment for a week. Did you come across a workaround?