Closed vitabaks closed 2 months ago
@pashagolub I have upgraded to version 2.6.0
root@server74-pg:~# systemctl restart vip-manager
root@server74-pg:~#
root@server74-pg:~# journalctl -u vip-manager.service -f
Jul 26 13:05:42 server74-pg vip-manager[445785]: 2024/07/26 13:05:42 current leader from DCS: server74-pg
Jul 26 13:05:42 server74-pg vip-manager[445785]: 2024/07/26 13:05:42 IP address ***.***.***.82/32 state is false, desired true
Jul 26 13:05:42 server74-pg vip-manager[445785]: 2024/07/26 13:05:42 Configuring address ***.***.***.82/32 on enp1s0
Jul 26 13:05:42 server74-pg vip-manager[445785]: 2024/07/26 13:05:42 Sent gratuitous ARP reply
Jul 26 13:05:42 server74-pg vip-manager[445785]: 2024/07/26 13:05:42 Sent gratuitous ARP request
Jul 26 13:05:42 server74-pg vip-manager[445785]: 2024/07/26 13:05:42 IP address ***.***.***.82/32 state is true, desired true
Jul 26 13:05:52 server74-pg vip-manager[445785]: 2024/07/26 13:05:52 IP address ***.***.***.82/32 state is true, desired true
Jul 26 13:06:02 server74-pg vip-manager[445785]: 2024/07/26 13:06:02 IP address ***.***.***.82/32 state is true, desired true
Jul 26 13:06:12 server74-pg vip-manager[445785]: 2024/07/26 13:06:12 IP address ***.***.***.82/32 state is true, desired true
Jul 26 13:06:22 server74-pg vip-manager[445785]: 2024/07/26 13:06:22 IP address ***.***.***.82/32 state is true, desired true
^C
root@server74-pg:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host noprefixroute
valid_lft forever preferred_lft forever
2: enp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq state UP group default qlen 1000
link/ether 52:54:00:ea:0b:f7 brd ff:ff:ff:ff:ff:ff
inet ***.***.***.228/27 brd 216.223.147.255 scope global enp1s0
valid_lft forever preferred_lft forever
inet ***.***.***.82/32 scope global enp1s0
valid_lft forever preferred_lft forever
inet6 fe80::5054:ff:feea:bf7/64 scope link
valid_lft forever preferred_lft forever
root@server74-pg:~#
root@server74-pg:~# vip-manager --version
version: 2.6.0
I do not know what helped, just restarting the service or updating. We'll observe.
@vitabaks - vip-manager version 2.6 correctly adding | removing vip when switching between 72-pg | 73-pg | 74-pg
Thanks @ilapcom
Please take a look at this problem. The vip-manager did not raise the VIP address after the failover.
Note: the actual value of the IP address has been masked
log:
Patroni log