Bug 922825
| Summary: | pre_subscribe_hook is passed a conduit that should contain more relevant data | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | Michael Stead <mstead> |
| Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.10 | CC: | alikins, jesusr, jgalipea, mstead, 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 23:00:29 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 | ||
|
Description
John Sefler
2013-03-18 15:40:48 UTC
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-5 rhsm-plugins]# rpm -q subscription-manager python-rhsm subscription-manager-1.8.10-1.el5 python-rhsm-1.8.12-1.el5 After adding this line of python to a pre_subscribe_hook in one of the plugins found in /usr/share/rhsm-plugins print dir(conduit) I can now see what is passed... [root@jsefler-5 rhsm-plugins]# subscription-manager subscribe --pool 8a90f8df3f19d2bc013f19d5409508ad sending dbus signal with message: post_facts_collection sending dbus signal with message: pre_subscribe ['__class__', '__delattr__', '__dict__', '__doc__', '__getattribute__', '__hash__', '__init__', '__module__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__str__', '__weakref__', '_conf', 'conf_bool', 'conf_float', 'conf_int', 'conf_string', 'consumer_uuid', 'log', 'pool_id', 'quantity', 'slots'] sending dbus signal with message: post_subscribe Successfully attached a subscription for: Multi-Attribute Stackable (2 GB, 2 Cores) VERIFIED: The pre_subscribe conduit now includes 'pool_id' and 'quantity' which is definitely additional relevant data 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 |