Project

General

Profile

ERF12-6899 » History » Version 4

Dominic Cleal, 07/02/2014 06:43 AM
title

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 3 Dominic Cleal
h2. [RestClient::RequestTimeout]: Request Timeout
20
21
If the DHCP reservation isn't added, see [[Proxy_communication_errors]].
22
23
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):
24
25
<pre>
26
:dhcp_subnets: [192.168.205.0/255.255.255.128, 192.168.205.128/255.255.255.128]
27
</pre>
28
29
Issue #5847 tracks this problem.
30
31 1 Dominic Cleal
h2. Using AD DHCP and Windows 2008
32
33
Seen on Windows 2008 R2.  In proxy.log, it logs:
34
35
<pre>
36
I, [2014-05-30T09:06:23.096367 #2620]  INFO -- : Vendor class not found
37
E, [2014-05-30T09:06:23.096367 #2620] ERROR -- : Netsh failed:
38
39
Changed the current scope context to 172.28.4.0 scope.
40
41
The specified option does not exist.
42
</pre>
43
44
This is bug #5995.  To workaround it, remove the option 60 added here: https://github.com/theforeman/smart-proxy/commit/296617a