Project

General

Profile

ERF12-6899 » History » Version 6

Dominic Cleal, 08/11/2016 04:20 AM
#13575 is fixed

1 4 Dominic Cleal
h1. ERF12-6899 - Unable to set DHCP entry
2 1 Dominic Cleal
3
h2. Generic or SSL connection errors
4
5
Please see [[Proxy_communication_errors]] first for SSL or communication errors, which aren't specific to this particular proxy action.
6
7 2 Dominic Cleal
h2. Foreman 1.5.1: Removing a Proxy::DHCP Record which doesn't exist
8
9
Seen on Foreman 1.5.1, this is bug #6412.
10
11
<pre>
12
E, [2014-06-20T15:14:54.521280 #1384] ERROR -- : Removing a Proxy::DHCP Record which doesn't exist
13
D, [2014-06-20T15:14:54.521353 #1384] DEBUG -- : /usr/share/foreman-proxy/bin/../lib/proxy/dhcp/subnet.rb:184:in `delete'
14
/usr/share/foreman-proxy/bin/../lib/proxy/dhcp/server/isc.rb:64:in `loadSubnetData'
15
</pre>
16
17
Note that stack trace contains @loadSubnetData@ on line 64.
18
19 5 Dominic Cleal
Workaround: @service dhcpd restart@
20
21 3 Dominic Cleal
h2. [RestClient::RequestTimeout]: Request Timeout
22
23
If the DHCP reservation isn't added, see [[Proxy_communication_errors]].
24
25
If it is added, the proxy is taking too long to add it, so Foreman is timing out.  If you have many subnets configured but only need to manage a few, try setting dhcp_subnets in the proxy configuration to restrict those it loads (available from Foreman 1.5.1):
26
27
<pre>
28
:dhcp_subnets: [192.168.205.0/255.255.255.128, 192.168.205.128/255.255.255.128]
29
</pre>
30
31
Issue #5847 tracks this problem.
32
33 1 Dominic Cleal
h2. Using AD DHCP and Windows 2008
34
35
Seen on Windows 2008 R2.  In proxy.log, it logs:
36
37
<pre>
38
I, [2014-05-30T09:06:23.096367 #2620]  INFO -- : Vendor class not found
39
E, [2014-05-30T09:06:23.096367 #2620] ERROR -- : Netsh failed:
40
41
Changed the current scope context to 172.28.4.0 scope.
42
43
The specified option does not exist.
44
</pre>
45
46 6 Dominic Cleal
This is bug #13575, which has been fixed in version 1.12.1.  On older versions, to workaround it, remove the option 60 added here: https://github.com/theforeman/smart-proxy/commit/296617a