Ask Your Question
0

kolla-ansible multinode deploy failed (mariabd/bootstrap_mariadb)

asked 2019-04-12 06:21:33 -0500

carlov gravatar image

Hello,

my goal is to deploy openstack using kolla-ansible. I have four boards (GYGABYTE H310M A, i3 core, 32 GB RAM, 240GB SSD) connected via an ethernet switch. One baord is used as deployment environment and it is armed by Ubuntu desktop 18.04. The other boards, act like one controller, one compute and one networking board, each armed by Ubuntu server 18.04. Any board is using one NIC, with one dhcp address and per any board I have defined two vlans with static addresses, one used as network_interface (and api_interface), one used for neutron_external_interface (as defined in /etc/kolla/globals.yml file). I have followed installation instruction described in:

https://github.com/openstack/kolla-ansible/blob/master/doc/source/user/quickstart.rst (https://github.com/openstack/kolla-an...)

https://github.com/inc0/kolla-ansible-workshop/blob/master/chapter1.md (https://github.com/inc0/kolla-ansible...)

https://docs.openstack.org/project-deploy-guide/kolla-ansible/ocata/multinode.html (https://docs.openstack.org/project-de...)

https://docs.docker.com/install/linux/docker-ce/ubuntu/#prerequisites (https://docs.docker.com/install/linux...)

Any application, command, tool or script is up-to-date, so I´m using the very latest version. Now I´m able to run the following sequence with no errors:

sudo kolla-ansible -i ./multinode boostrap-servers

PLAY RECAP ************************

XX.YY.TT.157 : ok=38 changed=5 unreachable=0 failed=0
XX.YY.ZZ.198 : ok=38 changed=5 unreachable=0 failed=0
XX.YY.XX.243 : ok=38 changed=5 unreachable=0 failed=0
localhost : ok=38 changed=5 unreachable=0 failed=0

sudo kolla-ansible -i ./multinode prechecks

PLAY RECAP ************************

XX.YY.TT.157 : ok=54 changed=0 unreachable=0 failed=0
XX.YY.ZZ.198 : ok=75 changed=0 unreachable=0 failed=0
XX.YY.TT.243 : ok=32 changed=0 unreachable=0 failed=0
localhost : ok=26 changed=0 unreachable=0 failed=0

sudo kolla-ansible -i ./multinode pull

PLAY RECAP ************************

XX.YY.TT.157 : ok=13 changed=0 unreachable=0 failed=0
XX.YY.ZZ.198 : ok=37 changed=0 unreachable=0 failed=0
XX.YY.ZZ.243 : ok=19 changed=0 unreachable=0 failed=0
localhost : ok=18 changed=0 unreachable=0 failed=0

in that sequence, localhost is the deployment board, XX.YY.TT.157 is the networking, XX.YY.ZZ.198 is the controller and XX.YY.ZZ.243 is the compute. The docker registry is created in the delpoyment board, the localhost, that has address XX.YY.ZZ.167.

Now I'm a bit stuck on the latest phase, the deploy. In fact, if I use the command:

sudo kolla-ansible -i ./multinode deploy

the very first time fails with the following errore message:

TASK [mariadb : Running MariaDB bootstrap container] **********

task path: /usr/local/share/kolla-ansible/ansible/roles/mariadb/tasks/bootstrap_cluster.yml:2

Using module file /usr/local/share/kolla-ansible/ansible/library/kolla_docker.py

<xx.yy.zz.198> ESTABLISH SSH CONNECTION FOR USER: USER

<xx.yy.zz.198> SSH: EXEC sshpass -d12 ssh -C -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o User=USER -o ... (more)

edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted
0

answered 2019-04-17 02:48:51 -0500

carlov gravatar image

Hello,

for those interesting in that issue, after cloning the kolla-ansible and running the command from tools directory, the issue is removed. So there is something wrong with the standard installation of kolla and ansible.

Now moving on, next problem to be fixed!

Best Regards, Carlo

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2019-04-12 06:21:33 -0500

Seen: 123 times

Last updated: Apr 12