Ocata -> Pike overcloud upgrade: mysql_init_bundle container fails after 30 minutes: Error: /Stage[main]/Tripleo::Profile::Pacemaker::Database::Mysql_bundle/Exec[galera-ready]/returns: change from notrun to 0 failed: /usr/bin/clustercheck >/dev/null returned 1

Bug #1706594 reported by Marius Cornea on 2017-07-26
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Marius Cornea

Bug Description

Ocata to Pike upgrade: mysql_init_bundle container fails after 30 minutes:

2017-07-13T16:17:21.054702000Z Error: Failed to apply catalog: Execution of '/usr/bin/mysql --defaults-extra-file=/root/.my.cnf -NBe SELECT CONCAT(User, '@',Host) AS User FROM mysql.user' returned 1: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)

The cluster is set to maintenace mode so the galera bundle fails to start.

Changed in tripleo:
assignee: nobody → Marius Cornea (mcornea)
status: Confirmed → In Progress
Changed in tripleo:
importance: Critical → High
Changed in tripleo:
milestone: pike-3 → pike-rc1

Reviewed: https://review.openstack.org/487313
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=ca959c66fee38df15ae1662b108e64e1d2bb2c42
Submitter: Jenkins
Branch: master

commit ca959c66fee38df15ae1662b108e64e1d2bb2c42
Author: Marius Cornea <email address hidden>
Date: Wed Jul 26 09:46:53 2017 +0200

    Noop controller pre and post config resources.

    This change sets the ControllerPreConfig and ControllerPostConfig
    resources to OS::Heat::None in order to avoid setting the cluster
    to maintenance mode while upgrading to the docker architecture.

    Closes-Bug: 1706594

    Change-Id: Ibd69670d1617b73a8621b8fd4243041891a96747

Changed in tripleo:
status: In Progress → Fix Released

This issue was fixed in the openstack/tripleo-heat-templates release candidate.

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

Other bug subscribers