| Summary: | not all arguments converted during string formatting | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | John Sefler <jsefler> |
| Component: | subscription-manager | Assignee: | William Poteat <wpoteat> |
| Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 5.8 | CC: | skallesh, spandey |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
No description necessary
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-02-21 06:42:39 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: | 715031 | ||
Fixed in commit 99fdffb4cc5b53a45255924e4ac6a3dc769c76e5 in subscription manager master branch. Will be part of brew build 0.98.3 Verifying Version...
[root@jsefler-onprem-5server ~]# rpm -q subscription-manager
subscription-manager-0.98.7-1.git.0.b436f93.el5_7
[root@jsefler-onprem-5server ~]# subscription-manager list --consumed
+-------------------------------------------+
Consumed Product Subscriptions
+-------------------------------------------+
ProductName: Red Hat Update Infrastructure
ContractNumber: 2635023
AccountNumber: 1508102
SerialNumber: 3209610944923079566
Active: True
QuantityUsed: 1
Begins: 10/19/2011
Expires: 10/18/2012
ProductName: Red Hat Enterprise Linux Server from RHUI
ContractNumber: 2635023
AccountNumber: 1508102
SerialNumber: 3209610944923079566
Active: True
QuantityUsed: 1
Begins: 10/19/2011
Expires: 10/18/2012
[root@jsefler-onprem-5server ~]#
moving to VERIFIED
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
New Contents:
No description necessary
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-2012-0154.html |
Description of problem: Getting "not all arguments converted during string formatting" from a "subscription-manager list --consumed" Version-Release number of selected component (if applicable): [root@dell-pe840-01 ~]# rpm -q subscription-manager subscription-manager-0.98.2-1.el5 [root@dell-pe840-01 ~]# rpm -q python-rhsm python-rhsm-0.98.2-1.el5 How reproducible: Steps to Reproduce: [root@dell-pe840-01 ~]# grep hostname /etc/rhsm/rhsm.conf # Server hostname: hostname=subscription.rhn.stage.redhat.com proxy_hostname= [root@dell-pe840-01 ~]# subscription-manager register --username stage_test_49 --type RHUI Password: The system has been registered with id: 72d96408-1662-4c65-94ce-60ec77c979aa [root@dell-pe840-01 ~]# subscription-manager list --avail +-------------------------------------------+ Available Subscriptions +-------------------------------------------+ ProductName: Red Hat Enterprise Linux for Cloud Providers, Partner Enablement, Premium ProductId: MCT2042 PoolId: 8a99f981335b908601335ba9d7700484 Quantity: 100 Multi-Entitlement: No Expires: 10/18/2012 MachineType: physical ProductName: Red Hat Enterprise MRG Grid Enablement for Cloud Access, Premium ProductId: MCT2641 PoolId: 8a99f981335b908601335ba9d78b0493 Quantity: 10 Multi-Entitlement: No Expires: 10/24/2012 MachineType: physical [root@dell-pe840-01 ~]# subscription-manager subscribe --pool 8a99f981335b908601335ba9d7700484 Successfully subscribed the system to Pool 8a99f981335b908601335ba9d7700484 [root@dell-pe840-01 ~]# subscription-manager list --consumed +-------------------------------------------+ Consumed Product Subscriptions +-------------------------------------------+ not all arguments converted during string formatting ^^^ EXPECTED A LIST OF MY CONSUMED SUBSCRIPTIONS Additional info: [root@dell-pe840-01 ~]# tail /var/log/rhsm/rhsm.log 2011-11-10 10:31:57,081 [INFO] @connection.py:350 - Using certificate authentication: key = /etc/pki/consumer/key.pem, cert = /etc/pki/consumer/cert.pem, ca = /etc/rhsm/ca/, insecure = False 2011-11-10 10:31:57,081 [INFO] @connection.py:363 - Connection Built: host: subscription.rhn.stage.redhat.com, port: 443, handler: /subscription 2011-11-10 10:31:57,116 [ERROR] @managercli.py:65 - exception caught in subscription-manager 2011-11-10 10:31:57,116 [ERROR] @managercli.py:66 - not all arguments converted during string formatting Traceback (most recent call last): File "/usr/sbin/subscription-manager", line 78, in ? sys.exit(abs(main() or 0)) File "/usr/sbin/subscription-manager", line 69, in main return managercli.CLI().main() File "/usr/share/rhsm/subscription_manager/managercli.py", line 1391, in main cmd.main() File "/usr/share/rhsm/subscription_manager/managercli.py", line 233, in main self._do_command() File "/usr/share/rhsm/subscription_manager/managercli.py", line 1283, in _do_command print constants.consumed_subs_list % product TypeError: not all arguments converted during string formatting