bootstrap_mariadb container fails to start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
stable/rocky (and master) deploy both fail when bootstrap_mariadb throw:
NFO:__main_
++ cat /run_command
+ CMD=/usr/
+ ARGS=
+ [[ ! -n '' ]]
+ . kolla_extend_start
++ [[ ! -d /var/log/
+++ stat -c %a /var/log/
++ [[ 755 != \7\5\5 ]]
++ [[ -n 0 ]]
++ mysql_install_db
Neither host 'virt01' nor 'localhost' could be looked up with
'/usr/sbin/
Please configure the 'hostname' command to return a correct
hostname.
If you want to solve this at a later stage, restart this script
with the --force option
The latest information about mysql_install_db is available at
https:/
'/usr/sbin/
no longer affects: | ubuntu |
I modified the Dockerfile.j2 to copy /usr/bin/resolveip to /usr/sbin/ resolveip. This allowed the first step to pass and the mariadb container to come up but now galera cannot form a cluster. I'm getting the following:
19-02-12 16:54:21 140329390958336 [Warning] WSREP: Quorum: No node with complete state:
Version : 4 0000-0000- 0000-0000000000 00 2f10-11e9- bbd6-3ee1130097 9a 0000-0000- 0000-0000000000 00 86.246: 3306'
Flags : 0x1
Protocols : 0 / 7 / 3
State : NON-PRIMARY
Desync count : 0
Prim state : NON-PRIMARY
Prim UUID : 00000000-
Prim seqno : -1
First seqno : -1
Last seqno : -1
Prim JOINED : 0
State UUID : c119a12b-
Group UUID : 00000000-
Name : 'virt03'
Incoming addr: '192.168.
Version : 4 0000-0000- 0000-0000000000 00 2f10-11e9- bbd6-3ee1130097 9a 0000-0000- 0000-0000000000 00 86.247: 3306'
Flags : 00
Protocols : 0 / 7 / 3
State : NON-PRIMARY
Desync count : 0
Prim state : NON-PRIMARY
Prim UUID : 00000000-
Prim seqno : -1
First seqno : -1
Last seqno : -1
Prim JOINED : 0
State UUID : c119a12b-
Group UUID : 00000000-
Name : 'virt02'
Incoming addr: '192.168.
Version : 4 0000-0000- 0000-0000000000 00 2f10-11e9- bbd6-3ee1130097 9a 2f0f-11e9- a9b6-5f810564e9 ef 86.248: 3306'
Flags : 00
Protocols : 0 / 7 / 3
State : NON-PRIMARY
Desync count : 0
Prim state : NON-PRIMARY
Prim UUID : 00000000-
Prim seqno : -1
First seqno : -1
Last seqno : 0
Prim JOINED : 0
State UUID : c119a12b-
Group UUID : a6d9c3f7-
Name : 'virt01'
Incoming addr: '192.168.
2019-02-12 16:54:21 140329390958336 [Warning] WSREP: No re-merged primary component found. gcs_state_ msg.cpp: gcs_state_ msg_get_ quorum( ):818: Failed to establish quorum.
2019-02-12 16:54:21 140329390958336 [Warning] WSREP: No bootstrapped primary component found.
2019-02-12 16:54:21 140329390958336 [ERROR] WSREP: gcs/src/
2019-02-12 16:54:21 140329390958336 [Note] WSREP: Quorum results: