Bug 508334
| Summary: | checking for available subscriptions with a guest that has no host causes an ISE | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Network | Reporter: | James Bowes <jbowes> |
| Component: | RHN/Registration | Assignee: | Grant Gainey <ggainey> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Red Hat Network Quality Assurance <rhn-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | low | ||
| Version: | rhn511 | CC: | acarter, bkearney, dhughes, ggainey, liko, rhn-bugs |
| Target Milestone: | --- | Keywords: | Reopened |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | us=111264 US153 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2009-12-16 20:24:00 UTC | Type: | --- |
| 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: | 510541, 527511 | ||
|
Description
James Bowes
2009-06-26 16:19:15 UTC
FWIW, this has to be a kvm guest, it seems. Verified in webdev. Steps for Testing: 1. ssh root.redhat.com 2. ssh -p 1111 localhost 3. Run rhn_register 4. tail the logs and verify no errors 5. Verify the system is registered in RHN Cannot be verified in webqa. No access to the machine for testing. Setting status to verified. The change I made for this bug is causing tracebacks in production. Should be an easy fix; the SQL is just plain wrong (see commit 530479) TEST PLAN: ========= * THERE EXISTS an account with NO entitlements remaining * THERE EXISTS a 5.4 KVM Host system, "HOST" * THERE EXISTS on that system a KVM guest, "GUEST" * HOST is NOT REGISTERED to RHN 1) Log in to GUEST 2) Run rhn_register EXPECTED: ======== Registration fails cleanly, due to no remaining entitlements. No errors in the logs on the rhnxml box or on GUEST. 3) Give the account entitlements 4) Login to GUEST 5) Run rhn_register EXPECTED: ======== GUEST registers with hosted 6) Log in to HOST 7) Run rhn_register 8) Give HOST Virtualization entitlement EXPECTED: ======== HOST shows GUEST as one of its guest systems in WEBUI Verified on webdev. Testopia ID: https://testopia.devel.redhat.com/bugzilla/tr_show_case.cgi?case_id=13085 verified on webqa Note that I can't reproduce the failure on any environment now, so I'll just trust that the test plan in this bz is accurate. Fix in production. |