Bug 1664016
Summary: | error: Create DHCP Settings for ... task failed with the following error: ERF12-6899 [ProxyAPI::ProxyException]: Unable to set DHCP entry ([RestClient::Conflict]: 409 Conflict) for Capsule https://...:9090/dhcp | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Jan Hutař <jhutar> |
Component: | DHCP & DNS | Assignee: | Lukas Zapletal <lzap> |
Status: | CLOSED NOTABUG | QA Contact: | Jan Hutař <jhutar> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.5.0 | CC: | alsouza, aruzicka, jhutar, mshira |
Target Milestone: | Unspecified | Keywords: | Regression, Triaged |
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-18 11:48:24 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Jan Hutař
2019-01-07 14:24:10 UTC
Workaround is to remove "host" record from leases file and restart dhcpd: # vim /var/lib/dhcpd/dhcpd.leases # The format of this file is documented in the dhcpd.leases(5) manual page. # This lease file was written by isc-dhcp-4.2.5 server-duid "\000\001\000\001#\306\030\307RT\000\204/+"; host mac52540066cc1b.nodhcp.local { dynamic; hardware ethernet 52:54:00:66:cc:1b; fixed-address 192.168.11.17; supersede server.filename = "pxelinux.0"; supersede server.next-server = c0:a8:0b:03; supersede host-name = "mac52540066cc1b.nodhcp.local"; } # systemctl restart dhcpd Jan, when you have an existing host and click on Build button, Satellite is not supposed to do anything with DHCP records, it should only orchestrate TFTP files deployment leaving DHCP untouched. However there is a chance when you change something relevant that it will need to remove and add DHCP entry back - when you change PXELoader, hostname, MAC, IP or next-server option. Can you compare the host record in dhcpd.leases before and after the run (when you delete it to let is pass)? Is there any change? Different MAC addres, IP address, filename or next-server or host-name option? That would allow us to identify what is causing this. Jan, have you changed Subnet when editing the host? I just stumbled upon: https://bugzilla.redhat.com/show_bug.cgi?id=1713214 again and it seem this is again a problem. (In reply to Lukas Zapletal from comment #5) > Jan, have you changed Subnet when editing the host? I just stumbled upon: > https://bugzilla.redhat.com/show_bug.cgi?id=1713214 again and it seem this > is again a problem. Hello. Yes, it is very much possible. I was experimenting a lot. Should I close this one then? |