Any yum or subscription-manager transaction results in "tuple index out of range"

Solution Verified - Updated -

Issue

  • yum & subscription-manager transactions are slow
  • yum & subscription-manager transactions fails with:

    From /var/log/rhsm/rhsm.log:
    2017-05-09 15:06:26,619 [INFO] yum:5750:MainThread @connection.py:758 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2017-05-09 15:06:26,629 [INFO] yum:5750:MainThread @connection.py:758 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2017-05-09 15:15:49,957 [INFO] subscription-manager:5758:MainThread @managercli.py:389 - Client Versions: {'python-rhsm': '1.18.6-1.el6', 'subscription-manager': '1.18.10-1.el6'}
    2017-05-09 15:15:49,958 [INFO] subscription-manager:5758:MainThread @connection.py:758 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=identity_cert ca_dir=/etc/rhsm/ca/ insecure=False
    2017-05-09 15:15:49,958 [INFO] subscription-manager:5758:MainThread @connection.py:758 - Connection built: host=subscription.rhsm.redhat.com port=443 handler=/subscription auth=none
    2017-05-09 15:15:49,958 [INFO] subscription-manager:5758:MainThread @managercli.py:364 - Consumer Identity name=vm-<name>.<gov/com/net> uuid=6bae8a97-225c-4ef8-a6de-065958c2e5da
    2017-05-09 15:18:50,121 [ERROR] subscription-manager:5758:MainThread @managercli.py:177 - Unregister failed
    2017-05-09 15:18:50,122 [ERROR] subscription-manager:5758:MainThread @managercli.py:178 - tuple index out of range
    Traceback (most recent call last):
    File "/usr/lib/python2.6/site-packages/subscription_manager/managercli.py", line 1317, in _do_command
    managerlib.unregister(self.cp, self.identity.uuid)
    File "/usr/lib/python2.6/site-packages/subscription_manager/managerlib.py", line 792, in unregister
    uep.unregisterConsumer(consumer_uuid)
    File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 1070, in unregisterConsumer
    return self.conn.request_delete(method)
    File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 635, in request_delete
    return self._request("DELETE", method, params)
    File "/usr/lib/python2.6/site-packages/rhsm/connection.py", line 501, in _request
    conn.request(request_type, handler, body=body, headers=headers)
    File "/usr/lib/python2.6/site-packages/rhsm/m2cryptohttp.py", line 179, in request
    return self._connection.request(method, handler, *args, **kwargs)
    File "/usr/lib/python2.6/httplib.py", line 976, in request
    if v.args[0] != 32 or not self.auto_open:
    IndexError: tuple index out of range
    

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.