Hi.
I remove-unit masakari from machine lxd:3 and add-machine masakari to machine lxd:0,
juju status masakari
,output is :
App Version Status Scale Charm Store Rev OS Notes
hacluster blocked 3 hacluster jujucharms 74 ubuntu
masakari 10.0.0 active 3 masakari local 0 ubuntu
masakari-mysql-router 8.0.23 active 3 mysql-router local 0 ubuntu
Unit Workload Agent Machine Public address Ports Message
masakari/0* active idle 1/lxd/2 10.0.2.123 15868/tcp Unit is ready
hacluster/0* blocked idle 10.0.2.123 Resource: res_masakari_f8b6bde_vip not running
masakari-mysql-router/0* active idle 10.0.2.123 Unit is ready
masakari/1 active idle 2/lxd/2 10.0.2.134 15868/tcp Unit is ready
hacluster/2 blocked idle 10.0.2.134 Resource: res_masakari_f8b6bde_vip not running
masakari-mysql-router/2 active idle 10.0.2.134 Unit is ready
masakari/3 active idle 0/lxd/17 10.0.2.225 15868/tcp Unit is ready
hacluster/3 blocked idle 10.0.2.225 Resource: res_masakari_f8b6bde_vip not running
masakari-mysql-router/3 active idle 10.0.2.225 Unit is ready
Machine State DNS Inst id Series AZ Message
0 started 10.0.0.156 node2 focal default Deployed
0/lxd/17 started 10.0.2.225 juju-78453b-0-lxd-17 focal default Container started
1 started 10.0.0.159 node4 focal default Deployed
1/lxd/2 started 10.0.2.123 juju-78453b-1-lxd-2 focal default Container started
2 started 10.0.0.158 node3 focal default Deployed
2/lxd/2 started 10.0.2.134 juju-78453b-2-lxd-2 focal default Container started
I has used commad :
juju run --unit masakari/0 sudo crm resource refresh
juju run --unit masakari/1 sudo crm resource refresh
juju run --unit masakari/3 sudo crm resource refresh
juju run --unit hacluster/0 sudo crm resource refresh
juju run --unit hacluster/2sudo crm resource refresh
juju run --unit hacluster/3 sudo crm resource refresh
juju run-action masakari/0 pause --wait
juju run-action masakari/1 pause --wait
juju run-action masakari/3 pause --wait
juju run-action masakari/0 resume --wait
juju run-action masakari/1 resume --wait
juju run-action masakari/3 resume --wait
juju run-action --wait vault/0 reissue-certificates
But they are not working.
Thank you!