[kolla][mariadb] Multinode deployment fails due to bootstrap_mariadb or mariadb errors
Giuseppe Sannino
km.giuseppesannino at gmail.com
Tue Feb 12 18:18:23 UTC 2019
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 at 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 at 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
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190212/ef15e0e1/attachment.html>
More information about the openstack-discuss
mailing list