<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi, <div class=""><br class=""></div><div class="">it sounds somewhat-obvious from ‘MultipleHostsWithOneIPError’ , but you have defined same IP address for infra1, compute1 and storage1.</div><div class="">According to your yaml definition file those are defined to be 3 physical machines/3 VMs and they can’t have same IP address.</div><div class=""><br class=""></div><div class="">It is fairly-likely that your intent is actually to use All-in-one setup. </div><div class="">As I remember this is default user_variables.yaml, but also you can check template in repo, [1] </div><div class="">(=there aio1 is used as machine for all roles)</div><div class=""><br class=""></div><div class="">BR, </div><div class="">Konstantin</div><div class="">[1] <a href="https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/openstack_user_config.yml.aio" class="">https://github.com/openstack/openstack-ansible/blob/master/etc/openstack_deploy/openstack_user_config.yml.aio</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Nov 7, 2016, at 9:20 PM, Rafael Azevedo <<a href="mailto:raffus@gmail.com" class="">raffus@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class="">Guys,<br class=""><br class="">Moving forward on the installation process, I've got a new error:<br class=""><br class="">root@ubuntu:/opt/openstack-ansible/playbooks# openstack-ansible setup-hosts.yml<br class=""><br class="">openstack-ansible setup-hosts.yml<br class=""><br class="">Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e<br class="">@/etc/openstack_deploy/user_variables.yml "<br class=""><br class="">ERROR! The file inventory/dynamic_inventory.py is marked as<br class="">executable, but failed to execute correctly. If this is not supposed<br class="">to be an executable script, correct this with `chmod -x<br class="">inventory/dynamic_inventory.py`.<br class=""><br class="">Inventory script (inventory/dynamic_inventory.py) had an execution<br class="">error: Traceback (most recent call last):<br class=""><br class=""> File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py",<br class="">line 1304, in <module><br class=""><br class=""> output = main(**all_args)<br class=""><br class=""> File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py",<br class="">line 1229, in main<br class=""><br class=""> environment.get('container_skel')<br class=""><br class=""> File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py",<br class="">line 1091, in _check_config_settings<br class=""><br class=""> _check_same_ip_to_multiple_host(config)<br class=""><br class=""> File "/opt/openstack-ansible/playbooks/inventory/dynamic_inventory.py",<br class="">line 1008, in _check_same_ip_to_multiple_host<br class=""><br class=""> raise MultipleHostsWithOneIPError(*info)<br class=""><br class="">__main__.MultipleHostsWithOneIPError: Both host:compute1 and<br class="">host:infra1 have address:200.49.47.167 assigned. Cannot assign same<br class="">ip to both hosts<br class=""><br class="">inventory/dynamic_inventory.py:18: Expected key=value host variable<br class="">assignment, got: argparse<br class=""><br class="">=========================<br class=""><br class="">And this is the content of my<br class="">/etc/openstack_deploy/openstack_user_config.yml file.<br class=""><br class="">=========================<br class=""><br class="">---<br class="">cidr_networks:<br class=""> container: 172.29.236.0/22<br class=""> tunnel: 172.29.240.0/22<br class=""> storage: 172.29.244.0/22<br class=""><br class="">used_ips:<br class=""> - "172.29.236.1,172.29.236.50"<br class=""> - "172.29.240.1,172.29.240.50"<br class=""> - "172.29.244.1,172.29.244.50"<br class=""> - "172.29.248.1,172.29.248.50"<br class=""><br class="">global_overrides:<br class=""> internal_lb_vip_address: A.B.C.D<br class=""> external_lb_vip_address: <a href="http://openstack.zimus.io" class="">openstack.zimus.io</a><br class=""> tunnel_bridge: "br-vxlan"<br class=""> management_bridge: "br-mgmt"<br class=""> provider_networks:<br class=""> - network:<br class=""> container_bridge: "br-mgmt"<br class=""> container_type: "veth"<br class=""> container_interface: "eth1"<br class=""> ip_from_q: "container"<br class=""> type: "raw"<br class=""> group_binds:<br class=""> - all_containers<br class=""> - hosts<br class=""> is_container_address: true<br class=""> is_ssh_address: true<br class=""> - network:<br class=""> container_bridge: "br-vxlan"<br class=""> container_type: "veth"<br class=""> container_interface: "eth10"<br class=""> ip_from_q: "tunnel"<br class=""> type: "vxlan"<br class=""> range: "1:1000"<br class=""> net_name: "vxlan"<br class=""> group_binds:<br class=""> - neutron_linuxbridge_agent<br class=""> - network:<br class=""> container_bridge: "br-vlan"<br class=""> container_type: "veth"<br class=""> container_interface: "eth12"<br class=""> host_bind_override: "eth12"<br class=""> type: "flat"<br class=""> net_name: "flat"<br class=""> group_binds:<br class=""> - neutron_linuxbridge_agent<br class=""> - network:<br class=""> container_bridge: "br-vlan"<br class=""> container_type: "veth"<br class=""> container_interface: "eth11"<br class=""> type: "vlan"<br class=""> range: "1:1"<br class=""> net_name: "vlan"<br class=""> group_binds:<br class=""> - neutron_linuxbridge_agent<br class=""> - network:<br class=""> container_bridge: "br-storage"<br class=""> container_type: "veth"<br class=""> container_interface: "eth2"<br class=""> ip_from_q: "storage"<br class=""> type: "raw"<br class=""> group_binds:<br class=""> - glance_api<br class=""> - cinder_api<br class=""> - cinder_volume<br class=""> - nova_compute<br class=""><br class="">###<br class="">### Infrastructure<br class="">###<br class=""><br class=""># galera, memcache, rabbitmq, utility<br class="">shared-infra_hosts:<br class=""> infra1:<br class=""> ip: A.B.C.D<br class=""><br class=""># repository (apt cache, python packages, etc)<br class="">repo-infra_hosts:<br class=""> infra1:<br class=""> ip: A.B.C.D<br class=""><br class=""># load balancer<br class="">haproxy_hosts:<br class=""> infra1:<br class=""> ip: A.B.C.D<br class=""><br class="">###<br class="">### OpenStack<br class="">###<br class=""><br class=""># keystone<br class="">identity_hosts:<br class=""> infra1:<br class=""> ip: A.B.C.D<br class=""><br class=""># cinder api services<br class="">storage-infra_hosts:<br class=""> infra1:<br class=""> ip: A.B.C.D<br class=""><br class=""># glance<br class="">image_hosts:<br class=""> infra1:<br class=""> ip: A.B.C.D<br class=""><br class=""># nova api, conductor, etc services<br class="">compute-infra_hosts:<br class=""> infra1:<br class=""> ip: A.B.C.D<br class=""><br class=""># heat<br class="">orchestration_hosts:<br class=""> infra1:<br class=""> ip: A.B.C.D<br class=""><br class=""># horizon<br class="">dashboard_hosts:<br class=""> infra1:<br class=""> ip: A.B.C.D<br class=""><br class=""># neutron server, agents (L3, etc)<br class="">network_hosts:<br class=""> infra1:<br class=""> ip: A.B.C.D<br class=""><br class=""># nova hypervisors<br class="">compute_hosts:<br class=""> compute1:<br class=""> ip: A.B.C.D<br class=""><br class=""># cinder storage host (LVM-backed)<br class="">storage_hosts:<br class=""> storage1:<br class=""> ip: A.B.C.D<br class=""> container_vars:<br class=""> cinder_backends:<br class=""> limit_container_types: cinder_volume<br class=""> lvm:<br class=""> volume_group: cinder-volumes<br class=""> volume_driver: cinder.volume.drivers.lvm.LVMVolumeDriver<br class=""> volume_backend_name: LVM_iSCSI<br class=""> iscsi_ip_address: "10.196.188.10"<br class=""><br class="">=========================<br class=""><br class="">Since I was unable to boot normally using all bridge config [1] - see<br class="">related thread - I'm not sure if it could have caused this error.<br class=""><br class="">Any idea?<br class=""><br class="">Thanks a lot.<br class=""><br class="">BR,<br class=""><br class="">R<br class=""><br class="">[1]: <a href="http://lists.openstack.org/pipermail/openstack-operators/2016-November/011986.html" class="">http://lists.openstack.org/pipermail/openstack-operators/2016-November/011986.html</a><br class=""><br class="">_______________________________________________<br class="">OpenStack-operators mailing list<br class=""><a href="mailto:OpenStack-operators@lists.openstack.org" class="">OpenStack-operators@lists.openstack.org</a><br class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators<br class=""></div></div></blockquote></div><br class=""></div></body></html>