Project

General

Profile

Bug #29639

Better error for leases without MAC address

Added by Lukas Zapletal 4 months ago. Updated 4 months ago.

Status:
Closed
Priority:
Normal
Category:
DHCP
Target version:
-
Difficulty:
Triaged:
Yes
Bugzilla link:
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.

Associated revisions

Revision ba31df8e (diff)
Added by Lukas Zapletal 4 months ago

Fixes #29639 - fix tr error on invalid MAC

History

#1 Updated by The Foreman Bot 4 months ago

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

#2 Updated by The Foreman Bot 4 months ago

  • Fixed in Releases 2.1.0 added

#3 Updated by Anonymous 4 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF