Guest agent won't start on Ubuntu Xenial Percona 5.7 image

Bug #1744107 reported by Gaëtan Trellu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Fix Released
Undecided
Gaëtan Trellu

Bug Description

Trove guest agent on Ubuntu Xenial Percona 5.7 image won't start because of a missing header in "/etc/mysql/my.cnf" file.

Trove guest agent error log:

ERROR root raise MissingSectionHeaderError(fpname, lineno, line)
ERROR root MissingSectionHeaderError: File contains no section headers.
ERROR root file: <???>, line: 3
ERROR root '!includedir /etc/mysql/conf.d/\n'

Same issue as for MySQL 5.7 on Ubuntu Xenial: https://bugs.launchpad.net/trove/+bug/1645921

Tags: trove
Changed in trove:
assignee: nobody → Gaëtan Trellu (goldyfruit)
description: updated
Revision history for this message
Gaëtan Trellu (goldyfruit) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to trove (master)

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

Changed in trove:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to trove (master)

Reviewed: https://review.openstack.org/535387
Committed: https://git.openstack.org/cgit/openstack/trove/commit/?id=fe491042880c83bee336aa386d08e2f7256c292a
Submitter: Zuul
Branch: master

commit fe491042880c83bee336aa386d08e2f7256c292a
Author: Gaetan Trellu <email address hidden>
Date: Thu Jan 18 10:57:23 2018 -0500

    Guest agent won't start on Xenial Percona 5.7

    Trove guest agent on Ubuntu Xenial Percona 5.7 image won't start
    because of a missing header/section in "/etc/mysql/my.cnf" file.

    To fix that, we only have to check if a section exists, if not
    a [mysql] section is automatically created.

    Change-Id: If3b1166fc04985763ae522f5eac022d53f2a366f
    Closes-Bug: #1744107

Changed in trove:
status: In Progress → Fix Released
Revision history for this message
Luke Browning (lukebrowning-y) wrote :

I believe this won't work because the file permissions for the new element 10-fix-mycnf are not executable. File permissions for elements should be 775. This is just a quirk of the mechanism.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/trove 9.0.0.0b3

This issue was fixed in the openstack/trove 9.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.