Replies: 6 comments 4 replies
|
UPD: vip-manager removes VIP as the cleanup routine. vip-manager doesn't remove VIP because there was no such a condition in consul. vip-manager does only one job: adds vip when it needed to be added, deletes vip when it should be deleted. In what way stopping the vip-manager affects the patroni cluster? |
|
Hi @pashagolub , |
|
Well, yeah. Or make sure consul is in a state when VIP will be removed automatically |
|
I've checked the code and I was wrong. As a cleanup routine vip-manager deconfigures virtual IP: vip-manager/ipmanager/ip_manager.go Line 58 in 7ecae13 Now the question is: why it doesn't in your case? Are there any additional information in logs? Crash maybe? |
|
I think this is a bug. Although it doesn't happen every time, I frequently encounter VIP unbinding failures in the scenario of gracefully stopping vip-manager—that is, the vip-manager has already stopped, but the VIP still remains. Do we have any plans to fix this issue in the future? |
|
Could you please provide a brief update on the status of this bug? If available, I’d also appreciate it if you could share the expected timeline for resolution. |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I use vip-manager 2.8.0 and consul 1.19.0
When I stopped the vip-manager service, the VIP still assigned on server.
I can see the VIP like this:
Here is the vip-manager settings:
Is this a bug? If not, is there a setting to delete VIP automatically?
Thanks.
All reactions