Subsription-manager returns "Remote server error." on hosts registered to Red Hat Capsule.

Solution Verified - Updated -

Issue

  • Trying to execute subscription-manager on hosts registered to Red Hat Capsule returns

    [ERROR] subscription-manager:315633:MainThread @managercli.py:216 - Server error attempting a DELETE to /rhsm/consumers/e895c0da-adb2-43ff-a44d-cde25f72125a returned status 404
    Traceback (most recent call last):
    File "/usr/lib64/python2.7/site-packages/subscription_manager/managercli.py", line 1313, in _do_command
    unregister.UnregisterService(self.cp).unregister()
    File "/usr/lib64/python2.7/site-packages/rhsmlib/services/unregister.py", line 54, in unregister
    self.uep.unregisterConsumer(self.identity.uuid)
    File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 1283, in unregisterConsumer
    return self.conn.request_delete(method)
    File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 738, in request_delete
    return self._request("DELETE", method, params, headers=headers)
    File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 752, in _request
    info=info, headers=headers)
    File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 627, in _request
    self.validateResponse(result, request_type, handler)
    File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 695, in validateResponse
    handler=handler)
    RemoteServerException: Server error attempting a DELETE to /rhsm/consumers/e895c0da-adb2-43ff-a44d-cde25f72125a returned status 404
    

Environment

  • Red Hat Satellite 6.x
  • Red Hat Satellite Capsule 6.x

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