Bug 1580436
Summary: | subscriptions pages/api errors with 'NoMethodError: undefined method `id' for nil:NilClass' | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite | Reporter: | Justin Sherrill <jsherril> | ||||
Component: | Subscription Management | Assignee: | Stephen Benjamin <stbenjam> | ||||
Status: | CLOSED ERRATA | QA Contact: | Jitendra Yejare <jyejare> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 6.3.1 | CC: | ajambhul, akarimi, arunas.vaznevicius, dmoessne, hshukla, jason.berry, jsherril, okhatavk, pcreech, sghai, slutade, smajumda, suarora, tbhowmik | ||||
Target Milestone: | 6.4.0 | Keywords: | Triaged | ||||
Target Release: | Unused | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Whiteboard: | |||||||
Fixed In Version: | tfm-rubygem-katello-3.7.0.rc1.2-0.1.rc1.2 | Doc Type: | If docs needed, set a value | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2018-10-16 19:15:48 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: |
|
Description
Justin Sherrill
2018-05-21 13:03:29 UTC
Temporary Workaround: Apply the included workaround.patch, restart httpd. This will stop returning the 'hypervisor' information for the subscriptions that are erroring. This will allow the user to still access the relevant pages until a proper fix can be done. Created attachment 1439613 [details]
workaround.patch
Created redmine issue http://projects.theforeman.org/issues/23823 from this bug Upstream bug assigned to stbenjam Upstream bug assigned to stbenjam Moving to POST as the upstream issue has been merged and issue closed. @Justin, Need steps to repro/Verify this bug. Is it required to have virt-who subscription in manifest ? We do not know how the original customer got into this state, I believe a no-break test would just be fine: set up virt who and some VDC subs. The only other way is to manually assign a hypervisor id that doesn't exist to a pool, overriding any rails validations. Verified! @ Satellite 6.4 snap 22 Steps: 1. Import manifest with VDC Subscriptions. 2. Register virt-who clients to the satellite and add the virt-who subscriptions to the clients. 3, Upgrade Satellite 6.3 to 6.4 4. Verify the subscription page and virt-who clients. Observation: 1. The subscription page post upgrade is not errored out and showing the subscriptions correctly with clients. 2. The virt-who clients are intact post upgrade and subscribed. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2018:2927 |