Unfortunately, there's not enough information in the bug to diagnose the error. Please could you add the juju logs from the magnum unit, and the associated mysql-router, and "juju show-unit" for both the magnum unit, and the mysql-router. the juju status for the model would also be useful.
Also, when you say "migrate" do you mean "add-unit" "remove-unit" or something else?
Unfortunately, there's not enough information in the bug to diagnose the error. Please could you add the juju logs from the magnum unit, and the associated mysql-router, and "juju show-unit" for both the magnum unit, and the mysql-router. the juju status for the model would also be useful.
Also, when you say "migrate" do you mean "add-unit" "remove-unit" or something else?