Bug 1193485
Summary: | AJAX call returns 500 when discovery provisioning is finished | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Sachin Ghai <sghai> |
Component: | WebUI | Assignee: | orabin |
WebUI sub component: | Foreman | QA Contact: | Sachin Ghai <sghai> |
Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
Severity: | high | ||
Priority: | low | CC: | bkearney, jmontleo, lzap, mhulan, mmccune |
Version: | 6.1.0 | Keywords: | Triaged |
Target Milestone: | Unspecified | ||
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
URL: | http://projects.theforeman.org/issues/9424 | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-08-12 13:56:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1193977 | ||
Attachments: |
Description
Sachin Ghai
2015-02-17 12:59:39 UTC
Created attachment 992656 [details]
undefined method `managed?' for nil:NilClass on accessing the https://<host_name>/discovered_hosts/mac525400df80c8/edit
Setting low priority as it has zero effects on functionality. I've already seen that before with upstream. We need to fix this later on. Note for myself: Not yet sure if the upstream issue is correct. Need to investigate. Upstream bug assigned to gsutclif Sachin, out of my curiousity, when you simply create new Host on a Satellite 6.0 instance, won't you get the very same error? Maybe this is not Discovery related at all. Moving to POST since upstream bug http://projects.theforeman.org/issues/9147 has been closed ------------- Greg Sutcliffe Applied in changeset commit:5440d482b0087fe29b3fb4567e0ca73f2d3af221. Upstream bug assigned to gsutclif Assigned to Marek who actually rewrote Gregs patch upstream. Upstream bug assigned to gsutclif I think you should reassign upstream bug, otherwise it's always reassigned. But I don't think it's related to that upstream bug as it was reported after new nic change. This seems to me like something in discovery. Will merge that manually. Upstream bug assigned to gsutclif Ok after discussion with Marek I am putting the link back to the original upstream bug and giving it to Ori. Ori can you please re-test this bug with 2.0.1 rebased version of discovery? We might be fixing this, I think I saw it during our bunch of bugfixes. I think anything related to 500 ISE should be on higher priority. This error looks ugly in all aspects. We really need to get this fixed by beta only. Setting the blocker flag to get into beta. When you see 500 in the UI that's totally blocker, but in this case we only see 500 only in the production.log. Satellite 6 operates well. For this reason I gave it lower prio. We do not see this anymore with https://gitlab.sat.lab.tlv.redhat.com/satellite6/foreman_discovery/merge_requests/2 merged, please retest. Reproducible with sat6 GA snap3 compose2 2015-05-08 18:49:01 [I] Processing by DiscoveredHostsController#edit as */* 2015-05-08 18:49:01 [I] Parameters: {"id"=>"mac525400d5d951"} 2015-05-08 18:49:01 [I] Rendered hosts/edit.html.erb within layouts/application (2.2ms) 2015-05-08 18:49:01 [W] Operation FAILED: undefined method `managed?' for nil:NilClass 2015-05-08 18:49:01 [I] Rendered common/500.html.erb (13.0ms) 2015-05-08 18:49:01 [I] Completed 500 Internal Server Error in 73ms (Views: 17.6ms | ActiveRecord: 0.1ms) 20 upstream issue is closed Verified with sat6.1 GA snap7. The reported issue has been fixed. please see screenshot for verification. Created attachment 1035203 [details]
no error in firebug when discovered host submitted for provisioning
This bug is slated to be released with Satellite 6.1. This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015. |