Project

General

Profile

Actions

Bug #29639

closed

Better error for leases without MAC address

Added by Lukas Zapletal almost 4 years ago. Updated almost 4 years ago.

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

Description

Infoblox attempts to create records with MAC address. Currently it fails with

2020-04-26T22:01:48 a96c980b [E] /usr/share/foreman-proxy/modules/dhcp_common/record/lease.rb:9:in `initialize'
/usr/share/gems/gems/smart_proxy_dhcp_infoblox-0.0.15/lib/smart_proxy_dhcp_infoblox/common_crud.rb:20:in `new'
/usr/share/gems/gems/smart_proxy_dhcp_infoblox-0.0.15/lib/smart_proxy_dhcp_infoblox/common_crud.rb:20:in `block in all_leases'
/usr/share/gems/gems/smart_proxy_dhcp_infoblox-0.0.15/lib/smart_proxy_dhcp_infoblox/common_crud.rb:19:in `map'
/usr/share/gems/gems/smart_proxy_dhcp_infoblox-0.0.15/lib/smart_proxy_dhcp_infoblox/common_crud.rb:19:in `all_leases'

It should properly fail with Invalid MAC address.

Actions #1

Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Lukas Zapletal
  • Pull request https://github.com/theforeman/smart-proxy/pull/759 added
Actions #2

Updated by The Foreman Bot almost 4 years ago

  • Fixed in Releases 2.1.0 added
Actions #3

Updated by Anonymous almost 4 years ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF