Project

General

Profile

Actions

Bug #2320

closed

Foreman Proxy on Windows: Vendor Class not found Error

Added by Oliver Weinmann about 11 years ago. Updated about 8 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hi,

I'm currently setting up a new foreman infrastructure on our network. I used the instructions on the foreman website to installthe proxy under Windows. BTW I installed a proxy under Windows XP. This works fine as long as you add the dhcp option for netsh:

NETSH ADD HELPER DHCPMON.DLL

and install the ruby DEVKIT.

First problem is that the timeout in lib/proxy/dhcp/server/native_ms.rb is too low. It is set to 5 seconds and should be set to 10. Something I was able to fix myself for now.

But then I get this error when trying to import the subnets from the dhcp in foreman:

D, [2013-03-14T15:20:01.414954 #3564] DEBUG -- : Loading subnets for 172.28.20.14
D, [2013-03-14T15:20:01.430579 #3564] DEBUG -- : executing: c:\windows\system32\cmd.exe /c c:\Windows\System32\netsh.exe c dhcp server 172.28.20.14 show scope
I, [2013-03-14T15:20:08.946156 #3564] INFO -
: Vendor class not found
E, [2013-03-14T15:20:08.946156 #3564] ERROR -- : Failed to enumerate the scopes on 172.28.20.14Vendor class not found

If using not the latest version of the smart-proxy under windows XP, this works just fine. I used the latest version of the smart-proxy as this was pointed out in the documentation.


Related issues 1 (0 open1 closed)

Related to Smart Proxy - Bug #13129: Intermittent failures in native MS test_records_should_have_options testsClosed01/12/2016Actions
Actions

Also available in: Atom PDF