Ask Your Question

Newton openstack ansible installer fails TypeError: 'NoneType' object has no attribute '__getitem__'

asked 2016-12-05 14:12:47 -0500

San gravatar image

I am setting up multinode newton in my lab. I am getting following exception -

Variable files: "-e @/etc/openstack_deploy/user_ceilometer_overrides.yml -e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml -e @/etc/openstack_deploy/user_zzz_disable_security_hardening.yml " Using /etc/ansible/ansible.cfg as config file ERROR! The file /opt/openstack-ansible/playbooks/inventory/ is marked as executable, but failed to execute correctly. If this is not supposed to be an executable script, correct this with chmod -x /opt/openstack-ansible/playbooks/inventory/ Inventory script (/opt/openstack-ansible/playbooks/inventory/ had an execution error: Traceback (most recent call last): File "/opt/openstack-ansible/playbooks/inventory/", line 1304, in <module> output = main(**all_args) File "/opt/openstack-ansible/playbooks/inventory/", line 1229, in main environment.get('container_skel') File "/opt/openstack-ansible/playbooks/inventory/", line 1091, in _check_config_settings _check_same_ip_to_multiple_host(config) File "/opt/openstack-ansible/playbooks/inventory/", line 1002, in _check_same_ip_to_multiple_host ip = _value['ip'] TypeError: 'NoneType' object has no attribute '__getitem__'

/opt/openstack-ansible/playbooks/inventory/ Expected key=value host variable assignment, got: argparse openstack_user_config.yml looks ok and was working fine with Liberty release.

Can anyone help me to resolve this issue?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-12-05 16:09:15 -0500

San gravatar image

After removing conf.d and env.d folders from /etc/openstack_deploy, I was able to do some progress.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-12-05 14:12:47 -0500

Seen: 376 times

Last updated: Dec 05 '16