Project

General

Profile

Actions

Bug #2406

closed

No IP alias within the subnet of a CARP IP can be deleted

Added by Chris Buechler over 12 years ago. Updated about 10 years ago.

Status:
Resolved
Priority:
Low
Category:
Virtual IP Addresses
Target version:
Start date:
05/01/2012
Due date:
% Done:

0%

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

Description

The input validation that triggers:

$input_errors[] = gettext("This entry cannot be deleted because it is still referenced by a CARP IP with the description") . " {$vip['descr']}.";

prevents the deletion of any IP alias within the subnet of a defined CARP IP. It's intended to keep you from shooting yourself in the foot and breaking your CARP on that subnet, but it should only prohibit deleting the last IP alias within a CARP IP's subnet as it's perfectly valid to delete any additional IP aliases within that subnet.

It can be worked around by editing the IP alias VIP and changing its IP subnet or subnet mask, then deleting the IP alias, as that same input validation is not done upon editing.

Actions

Also available in: Atom PDF