Project

General

Profile

Actions

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.

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

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.0
Affected Architecture:

Description

Deleting a CARP VIP should remove it.

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

Actions #1

Updated by Chris Buechler almost 15 years ago

  • Target version set to 2.0

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

Actions #2

Updated by Seth Mos almost 15 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.

Actions #3

Updated by Pierre POMES almost 15 years ago

Also verified for a CARP vip.

Actions #4

Updated by Ermal Luçi almost 15 years ago

Commit 435f11c8b1ce6a3b800bc45a386832903d6805a3

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

Actions #5

Updated by Ermal Luçi almost 15 years ago

  • Status changed from New to Feedback
Actions #6

Updated by Chris Buechler almost 15 years ago

  • Status changed from Feedback to New

Fixed for IP aliases, still not removing CARP VIPs.

Actions #7

Updated by Chris Buechler almost 15 years ago

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

Updated by Ermal Luçi almost 15 years ago

  • Status changed from New to Feedback

Patch committed.

Actions #9

Updated by Chris Buechler almost 15 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.

Actions #10

Updated by Ermal Luçi almost 15 years ago

  • Status changed from New to Feedback

After yesterday commit it seems to work correctly.

Actions #11

Updated by Chris Buechler almost 15 years ago

  • Status changed from Feedback to Resolved

fixed

Actions

Also available in: Atom PDF