| Summary: | subscription-manager-gui is displaying unlimited pools as -1 | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | John Sefler <jsefler> | |
| Component: | subscription-manager | Assignee: | Chris Duryee <cduryee> | |
| Status: | CLOSED ERRATA | QA Contact: | ||
| Severity: | medium | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 5.7 | CC: | bkearney, cduryee, spandey | |
| Target Milestone: | rc | |||
| Target Release: | 5.7 | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | Bug Fix | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 701374 (view as bug list) | Environment: | ||
| Last Closed: | 2011-07-21 08:45:28 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: | 675214, 701374 | |||
| Attachments: | ||||
|
Description
John Sefler
2011-03-09 17:13:37 UTC
Created attachment 483265 [details]
"unlimited" versus -1
Created attachment 483266 [details]
"unlimited" versus -1
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. Fixed on RHEL5.7 branch in 710e3f0f3d4204a37e0bbc1f5da2f22c47b0d643, version 0.95.5.8 Fixed on master branch in 129ad420940e72703a50b4f0c5674816a5c28dce, version 0.96.2 Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -qa | grep subscription-manager
subscription-manager-0.95.5.10-1.git.6.ad7cd7d.el5
subscription-manager-gnome-0.95.5.10-1.git.6.ad7cd7d.el5
subscription-manager-firstboot-0.95.5.10-1.git.6.ad7cd7d.el5
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager --changelog | grep 683553
- 683553: subscription-manager-gui is displaying unlimited pools as -1
Verifying against an onpremises candlepin server with TESTDATA=1...
[root@jsefler-onprem-5server ~]# subscription-manager register --username=testuser1 --password=password --type=person
8899452c-d73a-4641-8da4-d19a3ae0a36f testuser1
[root@jsefler-onprem-5server ~]# subscription-manager list --avail
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
ProductName: Awesome OS Developer Edition
ProductId: AWESOMEOS09XYU34
PoolId: 8a90f8bb2fd522e3012fd523a92701dc
Quantity: 10
Expires: 05/07/2012
ProductName: Awesome OS Developer Edition
ProductId: AWESOMEOS09XYU34
PoolId: 8a90f8bb2fd522e3012fd523a94d01de
Quantity: 5
Expires: 05/07/2012
[root@jsefler-onprem-5server ~]# subscription-manager subscribe --pool=8a90f8bb2fd522e3012fd523a92701dc
[root@jsefler-onprem-5server ~]# subscription-manager clean
All local data removed
[root@jsefler-onprem-5server ~]# subscription-manager register --username=testuser1 --password=password --type=system
9d9f49eb-fcea-484b-84e7-1ea637f63eec jsefler-onprem-5server.usersys.redhat.com
[root@jsefler-onprem-5server ~]# subscription-manager list --avail | grep -A5 "Awesome OS Developer"
ProductName: Awesome OS Developer Basic
ProductId: 1144
PoolId: 8a90f8bb2fd522e3012fd5fadb211288
Quantity: unlimited
Expires: 05/07/2012
^^^ VERIFIED quantity shows as "unlimited" in cli (this was already working)
[root@jsefler-onprem-5server ~]# subscription-manager-gui&
[1] 31442
See attached screenhot for: "unlimited" fix for All Available Subscriptions
Created attachment 497891 [details]
"unlimited" fix for All Available Subscriptions
Moving back to NEW state to fix case 2 which is still failing and was overlooked in the first fix.
2. the Become Compliant window under the "Available Subscription" column
See attachment 483266 [details]
Also don't forget to look at the third case:
3. the contract selection dialog
PS. I don't have any data to test this third case. Do we know of a way to see two contracts for the same product and one of them is unlimited?
Created attachment 497900 [details]
"unlimited" versus -1 in the Contract Selection Dialog
Here is a screenshot for the third case. I captured it using the qa account.
Also note the following is printed (against rhel6 branch) to the console when opening the contract selection dialog:
(subscription-manager-gui:7142): libglade-WARNING **: unknown property `mnemonics_visible' for class `GtkWindow'
/usr/share/rhsm/gui/contract_selection.py:60: Warning: unable to set property `date' of type `PyObject' from value of type `gchararray'
self.contract_selection_win.show_all()
/usr/sbin/subscription-manager-gui:107: Warning: unable to set property `date' of type `PyObject' from value of type `gchararray'
sys.exit(gtk.main() or 0)
Verified using following rpm subscription-manager-0.95.5.18-1.git.4.364aa10.el5 subscription-manager-gnome-0.95.5.18-1.git.4.364aa10.el5 subscription-manager-firstboot-0.95.5.18-1.git.4.364aa10.el5 displaying unlimited in gui simultaneously tested with 2 rhel5.7 and 1 rhel6.1. Not able to find contract selection page. Created attachment 499954 [details]
fix for unlimited in Contract Selection dialog
Verified version...
[root@jsefler-onprem-5server ~]# rpm -qa | grep subscription-manager
subscription-manager-firstboot-0.95.5.18-1.el5
subscription-manager-0.95.5.18-1.el5
subscription-manager-gnome-0.95.5.18-1.el5
still need to verify fix for attachment 483266 [details]
Created attachment 501205 [details]
subscriptions now show in the subscription-assistant as "unlimited" rather than "-1"
Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -qa | grep subscription-manager
subscription-manager-firstboot-0.95.5.19-1.git.2.2a89d48.el5
subscription-manager-0.95.5.19-1.git.2.2a89d48.el5
subscription-manager-gnome-0.95.5.19-1.git.2.2a89d48.el5
[root@jsefler-onprem-5server ~]# subscription-manager register --username=testuser1 --type=person
Password:
bbddbccb-f3cb-409f-bc25-f776c879702b testuser1
[root@jsefler-onprem-5server ~]#
[root@jsefler-onprem-5server ~]# subscription-manager list --avail
+-------------------------------------------+
Available Subscriptions
+-------------------------------------------+
ProductName: Awesome OS Developer Edition
ProductId: AWESOMEOS09XYU34
PoolId: 8a90f8bb302a7a7b01302a7b52c401db
Quantity: 10
Expires: 05/24/2012
ProductName: Awesome OS Developer Edition
ProductId: AWESOMEOS09XYU34
PoolId: 8a90f8bb302a7a7b01302a7b52ec01dd
Quantity: 5
Expires: 05/24/2012
[root@jsefler-onprem-5server ~]# subscription-manager subscribe --pool=8a90f8bb302a7a7b01302a7b52ec01dd
[root@jsefler-onprem-5server ~]# subscription-manager clean
All local data removed
[root@jsefler-onprem-5server ~]# subscription-manager register --username=testuser1 --type=system
Password:
c64498bc-33b8-4989-a643-c50bfe86c536 jsefler-onprem-5server.usersys.redhat.com
[root@jsefler-onprem-5server ~]# subscription-manager-gui&
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-1078.html An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHEA-2011-1078.html |