Dimiter, we don't set the VIP from a charm directly, those are managed via corosync/pacemaker. Typically, the hacluster charm would configure a ocf:heartbeat:IPaddr2 resource for this, eg. as:
primitive res_mysql_vip ocf:heartbeat:IPaddr2 \ params ip="172.20.168.104" cidr_netmask="24" nic="eth0"
Dimiter, we don't set the VIP from a charm directly, those are managed via corosync/pacemaker. Typically, the hacluster charm would configure a ocf:heartbeat: IPaddr2 resource for this, eg. as:
primitive res_mysql_vip ocf:heartbeat: IPaddr2 \
params ip="172.20.168.104" cidr_netmask="24" nic="eth0"