Bug 615333
Summary: | subscription-manager-gui hangs if its attempts to subscribe to a previously available pool | ||||||
---|---|---|---|---|---|---|---|
Product: | [Community] Candlepin | Reporter: | wes hayutin <whayutin> | ||||
Component: | candlepin | Assignee: | Bryan Kearney <bkearney> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 0.5 | CC: | alikins, bkearney, jsefler, pkilambi | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-11-23 16:14: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: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 636830 | ||||||
Attachments: |
|
Description
wes hayutin
2010-07-16 14:22:06 UTC
On my second attempt I did get the following error.. TypeError: hide() takes no arguments (2 given) 199 (True, 'Red Hat Enterprise Linux Advanced Platform, Standard (Unlimited Sockets)', <GtkTreeIter at 0x1dd4660>) Traceback (most recent call last): File "/root/subscription-manager/src/gui/managergui.py", line 552, in onSubscribeAction ent_ret = UEP.bindByEntitlementPool(consumer['uuid'], pool) File "/root/subscription-manager/src/connection.py", line 215, in bindByEntitlementPool return self.conn.request_post(method) File "/root/subscription-manager/src/connection.py", line 82, in request_post return self._request("POST", method, params) File "/root/subscription-manager/src/connection.py", line 66, in _request self.validateResponse(response) File "/root/subscription-manager/src/connection.py", line 76, in validateResponse parsed['displayMessage']) connection.RestlibException: rulefailed.no.entitlements.available Thats a good sign the server is doing the right thing. Is it possible for the client to catch this error rulefailed.no.entitlements.available and refresh the available pools? On a third attempt the client seems to be hanging again. In attempting to reproduce this I wasn't able to make it hang (no more than any typical candlepin1 slowness). So i'd like to propose we instead focus this bug on ensuring that all entitlement rule failures are properly human readable, i18n'd, and displayed in the gui and cli. Sound good? I haven't been able to reproduce this either. Ok, the client will now display a nice message for this case. Displaying the message requires version 0.89 of the client, the message itself is in (or will be in) candlepin 0.0.39 VERIFIED against hosted candlepin1 WITH CLIENT VERSION [root@jsefler-itclient01 ~]# rpm -q subscription-manager-gnome subscription-manager-gnome-0.92-1.el6.x86_64 SEE ATTACHED SCREENSHOT OF MESSAGE RENDERED IN GUI WHEN ALL AVAILABLE ENTITLEMENTS HAVE BEEN CONSUMED BY OTHERS. FROM /var/log/rhsm/rhsm.log 2010-10-18 11:16:04,735 [ERROR] onSubscribeAction() @managergui.py:849 - Failed to subscribe to product Red Hat Enterprise Linux Entitlement Alpha Error: No free entitlements are available for the pool with id '8a878c912bb1d48a012bb1d566da0099' 2010-10-18 11:16:04,736 [ERROR] onSubscribeAction() @managergui.py:850 - No free entitlements are available for the pool with id '8a878c912bb1d48a012bb1d566da0099' Traceback (most recent call last): File "/usr/share/rhsm/gui/managergui.py", line 835, in onSubscribeAction ent_ret = UEP.bindByEntitlementPool(consumer['uuid'], pool) File "/usr/share/rhsm/connection.py", line 310, in bindByEntitlementPool return self.conn.request_post(method) File "/usr/share/rhsm/connection.py", line 147, in request_post return self._request("POST", method, params) File "/usr/share/rhsm/connection.py", line 126, in _request self.validateResponse(result) File "/usr/share/rhsm/connection.py", line 141, in validateResponse parsed['displayMessage']) RestlibException: No free entitlements are available for the pool with id '8a878c912bb1d48a012bb1d566da0099' Moving to VERIFIED Created attachment 454145 [details]
No more entitlements are avilable from pool...
This bug was opened/resolved/closed against the Entitlement-Alpha release. |