virt-who fails with "ManagerError: Cannot send data to: org_name because Satellite env: Environment differs from configuration: Library
Issue
When trying to update the Guest-Host mapping to the Red Hat Satellite server using virt-who, this fails with the below error :-
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/virtwho/virt/virt.py", line 623, in _send_data
options=self.options)
File "/usr/lib/python2.7/site-packages/virtwho/manager/subscriptionmanager/subscriptionmanager.py", line 238, in hypervisorCheckIn
connection = self._connect(report.config)
File "/usr/lib/python2.7/site-packages/virtwho/manager/subscriptionmanager/subscriptionmanager.py", line 204, in _connect
self._check_owner_lib(kwargs, config)
File "/usr/lib/python2.7/site-packages/virtwho/manager/subscriptionmanager/subscriptionmanager.py", line 129, in _check_owner_lib
(owner_id, environment_name, config['env'])
ManagerError: Cannot send data to: <org_name> because Satellite env: <Environment> differs from configuration: Library
Environment
- Red Hat Satellite 6.x
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.
