Hi Eduardo, Thanks for your suggestion which is very helpful. Indeed, network_interface is not same in localhost and other nodes. Furthermore, the reason it failed is "network_interface" must have configured IPv4 address and up. This is not mentioned *explicitly *in the quick start documentation. To help someone like me (if any in the future), i've created bug report in the following url https://bugs.launchpad.net/kolla-ansible/+bug/1787750
Thanks again! Regards, J On Sat, Aug 18, 2018 at 6:25 PM Eduardo Gonzalez <dabar...@gmail.com> wrote: > Hi, the interface name must be the same for all nodes including localhost > (deployment host). If the iface names are not the same along all the hosts > will have to: > > - Comment network_interface (or the interface var which name differs) > - Set the variable with an appropriate value at inventory file on each > host. In example: > [compute] > node1 network_interface=eth1 > node2 network_interface=eno1 > > Regards > > On Sat, Aug 18, 2018, 12:59 PM Hhhtyh ByNhb <jayami...@gmail.com> wrote: > >> Hi All, >> I tried to install openstack kolla by following kolla documentation: >> https://docs.openstack.org/kolla-ansible/latest/user/quickstart.html >> >> When doing this command: "kolla-ansible -i ./multinode >> bootstrap-servers", >> I observed following error: >> Error message is "fatal: [control01]: FAILED! => {"msg": "The task >> includes an option with an undefined variable. The error was: 'dict object' >> has no attribute 'ipv4'\n\nThe error appears to have been in >> '/usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml': >> line 19, column 3, but may\nbe elsewhere in the file depending on the exact >> syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Generate >> /etc/hosts for all of the nodes\n ^ here\n"} >> Command failed ansible-playbook -i ./multinode -e @/etc/kolla/globals.yml >> -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e >> action=bootstrap-servers >> /usr/local/share/kolla-ansible/ansible/kolla-host.yml >> >> any suggestion? >> >> BR//jaya >> >> >> __________________________________________________________________________ >> OpenStack Development Mailing List (not for usage questions) >> Unsubscribe: >> openstack-dev-requ...@lists.openstack.org?subject:unsubscribe >> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev >> > _______________________________________________ > Mailing list: > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack > Post to : openstack@lists.openstack.org > Unsubscribe : > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack >
_______________________________________________ Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack Post to : openstack@lists.openstack.org Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack