Actions
Bug #18210
closedLibvirt provider fails to set DHCP nametag when record doesn't have name field
Description
To set the nametag we call record.name, which might not be available.
In such a case, record.name fails with
] pry(#<Proxy::DHCP::Libvirt::LibvirtDHCPNetwork>)> record.name
#NoMethodError: undefined method `name' for #<Proxy::DHCP::Lease:0x005654f2c66798>
#from (pry):5:in `del_dhcp_record'
and the entire deletion fails. It should not call .name if it's not there.
Updated by The Foreman Bot almost 8 years ago
- Status changed from New to Ready For Testing
- Assignee set to Daniel Lobato Garcia
- Pull request https://github.com/theforeman/smart-proxy/pull/500 added
Updated by Anonymous almost 8 years ago
- Related to Bug #18070: When adding a new dhcp reservation, ip and mac addresses should be checked not only against existing reservations but leases as well added
Updated by Anonymous almost 8 years ago
- Target version deleted (
169)
Closing this issue, as #18070 has been merged.
Updated by Anonymous almost 8 years ago
- Status changed from Ready For Testing to Resolved
Actions