mariadb fails to bootstrap in kolla-kubernetes

Bug #1704671 reported by Serguei Bezverkhi
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Undecided
Serguei Bezverkhi

Bug Description

with latest master, mariah is failing to bootstrap in koala-kubernetes cluster. The issue is with the name of mysql pid file. When it is not forced in the command line, in kolla kubernetes it gets created in the form of mariadb-init-element-xqg3b.pid where mariadb-init-element-xqg3b is pod name. It creates a problem for bootstrap script is it checks for mysql.pid and as a result the script fails due to timeout. To solve this issue I suggest to pin pid name by using:
--pid-file=/var/lib/mysql/mariadb.pid
I have tested this solution and it works.

Changed in kolla:
assignee: nobody → Serguei Bezverkhi (sbezverk)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

Fix proposed to branch: master
Review: https://review.openstack.org/484211

Changed in kolla:
status: New → In Progress
summary: - mariah fails to bootstrap in kolla-kubernetes
+ mariadb fails to bootstrap in kolla-kubernetes
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to kolla (master)

Reviewed: https://review.openstack.org/484211
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=5e07cc1ab4e1d96632ac961f1c11b68bcff6fbdd
Submitter: Jenkins
Branch: master

commit 5e07cc1ab4e1d96632ac961f1c11b68bcff6fbdd
Author: Serguei Bezverkhi <email address hidden>
Date: Sun Jul 16 15:11:46 2017 -0400

    Fixing mariadb bootstrap failure in kolla-kubernetes

    With latest master, mariadb is failing to bootstrap in kolla-kubernetes
    cluster. The issue is with the name of mysql pid file. When it is not forced
    in the command line, in kolla kubernetes it gets created in the form of
    mariadb-init-element-xqg4b.pid where mariadb-init-element-xqg3b is pod name,
    but bootstrap scripts explicitely checks for mysql.pid.

    Change-Id: Ic0ee577d73d196ef40354efa51ca3ba60bf4e125
    Closes-Bug: #1704671

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 5.0.0.0b3

This issue was fixed in the openstack/kolla 5.0.0.0b3 development milestone.

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.