Project

General

Profile

Actions

Bug #6412

closed

Trying to remove a DHCP record fails due to an invalid subnet check

Added by David Swift almost 10 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DHCP
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Take three hosts, add them into foreman via API. Then try and remove them. The first deletes fine, but the subsequent deletions fail. The problem is in file , line 196. When the subnet gets searched, the 1st host is not found, and then the entire subnet array is returned to the delete function, which then throws an error.

Pull request coming.


Related issues 1 (0 open1 closed)

Has duplicate Smart Proxy - Bug #6311: Deleting a host and re-creating it generates a DHCP errorDuplicate06/20/2014Actions
Actions

Also available in: Atom PDF