Project

General

Profile

Actions

Bug #6413

closed

Discovery nighly image does not work with nightly plugin

Added by Lukas Zapletal over 10 years ago. Updated almost 9 years ago.

Status:
Closed
Priority:
Normal
Category:
Image
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Marek found this, we have one report on the list with image 0.5.5 stable version too.

Actions #1

Updated by Marek Hulán over 10 years ago

Logs from foreman accepting facts:

Started POST "/api/v2/discovered_hosts/facts" for 192.168.122.133 at 2014-06-27 07:10:09 +0000

ActionController::RoutingError (No route matches [POST] "/api/v2/discovered_hosts/facts"):
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/rack/thread_handler_extension.rb:77:in 

`process_request'
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
  /usr/lib/ruby/gems/1.8/gems/passenger-4.0.18/lib/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'

Started POST "/discovers" for 192.168.122.133 at 2014-06-27 07:10:09 +0000
Processing by DiscoversController#create as */*
  Parameters: {"ip"=>"192.168.122.133"}
Import facts for '5254002a3ab2' completed. Added: 45, Updated: 0, Deleted 0 facts
  Rendered text template (0.0ms)
Completed 200 OK in 2388ms (Views: 0.6ms | ActiveRecord: 355.3ms)
Actions #2

Updated by Andreas Ntaflos over 10 years ago

Seem to still be a problem. Using Foreman 1.5.2, foreman_discovery from Git (bundler installs it as foreman_discovery-834e41ba0035) and the discovery image foreman-discovery-image-3.0.5-20140523.0.el6.iso from http://downloads.theforeman.org/discovery/releases/latest/. Here are some more log messages; notice how no facts get imported at all ("super: no superclass method `importFacts' for ..."):

Started POST "/api/v2/discovered_hosts/facts" for 10.1.7.78 at 2014-08-14 01:40:51 +0200

ActionController::RoutingError (No route matches [POST] "/api/v2/discovered_hosts/facts"):
  /usr/lib/ruby/vendor_ruby/phusion_passenger/rack/thread_handler_extension.rb:77:in `process_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:140:in `accept_and_process_next_request'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler/thread_handler.rb:108:in `main_loop'
  /usr/lib/ruby/vendor_ruby/phusion_passenger/request_handler.rb:441:in `block (3 levels) in start_threads'

Started POST "/discovers" for 10.1.7.78 at 2014-08-14 01:40:51 +0200
Processing by DiscoversController#create as */*
  Parameters: {"ip"=>"10.1.7.78"}
Failed to import facts for Host::Discovered: super: no superclass method `importFacts' for #<Host::Discovered:0x007f144063f2a8>
  Rendered text template (0.0ms)
Completed 400 Bad Request in 1917.4ms (Views: 2.7ms | ActiveRecord: 10.3ms)
Actions #3

Updated by Lukas Zapletal almost 9 years ago

  • Status changed from New to Closed

Andreas, I believe this was solved with new plugin, image and core releases. I am closing.

Actions

Also available in: Atom PDF