Project

General

Profile

Bug #225

Deleting a CARP VIP doesn't remove it

Added by Ker Ruben Ramos over 9 years ago. Updated over 9 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Virtual IPs
Target version:
Start date:
12/15/2009
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.0
Affected Architecture:

Description

Deleting a CARP VIP should remove it.

The VIP after apply/save doesn't get removed.

History

#1 Updated by Chris Buechler over 9 years ago

  • Target version set to 2.0

Verified, they aren't removed anymore. I tested that and it worked roughly a month ago.

#2 Updated by Seth Mos over 9 years 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.

#3 Updated by Pierre POMES over 9 years ago

Also verified for a CARP vip.

#4 Updated by Ermal Luçi over 9 years ago

Commit 435f11c8b1ce6a3b800bc45a386832903d6805a3

Should fix this. It was checking the friendly interface with does_interface_exist instead of the real interface!

#5 Updated by Ermal Luçi over 9 years ago

  • Status changed from New to Feedback

#6 Updated by Chris Buechler over 9 years ago

  • Status changed from Feedback to New

Fixed for IP aliases, still not removing CARP VIPs.

#7 Updated by Chris Buechler over 9 years ago

  • Subject changed from Deleting an IP alias should remove the alias to Deleting a CARP VIP doesn't remove it

#8 Updated by Ermal Luçi over 9 years ago

  • Status changed from New to Feedback

Patch committed.

#9 Updated by Chris Buechler over 9 years ago

  • 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.

#10 Updated by Ermal Luçi over 9 years ago

  • Status changed from New to Feedback

After yesterday commit it seems to work correctly.

#11 Updated by Chris Buechler over 9 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF