Bug 920975
| Summary: | Wrong subscribe status with autosubscribe option. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | spandey |
| Component: | subscription-manager | Assignee: | Devan Goodwin <dgoodwin> |
| Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.10 | CC: | dgoodwin, jmolet, jsefler, kbanerje, skallesh, spandey |
| Target Milestone: | beta | ||
| Target Release: | 5.10 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
No description necessary
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-30 22:59:31 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 840995, 920191 | ||
Fixed in subscription-manager.git master: 2949e35f4faf28535fb9ad8a225e2421b5691daa Will appear in 1.8.5. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Verifying Version....
[root@jsefler-f14-candlepin candlepin]# git show-ref | grep master
10bc5f9576fc9168c357db9e7877343a01a48155 refs/heads/master
[root@jsefler-5 ~]# subscription-manager version
server type: This system is currently not registered.
subscription management server: 0.8.2-1
subscription-manager: 1.8.5-1.el5
python-rhsm: 1.8.8-1.el5
[root@jsefler-5 ~]# subscription-manager list --installed
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: RAM Limiting Product
Product ID: 801
Version: 1.0
Arch: x86_64
Status: Unknown
Starts:
Ends:
[root@jsefler-5 ~]# subscription-manager register --u testuser1 --password password --org admin --autosubscribe
The system has been registered with id: a14dd0b7-462e-445b-a53a-7bd914295f08
Installed Product Current Status:
Product Name: RAM Limiting Product
Status: Subscribed
[root@jsefler-5 ~]# subscription-manager list --installed
+-------------------------------------------+
Installed Product Status
+-------------------------------------------+
Product Name: RAM Limiting Product
Product ID: 801
Version: 1.0
Arch: x86_64
Status: Subscribed
Starts: 04/08/2013
Ends: 04/08/2014
[root@jsefler-5 ~]#
VERIFIED: The status feedback during register with autosubscribe and the status listed afterwards properly display "Subscribed". With the new server-side compliance calculations, the installed product status is now "Unknown" when the system is not registered.
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. http://rhn.redhat.com/errata/RHBA-2013-1332.html |
Description of problem: Version-Release number of selected component (if applicable): How reproducible: Prerequisites : Rhel6.4 with following subscription-manager rpm . subscription-manager-migration-data-1.12.2.6-1.git.0.171d4c3.el6.noarch subscription-manager-migration-1.8.4-1.git.24.36ea5ff.el6.x86_64 subscription-manager-gui-1.8.4-1.git.24.36ea5ff.el6.x86_64 subscription-manager-1.8.4-1.git.24.36ea5ff.el6.x86_64 subscription-manager-firstboot-1.8.4-1.git.24.36ea5ff.el6.x86_64 steps to Repro : Place “Ram based subscription” product cert in product location(801.pem) Register client to onpremises candlepin using autosubscribe option. Actual Result : [root@dhcp201-164 sm]# subscription-manager register --u testuser1 --password password --org admin --autosubscribe The system has been registered with id: 864905b3-9459-4339-92a6-a87d295c6309 Installed Product Current Status: Product Name: RAM Limiting Product Status: Unknown <================== This should be “Subscribed” [root@dhcp201-164 sm]# subscription-manager list --install +-------------------------------------------+ Installed Product Status +-------------------------------------------+ Product Name: RAM Limiting Product Product ID: 801 Version: 1.0 Arch: x86_64 Status: Subscribed Starts: 03/13/2013 Ends: 03/13/2014