While configuring virt-who command against Red Hat Satellite v 6, it fails with error "RestlibException: Couldn't find organization 'OrgName'" or "RestlibException: Access denied"
Issue
- While configuring virt-who command against Red Hat Satellite v 6, it fails with error below:
2014-09-18 02:02:50,131 [ERROR] @virt-who.py:223 - Error in communication with subscription manager, trying to recover:
Traceback (most recent call last):
File "/usr/share/virt-who/virt-who.py", line 207, in _send
result = self.subscriptionManager.hypervisorCheckIn(self.options.owner, self.options.env, virtualGuests, type=self.options.virtType)
File "/usr/share/virt-who/subscriptionmanager.py", line 112, in hypervisorCheckIn
return self.connection.hypervisorCheckIn(owner, env, mapping)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 755, in hypervisorCheckIn
return self.conn.request_post(url, host_guest_mapping)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 557, in request_post
return self._request("POST", method, params)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 482, in _request
self.validateResponse(result, request_type, handler)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 524, in validateResponse
raise RestlibException(response['status'], error_msg)
RestlibException: Couldn't find organization 'OrgName'
ERROR: Error in communication with subscription manager, trying to recover:
Traceback (most recent call last):
File "/usr/share/virt-who/virt-who.py", line 207, in _send
result = self.subscriptionManager.hypervisorCheckIn(self.options.owner, self.options.env, virtualGuests, type=self.options.virtType)
File "/usr/share/virt-who/subscriptionmanager.py", line 112, in hypervisorCheckIn
return self.connection.hypervisorCheckIn(owner, env, mapping)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 755, in hypervisorCheckIn
return self.conn.request_post(url, host_guest_mapping)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 557, in request_post
return self._request("POST", method, params)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 482, in _request
self.validateResponse(result, request_type, handler)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 524, in validateResponse
raise RestlibException(response['status'], error_msg)
RestlibException: Access denied
Environment
- Red Hat Satellite v 6
- virt-who
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
