Project

General

Profile

ERF12-6899 » History » Version 3

Dominic Cleal, 07/02/2014 06:42 AM
#5847

1 1 Dominic Cleal
h1. ERF12-6899
2 1 Dominic Cleal
3 1 Dominic Cleal
h2. Generic or SSL connection errors
4 1 Dominic Cleal
5 1 Dominic Cleal
Please see [[Proxy_communication_errors]] first for SSL or communication errors, which aren't specific to this particular proxy action.
6 1 Dominic Cleal
7 2 Dominic Cleal
h2. Foreman 1.5.1: Removing a Proxy::DHCP Record which doesn't exist
8 2 Dominic Cleal
9 2 Dominic Cleal
Seen on Foreman 1.5.1, this is bug #6412.
10 2 Dominic Cleal
11 2 Dominic Cleal
<pre>
12 2 Dominic Cleal
E, [2014-06-20T15:14:54.521280 #1384] ERROR -- : Removing a Proxy::DHCP Record which doesn't exist
13 2 Dominic Cleal
D, [2014-06-20T15:14:54.521353 #1384] DEBUG -- : /usr/share/foreman-proxy/bin/../lib/proxy/dhcp/subnet.rb:184:in `delete'
14 2 Dominic Cleal
/usr/share/foreman-proxy/bin/../lib/proxy/dhcp/server/isc.rb:64:in `loadSubnetData'
15 2 Dominic Cleal
</pre>
16 2 Dominic Cleal
17 2 Dominic Cleal
Note that stack trace contains @loadSubnetData@ on line 64.
18 2 Dominic Cleal
19 3 Dominic Cleal
h2. [RestClient::RequestTimeout]: Request Timeout
20 3 Dominic Cleal
21 3 Dominic Cleal
If the DHCP reservation isn't added, see [[Proxy_communication_errors]].
22 3 Dominic Cleal
23 3 Dominic Cleal
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 3 Dominic Cleal
25 3 Dominic Cleal
<pre>
26 3 Dominic Cleal
:dhcp_subnets: [192.168.205.0/255.255.255.128, 192.168.205.128/255.255.255.128]
27 3 Dominic Cleal
</pre>
28 3 Dominic Cleal
29 3 Dominic Cleal
Issue #5847 tracks this problem.
30 3 Dominic Cleal
31 1 Dominic Cleal
h2. Using AD DHCP and Windows 2008
32 1 Dominic Cleal
33 1 Dominic Cleal
Seen on Windows 2008 R2.  In proxy.log, it logs:
34 1 Dominic Cleal
35 1 Dominic Cleal
<pre>
36 1 Dominic Cleal
I, [2014-05-30T09:06:23.096367 #2620]  INFO -- : Vendor class not found
37 1 Dominic Cleal
E, [2014-05-30T09:06:23.096367 #2620] ERROR -- : Netsh failed:
38 1 Dominic Cleal
39 1 Dominic Cleal
Changed the current scope context to 172.28.4.0 scope.
40 1 Dominic Cleal
41 1 Dominic Cleal
The specified option does not exist.
42 1 Dominic Cleal
</pre>
43 1 Dominic Cleal
44 1 Dominic Cleal
This is bug #5995.  To workaround it, remove the option 60 added here: https://github.com/theforeman/smart-proxy/commit/296617a