[kolla][mariadb] Multinode deployment fails due to bootstrap_mariadb or mariadb errors
Hi all, need your help. I'm trying to deploy Openstack "Queens" via kolla on a multinode system (1 controller/kolla host + 1 compute). I tried with both binary and source packages and I'm using "ubuntu" as base_distro. The first attempt of deployment systematically fails here: TASK [mariadb : Running MariaDB bootstrap container] ******************************************************************************************************************************************************************************************************** fatal: [xx.yy.zz.136]: FAILED! => {"changed": true, "msg": "Container exited with non-zero return code 1"} Looking at the bootstrap_mariadb container logs I can see: ---------- Neither host 'xxyyzz' nor 'localhost' could be looked up with '/usr/sbin/resolveip' Please configure the 'hostname' command to return a correct hostname. ---------- Any idea ? Thanks a lot /Giuseppe
On 12/02/2019 17:31, Giuseppe Sannino wrote:
Hi all, need your help. I'm trying to deploy Openstack "Queens" via kolla on a multinode system (1 controller/kolla host + 1 compute).
I tried with both binary and source packages and I'm using "ubuntu" as base_distro.
The first attempt of deployment systematically fails here:
TASK [mariadb : Running MariaDB bootstrap container] ******************************************************************************************************************************************************************************************************** fatal: [xx.yy.zz.136]: FAILED! => {"changed": true, "msg": "Container exited with non-zero return code 1"}
Looking at the bootstrap_mariadb container logs I can see: ---------- Neither host 'xxyyzz' nor 'localhost' could be looked up with '/usr/sbin/resolveip' Please configure the 'hostname' command to return a correct hostname. ----------
Any idea ?
Have you checked that /etc/hosts is configured correctly?
Thanks a lot /Giuseppe
Hi Doug, first of all, many thanks for the fast reply. the /etc/hosts on my "host" machine is properly confiured: 127.0.0.1 localhost 127.0.1.1 hce03 # The following lines are desirable for IPv6 capable hosts ::1 localhost ip6-localhost ip6-loopback ff02::1 ip6-allnodes ff02::2 ip6-allrouters # BEGIN ANSIBLE GENERATED HOSTS xx.yy.zz.136 hce03 xx.yy.zz.138 hce05 # END ANSIBLE GENERATED HOSTS while the bootstrap_mariadb is attempting to start up if I check within the container I see: ()[mysql@01ec215b2dc8 /]$ cat /etc/hosts 127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters 172.17.0.2 01ec215b2dc8 /G On Tue, 12 Feb 2019 at 18:54, Doug Szumski <doug@stackhpc.com> wrote:
On 12/02/2019 17:31, Giuseppe Sannino wrote:
Hi all, need your help. I'm trying to deploy Openstack "Queens" via kolla on a multinode system (1 controller/kolla host + 1 compute).
I tried with both binary and source packages and I'm using "ubuntu" as base_distro.
The first attempt of deployment systematically fails here:
TASK [mariadb : Running MariaDB bootstrap container]
********************************************************************************************************************************************************************************************************
fatal: [xx.yy.zz.136]: FAILED! => {"changed": true, "msg": "Container exited with non-zero return code 1"}
Looking at the bootstrap_mariadb container logs I can see: ---------- Neither host 'xxyyzz' nor 'localhost' could be looked up with '/usr/sbin/resolveip' Please configure the 'hostname' command to return a correct hostname. ----------
Any idea ?
Have you checked that /etc/hosts is configured correctly?
Thanks a lot /Giuseppe
This issue should now be fixed in master. There are patches up for the stable branches, here's the queens one: https://review.openstack.org/636928. Mark On Tue, 12 Feb 2019 at 17:32, Giuseppe Sannino <km.giuseppesannino@gmail.com> wrote:
Hi all, need your help. I'm trying to deploy Openstack "Queens" via kolla on a multinode system (1 controller/kolla host + 1 compute).
I tried with both binary and source packages and I'm using "ubuntu" as base_distro.
The first attempt of deployment systematically fails here:
TASK [mariadb : Running MariaDB bootstrap container] ******************************************************************************************************************************************************************************************************** fatal: [xx.yy.zz.136]: FAILED! => {"changed": true, "msg": "Container exited with non-zero return code 1"}
Looking at the bootstrap_mariadb container logs I can see: ---------- Neither host 'xxyyzz' nor 'localhost' could be looked up with '/usr/sbin/resolveip' Please configure the 'hostname' command to return a correct hostname. ----------
Any idea ?
Thanks a lot /Giuseppe
participants (3)
-
Doug Szumski
-
Giuseppe Sannino
-
Mark Goddard