db-router incomplete when relation to mysql-innodb-cluster is removed and readded
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MySQL Router Charm |
Fix Committed
|
Undecided
|
Seyeong Kim | ||
charm-interface-mysql-router |
Fix Released
|
High
|
Liam Young |
Bug Description
When the relation to mysql-innodb-
"'db-router' incomplete, Waiting for proxied DB creation from cluster"
This appears to be because the prefixes key is not cleared from the local db when the relation is removed. When the relation is added back the charm looks for a password from mysql-innodb-
Removing the relation, deleting the prefix key from the db and adding the relation back fixes the issue:
delete from kv where key like '%prefix%';
*1 https:/
Changed in charm-interface-mysql-router: | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Liam Young (gnuoy) |
tags: | added: sts |
Changed in charm-mysql-router: | |
assignee: | nobody → Seyeong Kim (seyeongkim) |
status: | New → In Progress |
Changed in charm-mysql-router: | |
status: | In Progress → Fix Committed |
Fix proposed to branch: master /review. opendev. org/c/openstack /charm- interface- mysql-router/ +/841581
Review: https:/