Bug #225
closed
Deleting a CARP VIP doesn't remove it
Added by Ker Ruben Ramos almost 15 years ago.
Updated almost 15 years ago.
Category:
Virtual IP Addresses
Description
Deleting a CARP VIP should remove it.
The VIP after apply/save doesn't get removed.
- Target version set to 2.0
Verified, they aren't removed anymore. I tested that and it worked roughly a month ago.
That must be the ifconfig <ibterface> delete cmd line I removed.
It was related to ifconfig trying to set the interface with the IP address delete.
It does delete any ip address on the interface like it says, but it simultaneously attempt to set the new address to "delete". I think that if that was a hostname that resolved it would also configure it that way. Not entirely sure on that.
Anyhow, that change needs to be backed out. Might also have broken dhcp client because of this.
Also verified for a CARP vip.
Commit 435f11c8b1ce6a3b800bc45a386832903d6805a3
Should fix this. It was checking the friendly interface with does_interface_exist instead of the real interface!
- Status changed from New to Feedback
- Status changed from Feedback to New
Fixed for IP aliases, still not removing CARP VIPs.
- Subject changed from Deleting an IP alias should remove the alias to Deleting a CARP VIP doesn't remove it
- Status changed from New to Feedback
- Status changed from Feedback to New
no change.
To replicate, just add a CARP VIP, check ifconfig and it's there, then remove the CARP VIP and apply changes. Check ifconfig and it's still there.
- Status changed from New to Feedback
After yesterday commit it seems to work correctly.
- Status changed from Feedback to Resolved
Also available in: Atom
PDF