Project

General

Profile

Actions

Bug #10391

closed

UI raises 500 ISE on refreshing facts of a discovered host which is down/poweroff

Added by Bryan Kearney almost 9 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Category:
Smart Proxy Plugin
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1218289
Description of problem:
I was trying to refresh the facts of discovered host and UI raises following error. But later I realized the discovered host was already down.

--

Oops, we're sorry but something went wrong

Could not get facts from proxy https://dhcp201-172.englab.pnq.redhat.com:9090/discovery/192.168.100.15: 500 Internal Server Error
--

production.log:

2015-05-04 19:26:58 [I] Processing by DiscoveredHostsController#refresh_facts as HTML
2015-05-04 19:26:58 [I] Parameters: {"id"=>"mac525400ccc513"}
2015-05-04 19:27:01 [W] Operation FAILED: Could not get facts from proxy https://dhcp201-172.englab.pnq.redhat.com:9090/discovery/192.168.100.15: 500 Internal Server Error
2015-05-04 19:27:01 [I] Rendered common/500.html.erb within layouts/application (5.4ms)
2015-05-04 19:27:01 [I] Rendered layouts/base.html.erb (1.5ms)
2015-05-04 19:27:01 [I] Completed 500 Internal Server Error in 3128ms (Views: 9.8ms | ActiveRecord: 6.8ms)

Version-Release number of selected component (if applicable):
sat6.1 GA snap2 (Satellite-6.1.0-RHEL-7-20150429.2)

How reproducible:
always

Steps to Reproduce:
1. discovered a host
2. power-it off
3. refresh-facts

Actual results:
500 ISE

Expected results:
UI should raise a decent error without :Oops and 500 ISE

Additional info:

Actions #1

Updated by Lukas Zapletal about 8 years ago

  • Category set to Smart Proxy Plugin
  • Status changed from New to Closed
  • Pull request https://github.com/theforeman/foreman_discovery/pull/251 added
Actions

Also available in: Atom PDF