the same behavior can be seen in designate charm.
this is the diff of "crm configure show" when comparing a fresh deployed cluster using ip address 10.5.100.0 with the cluster after changing the vip to 10.5.100.1
$ diff -u crm_configure_show.{1,2} --- crm_configure_show.1 2021-11-29 19:47:26.482821006 -0300 +++ crm_configure_show.2 2021-11-29 20:00:11.349423541 -0300 @@ -1,6 +1,11 @@ node 1000: juju-ea4e96-designate-2 node 1001: juju-ea4e96-designate-1 node 1002: juju-ea4e96-designate-3 +primitive res_designate_242d562_vip IPaddr2 \ + params ip=10.5.100.1 \ + meta migration-threshold=INFINITY failure-timeout=5s \ + op monitor timeout=20s interval=10s \ + op_params depth=0 primitive res_designate_bf9661e_vip IPaddr2 \ params ip=10.5.100.0 \ meta migration-threshold=INFINITY failure-timeout=5s \ @@ -19,7 +24,7 @@ no-quorum-policy=stop \ cluster-recheck-interval=60 \ stonith-enabled=false \ - last-lrm-refresh=1638215445 + last-lrm-refresh=1638226172 rsc_defaults rsc-options: \ resource-stickiness=100 \ failure-timeout=180
the same behavior can be seen in designate charm.
this is the diff of "crm configure show" when comparing a fresh deployed cluster using ip address 10.5.100.0 with the cluster after changing the vip to 10.5.100.1
$ diff -u crm_configure_ show.{1, 2} show.1 2021-11-29 19:47:26.482821006 -0300 show.2 2021-11-29 20:00:11.349423541 -0300 designate- 2 designate- 1 designate- 3 242d562_ vip IPaddr2 \ threshold= INFINITY failure-timeout=5s \ bf9661e_ vip IPaddr2 \ threshold= INFINITY failure-timeout=5s \ policy= stop \ recheck- interval= 60 \ enabled= false \ refresh= 1638215445 refresh= 1638226172 stickiness= 100 \ timeout= 180
--- crm_configure_
+++ crm_configure_
@@ -1,6 +1,11 @@
node 1000: juju-ea4e96-
node 1001: juju-ea4e96-
node 1002: juju-ea4e96-
+primitive res_designate_
+ params ip=10.5.100.1 \
+ meta migration-
+ op monitor timeout=20s interval=10s \
+ op_params depth=0
primitive res_designate_
params ip=10.5.100.0 \
meta migration-
@@ -19,7 +24,7 @@
no-quorum-
cluster-
stonith-
- last-lrm-
+ last-lrm-
rsc_defaults rsc-options: \
resource-
failure-