Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

error while deploying openstack-ansible newton

I am following the guide http://docs.openstack.org/project-deploy-guide/openstack-ansible/newton/run-playbooks.html

When running the below playbook, I am getting an error

openstack-ansible setup-hosts.yml

ERROR! Attempted to execute "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py" as inventory script: Inventory script (/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py) had an execution error: Could not read data sources: '(['/etc/openstack_deploy', '/etc/openstack_deploy/conf.d'],)'.

Any idea why this is happening? I have /etc/openstack_deploy folder as well

$ cd /etc/openstack_deploy/
$ ls
ansible_facts  env.d                      openstack_user_config.yml.aio      openstack_user_config.yml.prod.example  user_secrets.yml    user_variables.yml.prod.example
conf.d         openstack_user_config.yml  openstack_user_config.yml.example  openstack_user_config.yml.test.example  user_variables.yml

error while deploying openstack-ansible newton

I am following the guide http://docs.openstack.org/project-deploy-guide/openstack-ansible/newton/run-playbooks.html

When running the below playbook, I am getting an error

openstack-ansible setup-hosts.yml

ERROR! Attempted to execute "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py" as inventory script: Inventory script (/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py) had an execution error: Could not read data sources: '(['/etc/openstack_deploy', '/etc/openstack_deploy/conf.d'],)'.

Any idea why this is happening? I have /etc/openstack_deploy folder as well

$ cd /etc/openstack_deploy/
$ ls
ansible_facts  env.d                      openstack_user_config.yml.aio      openstack_user_config.yml.prod.example  user_secrets.yml    user_variables.yml.prod.example
conf.d         openstack_user_config.yml  openstack_user_config.yml.example  openstack_user_config.yml.test.example  user_variables.yml