Mariadb not ready at the first time

Bug #1838745 reported by David
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-k8s-mariadb
New
Undecided
Unassigned

Bug Description

In some cases, the mariadb doesn't start properly, and only starts ok when it is restarted by the livenessProbe.

First log:
https://pastebin.canonical.com/p/6P49GWWK86/

Version: '10.4.7-MariaDB-1:10.4.7+maria~bionic' socket: '/var/run/mysqld/mysqld.sock' port: 0 mariadb.org binary distribution

After restart log:
https://pastebin.canonical.com/p/sqxp344PNC/

Version: '10.4.7-MariaDB-1:10.4.7+maria~bionic' socket: '/var/run/mysqld/mysqld.sock' port: 3306 mariadb.org binary distribution

In the first one, the port is 0. That's what's causing the issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.