mysql-router remove-relation does not clear charm settings and does not overwrite after add-relation.
Bug #2004089 reported by
Pedro Victor Lourenço Fragola
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Router Charm |
Fix Committed
|
Medium
|
Nicolas Bock |
Bug Description
[Issue description]
Due to LP#2004088 the mysqlrouter.conf file had invalid settings, so the workaround was to remove the mysql-router relation with the unit and add it again.
The folder => /var/lib/
configparser.
full log => https:/
Old files need to be overwritten or removed.
Changed in charm-mysql-router: | |
assignee: | nobody → Nicolas Bock (nicolasbock) |
status: | Triaged → Fix Committed |
To post a comment you must log in.
the mysql-router charm would need to implement the 'stop' hook, during that stage stop the mysql-router service and remove configuration files generated by the bootstrap process of mysql-router program.