I am not sure why this issue was hit while working on the percona-cluster, since percona uses MySQLHelper class and the bug resides on MySQL8Helper.
Still, this *is* a bug and we're gonna hit it while working on the new mysql-innodb-cluster charm, which will need to use the affected class.
I've put up a PR to fix it [1].
[1] https://github.com/juju/charm-helpers/pull/653
I am not sure why this issue was hit while working on the percona-cluster, since percona uses MySQLHelper class and the bug resides on MySQL8Helper.
Still, this *is* a bug and we're gonna hit it while working on the new mysql-innodb- cluster charm, which will need to use the affected class.
I've put up a PR to fix it [1].
[1] https:/ /github. com/juju/ charm-helpers/ pull/653