Project

General

Custom queries

Profile

Actions

Bug #6412

closed

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

Added by David Swift almost 11 years ago. Updated almost 7 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
#1

Updated by Dominic Cleal almost 11 years ago

  • Category set to DHCP
  • Status changed from New to Ready For Testing
  • Assignee set to David Swift
  • Target version set to 1.8.1
#3

Updated by Dominic Cleal almost 11 years ago

  • Translation missing: en.field_release set to 18
#4

Updated by Dominic Cleal almost 11 years ago

  • Has duplicate Bug #6311: Deleting a host and re-creating it generates a DHCP error added
#5

Updated by Anonymous almost 11 years ago

  • Target version changed from 1.8.1 to 1.8.0
#6

Updated by Bryan Kearney almost 11 years ago

  • Bugzilla link set to 1117837
#7

Updated by Anonymous almost 11 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
#8

Updated by Dominic Cleal almost 11 years ago

  • Project changed from Foreman to Smart Proxy
  • Category changed from DHCP to DHCP
Actions

Also available in: Atom PDF