mysql upstart job is extremely confusing and unnecessary with sysvinit script from Percona
Bug #1366183 reported by
Clint Byrum
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Expired
|
High
|
Unassigned |
Bug Description
Having an upstart job which doesn't actually track a process's real state is very confusing, as sometimes the process is started without informing the upstart job.
The stated goal of the original change is also not actually possible with upstart, since OpenStack and MySQL are part of a distributed system. We would have to SSH to the MySQL service and start it instead of just hoping that the local MySQL satisfies all of the needs of the local OpenStack components. Instead, OpenStack components should be tolerant of temporarily unavailable MySQL, since it may be on a completely remote system, and recover gracefully when it is available.
To post a comment you must log in.
An alternative approach is to change the name of the upstart job from 'mysql' to something like 'mysql- boot-control' so it doesn't interfere with the 'service' command and other tools that may want to control the mysql service directly.