Project

General

Profile

Actions

Bug #26592

closed

Unable to set DHCP entry - TypeError: can't dup NilClass

Added by Jeff Sparrow about 5 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Immediate
Assignee:
-
Category:
DHCP
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

We just upgrade from Foreman/Proxies 1.19 to 1.21 and we can not create any DHCP entries now.
Any help would be appreciated as we are currently down across multiple sites.

2019-04-11T07:04:24 2f4be612 [I] Started GET /100.91.41.0/ip/100.91.41.193
2019-04-11T07:04:24 2f4be612 [E] No DHCP records for IP 100.91.41.0/100.91.41.193 found
2019-04-11T07:04:24 2f4be612 [D] No DHCP records for IP 100.91.41.0/100.91.41.193 found
2019-04-11T07:04:24 2f4be612 [I] Finished GET /100.91.41.0/ip/100.91.41.193 with 404 (7.0 ms)
2019-04-11T07:04:24  [D] close: 100.90.128.69:53798
2019-04-11T07:04:25  [D] accept: 100.90.128.69:53806
2019-04-11T07:04:25  [D] Rack::Handler::WEBrick is invoked.
2019-04-11T07:04:25 2f4be612 [I] Started POST /100.91.41.0
2019-04-11T07:04:25 2f4be612 [W] Error processing request '2f4be612-a261-4af0-a7af-59bf4b0d64c1
TypeError: can't dup NilClass
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1092:in `dup'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1092:in `block in dispatch!'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1092:in `each'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1092:in `dispatch!'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:924:in `block in call!'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1076:in `block in invoke'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1076:in `catch'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1076:in `invoke'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:924:in `call!'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:913:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-2.0.7/lib/rack/method_override.rb:22:in `call'
C:/foreman-proxy/mdc_foreman-proxy/smart-proxy-1.21_L3_4/lib/proxy/log.rb:86:in `call'
C:/foreman-proxy/mdc_foreman-proxy/smart-proxy-1.21_L3_4/lib/proxy/request_id_middleware.rb:14:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-protection-2.0.5/lib/rack/protection/xss_header.rb:18:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-protection-2.0.5/lib/rack/protection/path_traversal.rb:16:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-protection-2.0.5/lib/rack/protection/json_csrf.rb:26:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-protection-2.0.5/lib/rack/protection/base.rb:50:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-protection-2.0.5/lib/rack/protection/base.rb:50:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-protection-2.0.5/lib/rack/protection/frame_options.rb:31:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-2.0.7/lib/rack/null_logger.rb:9:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-2.0.7/lib/rack/head.rb:12:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/show_exceptions.rb:22:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:194:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1957:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1502:in `block in call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1729:in `synchronize'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/sinatra-2.0.5/lib/sinatra/base.rb:1502:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-2.0.7/lib/rack/urlmap.rb:68:in `block in call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `each'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-2.0.7/lib/rack/urlmap.rb:53:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-2.0.7/lib/rack/builder.rb:153:in `call'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/rack-2.0.7/lib/rack/handler/webrick.rb:86:in `service'
C:/Ruby23-x64/lib/ruby/2.3.0/webrick/httpserver.rb:140:in `service'
C:/Ruby23-x64/lib/ruby/2.3.0/webrick/httpserver.rb:96:in `run'
C:/Ruby23-x64/lib/ruby/2.3.0/webrick/server.rb:296:in `block in start_thread'
C:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/logging-2.2.2/lib/logging/diagnostic_context.rb:474:in `block in create_with_logging_context'
2019-04-11T07:04:25 2f4be612 [I] Finished POST /100.91.41.0 with 500 (3.0 ms)
2019-04-11T07:04:25 2f4be612 [D] close: 100.90.128.69:53806
Actions

Also available in: Atom PDF