Project

General

Profile

Actions

Bug #29639

closed

Better error for leases without MAC address

Added by Lukas Zapletal almost 5 years ago. Updated almost 5 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

Also available in: Atom PDF