While sending ESX hypervisor details to the satellite v 6, virt-who fails with the error "Validation failed: Name is invalid, Name is invalid"
Issue
- While sending ESX hypervisor details to the satellite v 6, virt-who fails with the error below:
2016-07-06 11:52:00,873 [ERROR] @subscriptionmanager.py:171 - Communication with server failed:
Traceback (most recent call last):
File "/usr/share/virt-who/manager/subscriptionmanager/subscriptionmanager.py", line 167, in hypervisorCheckIn
result = self.connection.hypervisorCheckIn(config.owner, config.env, serialized_mapping)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 903, in hypervisorCheckIn
res = self.conn.request_post(url, host_guest_mapping)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 647, in request_post
return self._request("POST", method, params)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 564, in _request
self.validateResponse(result, request_type, handler)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 611, in validateResponse
raise RestlibException(response['status'], error_msg, response.get('headers'))
RestlibException: Task b939db82-76e4-4c06-b711-6d506a59032c: ActiveRecord::RecordInvalid: Validation failed: Name is invalid, Name is invalid
2016-07-06 11:52:00,874 [ERROR] @virtwho.py:177 - Unable to send data: Communication with subscription manager failed with code 500: Task b939db82-76e4-4c06-b711-6d506a59032c: ActiveRecord::RecordInvalid: Validation failed: Name is invalid, Name is invalid
2016-07-06 11:52:00,877 [ERROR] @virtwho.py:305 - Sending data failed 5 times, report skipped
Environment
- Red Hat Satellite v 6.2
- virt-who-0.14-9.el7.noarch
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.
