Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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?