Project

General

Profile

Actions

Bug #17506

closed

smart-proxy Error while getting IP from AD DHCP (undefined method `key?')

Added by Kevin Carrasco almost 8 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
High
Assignee:
-
Category:
DHCP
Target version:
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

After upgrading Foreman (CentOS 7) and Smart-Proxy (Windows) from 1.13.1 to 1.13.2 I'm getting the following error on the smart proxy while trying to acquire an unused IP address for a new host:

D, [2016-11-28T11:26:04.273136 #4984] DEBUG -- : undefined method `key?' for #<Proxy::MemoryStore:0x00000002a8da98 @root={}> (NoMethodError)

I've attached the smart-proxy.log in this ticket.

I also verified that the netsh command the proxy runs works properly when run from CMD:

Microsoft Windows [Version 6.3.9600]
(c) 2013 Microsoft Corporation. All rights reserved.

C:\Windows\system32>c:\windows\system32\cmd.exe /c c:\Windows\System32\netsh.exe -c dhcp server 10.49.60.1 show scope

==============================================================================
 Scope Address  - Subnet Mask    - State        - Scope Name          -  Comment
==============================================================================

 10.49.41.0     - 255.255.255.0  -Active        -W3rd VOIP VLAN 241   -W3rd VOIP, Cis
 10.49.55.0     - 255.255.255.0  -Active        -W3rd DR              -West 3rd DR ro
 10.49.60.0     - 255.255.255.0  -Active        -W3rd Servers VLAN 260-
 10.49.70.0     - 255.255.254.0  -Active        -W3rd Workstations VLA-W3rd Workstati
 10.49.78.0     - 255.255.255.0  -Active        -W3rd Technology VLAN -W3rd Technolog
 10.49.79.0     - 255.255.255.0  -Active        -W3rd Corporate VLAN 2-Corporate work
 10.49.80.0     - 255.255.255.0  -Active        -W3rd Renders VLAN 280-
 10.64.0.0      - 255.255.240.0  -Active        -Studio Cloud Render n-Scalar Studio

 Total No. of Scopes = 8
Command completed successfully.

Let me know what other information will help resolve this issue. Thanks.


Files

smart-proxy.log smart-proxy.log 6.43 KB Kevin Carrasco, 11/28/2016 02:48 PM
Actions #1

Updated by Anonymous almost 8 years ago

I guess this is related to #17387

Actions #3

Updated by Kevin Carrasco almost 8 years ago

  • Status changed from New to Resolved

Thanks guys, I've applied the change in your commit and that fixed the issue for me.

Actions #4

Updated by Anonymous almost 8 years ago

  • Status changed from Resolved to Closed
Actions #5

Updated by Dominic Cleal almost 8 years ago

  • Translation missing: en.field_release set to 207
  • Assignee set to Anonymous
Actions #6

Updated by Ivan Necas almost 8 years ago

  • Target version set to 1.3.2
Actions

Also available in: Atom PDF