virt-who fails with "ManagerError: Cannot send data to: org_name because Satellite env: Environment differs from configuration: Library

Solution Verified - Updated -

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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content