Agent went into the failed at least on some unit (could be many):
> Unit Workload Agent Address Ports Message
> mysql-k8s/2 active failed 10.1.84.121
> mysql-test-app/0 waiting failed 10.1.84.98
Debug-log:
unit-mysql-test-app-0: 12:57:30 ERROR juju.worker.uniter resolver loop error: cannot enter scope for unit "mysql-test-app/0" in relation "mysql-test-app:database mysql-k8s:database": inconsistent state in EnterScope
I am facing this issue constantly with mysql-k8s+ mysql-test- app charm.
Steps to reproduce:
juju deploy mysql-k8s --trust --channel 8.0/beta -n 3 app:database app:database
juju wait-for application mysql-k8s
juju deploy mysql-test-app --channel edge
juju relate mysql-k8s mysql-test-
sleep 120 # wait some time
juju remove-relation mysql-k8s mysql-test-app
sleep 60 # wait some time
juju relate mysql-k8s mysql-test-
Agent went into the failed at least on some unit (could be many):
> Unit Workload Agent Address Ports Message
> mysql-k8s/2 active failed 10.1.84.121
> mysql-test-app/0 waiting failed 10.1.84.98
Debug-log: test-app- 0: 12:57:30 ERROR juju.worker.uniter resolver loop error: cannot enter scope for unit "mysql-test-app/0" in relation "mysql- test-app: database mysql-k8s: database" : inconsistent state in EnterScope
unit-mysql-
Juju 3.1.6-9a5f4ee from 3.1/edge (rev 24354).