I’m struggling to remove broken subordinates from one of my charms
I deployed filebeat and related it to mysql-innodb-cluster, but 2 out of the three failed to install.
So I tried to remove the unit but got removing unit filebeat/18 failed: unit “filebeat/18” is a subordinate
I also tried: juju remove-relation mysql-innodb-cluster:juju-info filebeat:beats-host ( also tried with –force and after that with –no-wait ) without success.
I even tried juju resolved filebeat/18 which just ends up back in error state
This is what I’m stuck with:
Unit Workload Agent Machine Public address Ports Message mysql-innodb-cluster/0 active idle 0/lxd/2 192.168.51.17 Unit is ready: Mode: R/O filebeat/44 active idle 192.168.51.17 Filebeat ready. mysql-innodb-cluster/1* active idle 6 192.168.51.37 Unit is ready: Mode: R/W filebeat/18 error idle 192.168.51.37 hook failed: "stop" mysql-innodb-cluster/2 active idle 7 192.168.51.36 Unit is ready: Mode: R/O filebeat/21 error idle 192.168.51.36 hook failed: "stop"