Bug 1026490 - my.cnf generated incorrectly after migration
Summary: my.cnf generated incorrectly after migration
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: OpenShift Online
Classification: Red Hat
Component: Containers
Version: 1.x
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Jhon Honce
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-04 19:14 UTC by Stefanie Forrester
Modified: 2013-11-04 21:28 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-11-04 21:28:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Stefanie Forrester 2013-11-04 19:14:42 UTC
Description of problem:

Mysql is unable to start on this gear, due to an incorrectly-generated my.cnf. This could be caused by an erb templating error in the migration script.

When I try to fix the config file manually, it's immediately replaced with the incorrect version again, so manual intervention isn't an option.

Version-Release number of selected component (if applicable):

2.0.34

How reproducible:

Not sure. I've only encountered one instance of this.

Steps to Reproduce:

The error can be confirmed on one host:

[root ~]# grep mysql_error.log /var/lib/openshift/520bd8895973ca3977000196/mysql/conf/my.cnf
log-error=/mysql_error.log

Actual results:

log-error=/mysql_error.log

Expected results:

The correct path is
log-error=/var/lib/openshift/520bd8895973ca3977000196/mysql/log/mysql_error.log

Additional info:

Comment 1 Dan Mace 2013-11-04 21:28:51 UTC
The gear's OPENSHIFT_MYSQL_DB_LOG_DIR variable was manually repaired, and no general problem was identified with other gears. Going to close this one.


Note You need to log in before you can comment on or make changes to this bug.