Config groups/replication broken on fedora

Bug #1450879 reported by Doug Shelley
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack DBaaS (Trove)
Confirmed
Medium
Unassigned

Bug Description

Recently a change[1] was merged to change the location of my.cnf on Red Hat oriented operating systems. This change has surfaced that config groups and replication also rely on O/S specific locations to where overrides and replica config end up.

Currently these locations are incorrect for Red Hat - note this code:
OS_NAME = operating_system.get_os()
MYSQL_CONFIG = {operating_system.REDHAT: "/etc/my.cnf",
                operating_system.DEBIAN: "/etc/mysql/my.cnf",
                operating_system.SUSE: "/etc/my.cnf"}[OS_NAME]
MYSQL_SERVICE_CANDIDATES = ["mysql", "mysqld", "mysql-server"]
MYSQL_BIN_CANDIDATES = ["/usr/sbin/mysqld", "/usr/libexec/mysqld"]
MYCNF_OVERRIDES = "/etc/mysql/conf.d/overrides.cnf"
MYCNF_OVERRIDES_TMP = "/tmp/overrides.cnf.tmp"
MYCNF_REPLMASTER = "/etc/mysql/conf.d/0replmaster.cnf"
MYCNF_REPLSLAVE = "/etc/mysql/conf.d/1replslave.cnf"
MYCNF_REPLCONFIG_TMP = "/tmp/replication.cnf.tmp"

For example, on Red Hat, MYCNF_OVERRIDES should be /etc/my.cnf.d/overrides.cnf

[1] https://review.openstack.org/#/c/165293/

Doug Shelley (0-doug)
Changed in trove:
assignee: nobody → Doug Shelley (0-doug)
Changed in trove:
status: New → Confirmed
importance: Undecided → Critical
importance: Critical → Medium
Changed in trove:
assignee: Doug Shelley (0-doug) → Victoria Martinez de la Cruz (vkmc)
Changed in trove:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on trove (master)

Change abandoned by Craig Vyvial (<email address hidden>) on branch: master
Review: https://review.openstack.org/197296
Reason: Abandoning due to lack activity updating this patch. Feel free to open this patch back up. Thanks.

Revision history for this message
Amrith Kumar (amrith) wrote :

marked as not-in-progress as the change was abandoned.

Changed in trove:
status: In Progress → Confirmed
Revision history for this message
Amrith Kumar (amrith) wrote :

vkmc, any updates on this?

Changed in trove:
assignee: Victoria Martinez de la Cruz (vkmc) → nobody
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.