| Summary: | while generating entitlement certs ( * )points to undeployed repo in rhui | ||
|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Sachin Ghai <sghai> |
| Component: | RHUA | Assignee: | Jay Dobies <jason.dobies> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.0 | CC: | kbidarka, sghai, tsanders |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-05-31 12:53:07 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 711223 | ||
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Home =-
r manage repositories
c manage content delivery servers (CDS)
s synchronization status and scheduling
e create entitlement certificates and client configuration RPMs
n manage Red Hat entitlement certificates
u manage users
logout
removes stored authentication credentials and exits
< move to the previous screen
^, home
move to the home screen
/, clear
clears the screen
?, help
display help
q, quit, exit
exit
Connected: dhcp201-149.englab.pnq.redhat.com
------------------------------------------------------------------------------
rhui (home) => e
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Client Entitlement Management =-
e generate an entitlement certificate
c create a client configuration RPM from an entitlement certificate
Connected: dhcp201-149.englab.pnq.redhat.com
------------------------------------------------------------------------------
rhui (client) => e
Select one or more repositories to include in the entitlement certificate:
(an * next to a Red Hat repository indicates it is deployed in the RHUI)
Custom Repositories
Red Hat Repositories
- 1 : Red Hat Enterprise Linux Server (RPMs) *
- 2 : Red Hat Enterprise Linux Server (SRPMS)
- 3 : Red Hat Enterprise Linux Server (STS)
- 4 : Red Hat Enterprise Linux Server 6 Optional Releases (RPMs)
- 5 : Red Hat Enterprise Linux Server 6 Optional Releases (SRPMS)
- 6 : Red Hat Enterprise Linux Server 6 Optional Updates (RPMs)
- 7 : Red Hat Enterprise Linux Server 6 Optional Updates (SRPMS)
- 8 : Red Hat Enterprise Linux Server 6 Releases (RPMs) *
- 9 : Red Hat Enterprise Linux Server 6 Releases (SRPMS)
- 10: Red Hat Enterprise Linux Server 6 Updates (RPMs)
- 11: Red Hat Enterprise Linux Server 6 Updates (SRPMS)
- 12: Red Hat Update Infrastructure 1.2 (RPMs) *
- 13: Red Hat Update Infrastructure 1.2 (SRPMS) *
Enter value (1-13) to toggle selection, 'c' to confirm selections, or '?' for more commands: b
------------------------------------------------------------------------------
rhui (client) => r
Invalid menu item; type "?" for a list of available commands
rhui (client) => home
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Home =-
r manage repositories
c manage content delivery servers (CDS)
s synchronization status and scheduling
e create entitlement certificates and client configuration RPMs
n manage Red Hat entitlement certificates
u manage users
Connected: dhcp201-149.englab.pnq.redhat.com
------------------------------------------------------------------------------
rhui (home) => r
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Repository Management =-
l list repositories currently managed by the RHUI
i display detailed information on a repository
a add a new Red Hat content repository
c create a new custom repository
d delete a repository from the RHUI
u upload content to a custom repository
p list packages in a repository
Connected: dhcp201-149.englab.pnq.redhat.com
------------------------------------------------------------------------------
rhui (repo) => l
Custom Repositories
Qpid
Red Hat Repositories
Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64)
Red Hat Update Infrastructure 1.2 (SRPMS) (5Server-x86_64)
Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64)
------------------------------------------------------------------------------
Even I have faced the similar issue now.
186 -pulp
2.0.26 - rhui
added to rhui-20 tracker Cool, I at least figured out what the issue is. I don't do an exact match on the entitlement label against the repo ID, since the repo ID will also take into account architecture information that's not in the entitlement. That means an entitlement like "rhel-server" (which is the RHEL 5 entitlement that, annoyingly, doesn't have the version information) will reflect as deployed for something like "rhel-server-6". So the good news is that I at least know what the issue is. Not that I have any idea how to fix it... commit ab48266868112bbef292528f31e7cd12c88e3100
Author: Jay Dobies <jason.dobies>
Date: Mon Jun 20 11:06:07 2011 -0400
709261 - Rather than guess at the entitlement used, we now store it as a
group ID, so check there for exact matches.
rhui-2.0/tools/src/rhui/tools/screens/client.py
Fixed in RHUI 2.0.31. Verified in new build 2.0.32. The issue is fixed. Now I can see the correct selection. Only deployed repos are marked with *.
------------------------------------------------------------------------------
rhui (home) => e
------------------------------------------------------------------------------
-= Red Hat Update Infrastructure Management Tool =-
-= Client Entitlement Management =-
e generate an entitlement certificate
c create a client configuration RPM from an entitlement certificate
Connected: dhcp201-111.englab.pnq.redhat.com
------------------------------------------------------------------------------
rhui (client) => e
Select one or more repositories to include in the entitlement certificate:
(an * next to a Red Hat repository indicates it is deployed in the RHUI)
Custom Repositories
Red Hat Repositories
- 1 : Red Hat Enterprise Linux Server (RPMs)
- 2 : Red Hat Enterprise Linux Server (SRPMS)
- 3 : Red Hat Enterprise Linux Server (STS)
- 4 : Red Hat Enterprise Linux Server 6 Optional Releases (RPMs)
- 5 : Red Hat Enterprise Linux Server 6 Optional Releases (SRPMS)
- 6 : Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) *
- 7 : Red Hat Enterprise Linux Server 6 Optional Updates (SRPMS)
- 8 : Red Hat Enterprise Linux Server 6 Releases (RPMs)
- 9 : Red Hat Enterprise Linux Server 6 Releases (SRPMS)
- 10: Red Hat Enterprise Linux Server 6 Updates (RPMs) *
- 11: Red Hat Enterprise Linux Server 6 Updates (SRPMS)
- 12: Red Hat Update Infrastructure 1.1 (RPMs) *
- 13: Red Hat Update Infrastructure 1.2 (RPMs) *
- 14: Red Hat Update Infrastructure 1.2 (SRPMS) *
Enter value (1-14) to toggle selection, 'c' to confirm selections, or '?' for more commands:
moving to release pending closing out, product released |
Description of problem: While generating entitlement certs, an * next to a Red Hat repository indicates it is deployed in the RHUI. However it is also pointing to a undeployed repo in rhui. ------------------------------------------------------------------------------ rhui (client) => e Select one or more repositories to include in the entitlement certificate: (an * next to a Red Hat repository indicates it is deployed in the RHUI) Custom Repositories Red Hat Repositories - 1 : Red Hat Enterprise Linux Server (RPMs) * <<<< (undeployed ) - 2 : Red Hat Enterprise Linux Server (SRPMS) - 3 : Red Hat Enterprise Linux Server (STS) - 4 : Red Hat Enterprise Linux Server 6 Optional Releases (RPMs) - 5 : Red Hat Enterprise Linux Server 6 Optional Releases (SRPMS) - 6 : Red Hat Enterprise Linux Server 6 Optional Updates (RPMs) - 7 : Red Hat Enterprise Linux Server 6 Optional Updates (SRPMS) - 8 : Red Hat Enterprise Linux Server 6 Releases (RPMs) * - 9 : Red Hat Enterprise Linux Server 6 Releases (SRPMS) - 10: Red Hat Enterprise Linux Server 6 Updates (RPMs) - 11: Red Hat Enterprise Linux Server 6 Updates (SRPMS) - 12: Red Hat Update Infrastructure 1.2 (RPMs) * - 13: Red Hat Update Infrastructure 1.2 (SRPMS) ----------------------------------------------------------------------------- Currently only following repos are added in rhui. rhui (repo) => l Red Hat Repositories Red Hat Update Infrastructure 1.2 (RPMs) (5Server-i386) Red Hat Update Infrastructure 1.2 (RPMs) (5Server-x86_64) Red Hat Enterprise Linux Server 6 Releases (RPMs) (6Server-x86_64) -------------------------------------------------------------------------------- Version-Release number of selected component (if applicable): rh-rhui-tools 2.0.25 pulp 0.181 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: * pointing to undeployed repo Expected results: * should point only to deployed repos in rhui. Additional info: