Thank you for visiting the Rackspace Community
The The Community is live! Post new content or topics so our teams can assist.

Please contact your support team if you have a question or need assistance for any Rackspace products, services, or articles.

Error while executing " # openstack-ansible setup-hosts.yml"

I am getting below error , anybody has a clue ?

# openstack-ansible setup-hosts.yml

Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
ERROR: Inventory script (inventory/dynamic_inventory.py) had an execution error: Traceback (most recent call last):
File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py", line 1044, in <module>
main()
File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py", line 988, in main
skel_setup(environment, dynamic_inventory)
File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py", line 408, in skel_setup
for _key, _value in value.iteritems():
AttributeError: 'str' object has no attribute 'iteritems'

Thanks 

Kalpesh