Mysql hook master-relation-changed fails when removing a slave relation
Bug #1358861 reported by
Darryl Weaver
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mysql (Juju Charms Collection) |
New
|
Undecided
|
Unassigned |
Bug Description
When removing a Mysql slave database relation with the master database the master databases relation-departed hook runs but fails with:
2014-08-19 16:59:56 INFO master-
2014-08-19 16:59:56 INFO master-
2014-08-19 16:59:56 ERROR juju.worker.uniter uniter.go:486 hook failed: exit status 1
This occurs because the $remote_ip variable is empty and so there is no matching user or grant on the mysql master.
To post a comment you must log in.