Actions
Bug #2619
closedBMC pane renders a full HTML error response from proxy BMC calls
Description
My host has a BMC proxy assigned that's giving out a Ruby error response in HTML along the lines of:
LoadError at /bmc/10.1.1.1/chassis/power/status
no such file to load -- rubyipmi
When I'm viewing the host page in Foreman, the BMC tab is rendering the full HTML response from the proxy inline. Since the proxy error response contains CSS too, this is creating a huge mess of the Foreman UI.
Foreman probably shouldn't pass HTML errors along to the browser when the proxy fails.
Files
Updated by Lukas Zapletal over 11 years ago
I found similar: http://projects.theforeman.org/issues/2622
Updated by Marek Hulán over 11 years ago
- Assignee set to Marek Hulán
So the solution in here would be to either
- remove html or css from output
- wrap in
< pre >...< /pre >
- put it into iframe so css does not conflict (this one would preserver original look)
comments? thoughts? other suggestions?
Updated by Marek Hulán over 11 years ago
- Status changed from New to Ready For Testing
That would generate a lot of html code, backtrace was in table, here's a patch we agreed, just display exception message (e.g. 500 Internal server error)
Updated by Marek Hulán over 11 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset a933fc25b6374cf02685b5499f422ae97dec79f7.
Actions