Project

General

Profile

Bug #11941

Updated by Dominic Cleal over 9 years ago

I discovered a host using latest discovery image tar fdi-image-3.0.1.tar. Host was successfully discovered. I can see Success message on TUI screen. However when I go to server, Hosts -> DiscoveredHosts to check the host, I got following :We're sorry, but something went wrong. 

 <pre> 
 2015-09-24 03:09:18 [app] [I]  
  |  
  | Started POST "/api/v2/discovered_hosts/facts" for 192.168.100.24 at 2015-09-24 03:09:18 -0400 
 2015-09-24 03:09:18 [app] [I] Processing by Api::V2::DiscoveredHostsController#facts as JSON 
 2015-09-24 03:09:18 [app] [I]     Parameters: {"facts"=>"[FILTERED]", "apiv"=>"v2", "discovered_host"=>{"facts"=>"[FILTERED]"}} 
 2015-09-24 03:09:18 [app] [I] Import facts for 'mac525400104461' completed. Added: 0, Updated: 0, Deleted 0 facts 
 2015-09-24 03:09:18 [app] [I] Completed 201 Created in 96ms (Views: 3.1ms | ActiveRecord: 0.0ms) 
 2015-09-24 03:09:25 [app] [I]  
  |  
  | Started GET "/discovered_hosts" for 10.65.xxx.xx at 2015-09-24 03:09:25 -0400 
 2015-09-24 03:09:25 [app] [I] Processing by DiscoveredHostsController#index as HTML 
 2015-09-24 03:09:25 [app] [I] Completed 500 Internal Server Error in 12ms 
 2015-09-24 03:09:25 [app] [F]  
  | ActionView::MissingTemplate (Missing template discovered_hosts/index, application/index with {:locale=>[:en], :formats=>[:html, :xml], :handlers=>[:erb, :builder, :rabl]}. Searched in: 
  |     * "/usr/share/foreman/app/views" 
  |     * "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_remote_execution-0.0.6/app/views" 
  |     * "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_discovery-4.0.0/app/views" 
  |     * "/opt/theforeman/tfm/root/usr/share/gems/gems/katello-2.4.0/app/views" 
  |     * "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_bootdisk-6.0.0/app/views" 
  |     * "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman-tasks-0.7.3/app/views" 
  |     * "/opt/theforeman/tfm/root/usr/share/gems/gems/bastion-2.0.1/app/views" 
  |     * "/opt/theforeman/tfm/root/usr/share/gems/gems/foreman_docker-1.4.1/app/views" 
  |     * "/opt/theforeman/tfm/root/usr/share/gems/gems/apipie-rails-0.2.6/app/views" 
  | ): 
  |     app/controllers/concerns/application_shared.rb:13:in `set_timezone' 
  |     app/models/concerns/foreman/thread_session.rb:32:in `clear_thread' 
  |     lib/middleware/catch_json_parse_errors.rb:9:in `call' 
  |  
 </pre> 

  


 I'm using foreman+katello nightly and setup is installed with katello-deploy. Reproducible with following rpms: 

 tfm-rubygem-foreman_discovery-4.1.0-1.fm1_10.git.56.4380f1d.git.56.4380f1d.git.56.4380f1d.el7.noarch 
 foreman-release-1.10.0-0.develop.201509171905gitd7b8c7a.el7.noarch 
 foreman-libvirt-1.10.0-0.develop.201509171905gitd7b8c7a.el7.noarch 
 foreman-1.10.0-0.develop.201509171905gitd7b8c7a.el7.noarch 

Back