Actions
Bug #18209
closedCannot destroy host if DHCP record is found but is not a lease
Description
When you try to destroy a DHCP record in Libvirt, it's possible that the record is found but it's not in the list of leased_ips.
In such case an error like this shows up:
#=> #<Libvirt::Error: Call to virNetworkUpdate failed: Requested operation is not valid: couldn't locate a matching dhcp host entry in network 'vagrant-libvirt'>
To avoid it, let's return a 404 in case the record is not in the list of leased ips.
Updated by The Foreman Bot over 7 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/499 added
Updated by Lukas Zapletal over 5 years ago
- Status changed from Ready For Testing to Closed
- Triaged set to Yes
- Pull request deleted (
https://github.com/theforeman/smart-proxy/pull/499)
Thanks for the patch, however libvirt provider was vastly refactored. Please rebase on top of develop and reopen if you still want this to get it through.
Actions