| Summary: | rhui-manager: more titles for client available than rhua has been subscribed to | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | mkovacik | ||||
| Component: | RHUA | Assignee: | Jay Dobies <jason.dobies> | ||||
| Status: | CLOSED NOTABUG | QA Contact: | wes hayutin <whayutin> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 2.0.2 | CC: | jslagle, kbidarka, sghai, tsanders | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2012-02-09 14:37:33 UTC | Type: | --- | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Attachments: |
|
||||||
Enter value (1-39) to toggle selection, 'c' to confirm selections, or '?' for more commands: c
Name of the certificate. This will be used as the name of the certificate file
(name.crt) and its associated private key (name.key). Choose something that will
help identify the products contained with it:
788075
Local directory in which to save the generated certificate [current directory]:
Number of days the certificate should be valid [365]:
Repositories to be included in the entitlement certificate:
Red Hat Repositories
Red Hat Enterprise Linux 5 Server - Optional Productivity Applications (Debug RPMs) from RHUI
Red Hat Enterprise Linux 6 Server (RPMs) from RHUI
Red Hat Enterprise Linux 6 Server - Optional (RPMs) from RHUI
------------------------------------------------------------------------------
Proceed? (y/n) y
...................+++
.+++
Enter pass phrase for /etc/pki/rhui/entitlement-ca-key.pem:
Entitlement certificate created at ./788075.crt
------------------------------------------------------------------------------
rhui (client) => c
Local directory in which the client configuration files generated by this tool
should be stored (if this directory does not exist, it will be created):
ip-10-58-183-22.eu-west-1.compute.internal
Name of the RPM:
rh-custom01-rhua01-client01
Version of the configuration RPM [2.0]:
Full path to the entitlement certificate authorizing the client to access
specific channels:
/root/788075.crt
Full path to the private key for the above entitlement certificate:
/root/788075.key
Full path to the CA certificate or CA chain used to sign the CDS SSL certificate:
/etc/pki/CA/ip-10-51-53-245.eu-west-1.compute.internal.cert
Select the CDS instance that should be the primary load balancer for the
client. All other CDS instances will be listed as back up load balancers
in the client's mirror list:
1 - ip-10-51-53-158.eu-west-1.compute.internal
2 - ip-10-226-7-160.eu-west-1.compute.internal
Enter value (1-2) or 'b' to abort: 2
Load Balancer Order:
ip-10-226-7-160.eu-west-1.compute.internal
ip-10-51-53-158.eu-west-1.compute.internal
Error occurred during RPM creation, check the log file for more information
------------------------------------------------------------------------------
rhui (client) => q
[root@ip-10-51-53-245 ~]# tail -20 .rhui/rhui.log
Unexpected OID encountered [1.3.6.1.4.1.2312.9.4.6]
Unexpected OID encountered [1.3.6.1.4.1.2312.9.1.147.2]
Unexpected OID encountered [1.3.6.1.4.1.2312.9.1.147.3]
Copying [/root/788075.key] to [custom-01/rh-custom01-rhua01-client01-2.0/tmp/rh-custom01-rhua01-client01-2.0/key.pem]
Copying [/etc/pki/CA/ip-10-51-53-245.eu-west-1.compute.internal.cert] to [custom-01/rh-custom01-rhua01-client01-2.0/tmp/rh-custom01-rhua01-client01-2.0/ca.crt]
Copying [/root/788075.crt] to [custom-01/rh-custom01-rhua01-client01-2.0/tmp/rh-custom01-rhua01-client01-2.0/content.crt]
Executing RPM build command [rpmbuild -bb --buildroot custom-01/rh-custom01-rhua01-client01-2.0/build/BUILDROOT --define "_builddir custom-01/rh-custom01-rhua01-client01-2.0/build/BUILD" --define "_sourcedir custom-01/rh-custom01-rhua01-client01-2.0/build/SOURCES" --define "_rpmdir custom-01/rh-custom01-rhua01-client01-2.0/build/RPMS" custom-01/rh-custom01-rhua01-client01-2.0/build/SPECS//rh-custom01-rhua01-client01-2.0.spec]
RPM creation output
Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.BBMIlJ
RPM build errors:
+ umask 022
+ cd custom-01/rh-custom01-rhua01-client01-2.0/build/BUILD
+ cd /custom-01/rh-custom01-rhua01-client01-2.0/build/BUILD
/var/tmp/rpm-tmp.BBMIlJ: line 27: cd: /custom-01/rh-custom01-rhua01-client01-2.0/build/BUILD: No such file or directory
error: Bad exit status from /var/tmp/rpm-tmp.BBMIlJ (%prep)
Bad exit status from /var/tmp/rpm-tmp.BBMIlJ (%prep)
Created attachment 559927 [details]
The rpm build script failing
Actually, the failure in client configuration rpm build is caused by bug: 788113 The entitlement selection is intentional. I figured the process of generating client config RPMs and getting them into the provider's images was likely a lengthy one, so I didn't want any barriers in the way of that. This way they can begin the client side of things and actually sync the content when it's ready to be hosted. Released in RHUI 2.0.2 |
Description of problem: Creating client entitlements one is able to select more titles than rhua has been subscribed to. Version-Release number of selected component (if applicable): 2.0.2; rh-rhui-tools-2.0.53-1.el6.noarch.rpm; RHEL-6.2-RHUI-2.0.2-20120203.1-Server-x86_64-DVD1.iso ; rhel 6.2 How reproducible: Always Steps to Reproduce: 1. upload rhn entitlement 2. in repository management select only two titles 3. in entitlement management select create new client entitlement 4. all the rhua entitlement titles available for selection Actual results: all rhua entitlements available for selection in client entitlement management screen instead of only those rhua has been subscribed to Additional info: Screen log: =========== rhui (home) => r [133/497] ------------------------------------------------------------------------------ -= 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: ip-10-51-53-245.eu-west-1.compute.internal ------------------------------------------------------------------------------ rhui (repo) => l Red Hat Repositories Red Hat Enterprise Linux 6 Server - Optional (RPMs) from RHUI (6Server-i386) Red Hat Enterprise Linux 6 Server - Optional (RPMs) from RHUI (6Server-x86_64) Red Hat Enterprise Linux 6 Server (RPMs) from RHUI (6Server-i386) Red Hat Enterprise Linux 6 Server (RPMs) from RHUI (6Server-x86_64) ------------------------------------------------------------------------------ rhui (repo) => < ------------------------------------------------------------------------------ -= 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 i manage identity certificate Connected: ip-10-51-53-245.eu-west-1.compute.internal ------------------------------------------------------------------------------ rhui (home) => e ------------------------------------------------------------------------------ Connected: ip-10-51-53-245.eu-west-1.compute.internal ------------------------------------------------------------------------------ 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: ip-10-51-53-245.eu-west-1.compute.internal ------------------------------------------------------------------------------ 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 5 Server - Optional Productivity Applications (Debug RPMs) from RHUI - 2 : Red Hat Enterprise Linux 5 Server - Optional Productivity Applications (RPMs) from RHUI - 3 : Red Hat Enterprise Linux 5 Server - Optional Productivity Applications (Source RPMs) from RHUI - 4 : Red Hat Enterprise Linux 5 Server - Supplementary (Debug RPMs) from RHUI - 5 : Red Hat Enterprise Linux 5 Server - Supplementary (RPMs) from RHUI - 6 : Red Hat Enterprise Linux 5 Server - Supplementary (Source RPMs) from RHUI - 7 : Red Hat Enterprise Linux 5 Server - Supplementary Beta (Debug RPMs) from RHUI - 8 : Red Hat Enterprise Linux 5 Server - Supplementary Beta (RPMs) from RHUI - 9 : Red Hat Enterprise Linux 5 Server - Supplementary Beta (Source RPMs) from RHUI - 10: Red Hat Enterprise Linux 5 Server Beta from RHUI (Debug RPMs) - 11: Red Hat Enterprise Linux 5 Server Beta from RHUI (RPMs) - 12: Red Hat Enterprise Linux 5 Server Beta from RHUI (Source RPMs) - 13: Red Hat Enterprise Linux 5 Server from RHUI (Debug RPMs) - 14: Red Hat Enterprise Linux 5 Server from RHUI (RPMs) - 15: Red Hat Enterprise Linux 5 Server from RHUI (Source RPMs) - 16: Red Hat Enterprise Linux 6 Server (Debug RPMs) from RHUI - 17: Red Hat Enterprise Linux 6 Server (RPMs) from RHUI * - 18: Red Hat Enterprise Linux 6 Server (Source RPMs) from RHUI - 19: Red Hat Enterprise Linux 6 Server - Optional (Debug RPMs) from RHUI - 20: Red Hat Enterprise Linux 6 Server - Optional (RPMs) from RHUI * - 21: Red Hat Enterprise Linux 6 Server - Optional (Source RPMs) from RHUI - 22: Red Hat Enterprise Linux 6 Server - Optional Beta (Source RPMs) from RHUI - 23: Red Hat Enterprise Linux 6 Server - Optional Beta from RHUI (RPMs) - 24: Red Hat Enterprise Linux 6 Server - Optional Beta from RHUI(Debug RPMs) - 25: Red Hat Enterprise Linux 6 Server - Supplementary (Debug RPMs) from RHUI - 26: Red Hat Enterprise Linux 6 Server - Supplementary (RPMs) from RHUI - 27: Red Hat Enterprise Linux 6 Server - Supplementary (Source RPMs) from RHUI - 28: Red Hat Enterprise Linux 6 Server - Supplementary Beta (Debug RPMs) from RHUI - 29: Red Hat Enterprise Linux 6 Server - Supplementary Beta (RPMs) from RHUI - 30: Red Hat Enterprise Linux 6 Server - Supplementary Beta (Source RPMs) from RHUI - 31: Red Hat Enterprise Linux 6 Server Beta (Source RPMs) from RHUI - 32: Red Hat Enterprise Linux 6 Server Beta from RHUI (Debug RPMs) - 33: Red Hat Enterprise Linux 6 Server Beta from RHUI (RPMs) - 34: Red Hat Update Infrastructure 1.2 (Debug RPMs) - 35: Red Hat Update Infrastructure 1.2 (RPMs) - 36: Red Hat Update Infrastructure 1.2 (Source RPMs) - 37: Red Hat Update Infrastructure 2.0 (Debug RPMs) - 38: Red Hat Update Infrastructure 2.0 (RPMs) - 39: Red Hat Update Infrastructure 2.0 (Source RPMs)