Bug #29639
Better error for leases without MAC address
Pull request:
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
History
#1
Updated by The Foreman Bot 9 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 9 months ago
- Fixed in Releases 2.1.0 added
#3
Updated by Anonymous 9 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset ba31df8e859a5a0cb5f1fb5057e3533e7ea26a4d.
Fixes #29639 - fix tr error on invalid MAC