Bug 1455789
| Summary: | 500 Internal Server Error if Click the tab "Subscriptions=>Subscriptions" for a guest in Satellite WebUI | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Eko <hsun> | ||||||||
| Component: | Subscription Management | Assignee: | Eric Helms <ehelms> | ||||||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Katello QA List <katello-qa-list> | ||||||||
| Severity: | urgent | Docs Contact: | |||||||||
| Priority: | urgent | ||||||||||
| Version: | 6.2.10 | CC: | andrew.schofield, bbuckingham, bkearney, jcallaha, sgao, shihliu, yuefliu | ||||||||
| Target Milestone: | Unspecified | Keywords: | Triaged | ||||||||
| Target Release: | Unused | ||||||||||
| Hardware: | Unspecified | ||||||||||
| OS: | Unspecified | ||||||||||
| Whiteboard: | |||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||
| Doc Text: | Story Points: | --- | |||||||||
| Clone Of: | Environment: | ||||||||||
| Last Closed: | 2017-06-26 14:43:41 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: | |||||||||||
| Attachments: |
|
||||||||||
try to attach the virtual subscription to the guest by CLI, it can be attached normally, but still can't find the attached subscription in the Satellite WebUI. still can be reproduced in satellite6.2.10-snap3.0 This is odd, as my 6.2.10 Snap 3 system is able to list the guest subscriptions in the UI without issues. See attached. Created attachment 1286517 [details]
visible subscriptions
Hi jcallaha, I still can reproduce this issue for sat6.2.10-snap4, when I switched the Tab to "Subscriptions" => "Subscriptions" for the guest in webUI, it will show error message in /var/log/foreman/production.log, please refer to the attached file for detailed log. 2017-06-11 22:18:58 16a59705 [app] [E] NoMethodError: undefined method `hypervisor' for nil:Katello::HostSubscriptionPresenter .... .... .... 2017-06-11 22:20:22 22b3a0af [app] [I] Completed 500 Internal Server Error in 176ms (Views: 0.4ms | ActiveRecord: 3.3ms) Created attachment 1286930 [details]
/var/log/foreman/production.log
can't be reproduced in sat6.2.10-snap5,0, marking verified. Closing this out per comment 10. |
Created attachment 1282485 [details] no virtual subscription found