Slave relation fails: IndexError: list index out of range
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Percona Cluster Charm |
Confirmed
|
High
|
Unassigned |
Bug Description
Discourse bug reported with reproduction steps: https:/
Steps to reproduce:
juju deploy percona-cluster master --series bionic --constraints "mem=2048"
juju config master vip=$TEST_VIP00
juju config master cluster-id=1
juju config master min-cluster-size=3
juju deploy hacluster master-hacluster
juju relate master-hacluster master
juju add-unit master -n 2
juju deploy keystone
juju add-relation keystone master
juju deploy percona-cluster slave --series bionic --constraints "mem=2048"
juju config slave vip=$TEST_VIP01
juju config slave cluster-id=2
juju config slave min-cluster-size=3
juju deploy hacluster slave-hacluster
juju relate slave-hacluster slave
juju add-unit slave -n 2
# Wait for the model to settle to confirm both clusters are healthy
juju config master databases-
juju config slave databases-
juju relate master:master slave:slave
Confirmed
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
2020-05-28 23:11:48 DEBUG slave-relation-
Changed in charm-percona-cluster: | |
status: | New → Confirmed |
importance: | Undecided → High |
milestone: | none → 20.08 |
Changed in charm-percona-cluster: | |
milestone: | 20.08 → none |
As part of fixing this bug we should also add (at least) a scenario functional test for master-slave replication.