Project

General

Profile

Actions

Bug #16272

closed

Input validation text for deleting a VIP within a CARP IP's subnet may reference incorrect VIP

Added by Marcos M 4 months ago. Updated 3 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
Virtual IP Addresses
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
25.11
Release Notes:
Default
Affected Version:
Affected Architecture:

Description

Input validation exists that prevents the deletion of any IP alias within the subnet of a defined CARP IP. As mentioned in #2406 it's intended to prevent accidentally breaking CARP on that subnet.

To reproduce:
  1. Create the CARP VIP 198.51.100.1/24 with description "Test CARP VIP"
  2. Create the IP Alias VIP 198.51.100.2/25 with description "Test IP Alias VIP"
  3. Apply changes then delete the IP Alias VIP. The input validation text says:
    This entry cannot be deleted because it is still referenced by a CARP IP with the description Test IP Alias VIP

The input validation should instead reference "Test CARP VIP".

Actions #1

Updated by Marcos M 4 months ago

  • Status changed from In Progress to Feedback
  • % Done changed from 0 to 100
Actions #2

Updated by Alhusein Zawi 4 months ago

Followed the steps :

the error says:
"This entry cannot be deleted because it is still referenced by a CARP IP with the description Test CARP VIP."

25.11.a.20250618.1303

Actions #3

Updated by Christopher Cope 3 months ago

  • Status changed from Feedback to In Progress

Tested on

25.11-DEVELOPMENT (amd64)
built on Thu Jun 19 19:22:00 UTC 2025
FreeBSD 15.0-CURRENT

I can confirm the changes in the diff were already applied, but still seeing the same error.

Actions #4

Updated by Marcos M 3 months ago

  • Status changed from In Progress to Feedback

The input validation check is intended and not an error - see the referenced issue.

Actions #5

Updated by Georgiy Tyutyunnik 3 months ago

  • Status changed from Feedback to Resolved

resolved - patch works as intended
tested the patch apply/revert on
25.11-DEVELOPMENT (amd64)
built on Tue Jun 17 6:00:00 UTC 2025
FreeBSD 15.0-CURRENT

Actions #6

Updated by Jim Pingle 3 months ago

  • Plus Target Version changed from 25.07 to 25.11
Actions

Also available in: Atom PDF