virt-who service errors
Hi - hoping someone can help me with the above, pretty sure I broke our Satellite server - good job it's not live ;-)
So long story but I ran katello-remove to remove 6.1 and have done a clean install of 6.2 ... don't ask. I've started to set this up and all has gone well, up until I started to configure / run the virt-who service - we have a number of vmware servers running our RHEL clients.
So I set virt-who up just as it is on our other Satellite server, but whenever I try to start it, it reports the guests but then it just fails with the following error - logs are in DEBUG:
2016-11-17 12:09:13,242 [virtwho.main DEBUG] MainProcess(17407):MainThread @executor.py:send_report:108 - Report from "ipvcs" failed to sent
2016-11-17 12:10:06,715 [virtwho.irvso DEBUG] Esx-2(17416):MainThread @virt.py:enqueue:357 - Report for config "irvso" gathered, putting to queue for sending
2016-11-17 12:10:06,723 [virtwho.main INFO] MainProcess(17407):MainThread @executor.py:run:250 - Report for config "irvso" hasn't changed, not sending
2016-11-17 12:10:11,609 [virtwho.ipvcs DEBUG] Esx-1(17414):MainThread @virt.py:enqueue:357 - Report for config "ipvcs" gathered, putting to queue for sending
2016-11-17 12:10:13,246 [virtwho.main DEBUG] MainProcess(17407):MainThread @subscriptionmanager.py:_connect:124 - Authenticating with certificate: /etc/pki/consumer/cert.pem
2016-11-17 12:10:13,257 [virtwho.main ERROR] MainProcess(17407):MainThread @executor.py:send:156 - Error in communication with subscription manager:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/virtwho/executor.py", line 139, in send
self._sendGuestAssociation(report)
File "/usr/lib/python2.7/site-packages/virtwho/executor.py", line 166, in _sendGuestAssociation
manager.hypervisorCheckIn(report, self.options)
File "/usr/lib/python2.7/site-packages/virtwho/manager/subscriptionmanager/subscriptionmanager.py", line 171, in hypervisorCheckIn
self._connect(report.config)
File "/usr/lib/python2.7/site-packages/virtwho/manager/subscriptionmanager/subscriptionmanager.py", line 133, in _connect
if not self.connection.ping()['result']:
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 891, in ping
return self.conn.request_get("/status/")
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 694, in request_get
return self._request("GET", method)
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 584, in _request
conn.request(request_type, handler, body=body, headers=headers)
File "/usr/lib64/python2.7/httplib.py", line 1017, in request
self._send_request(method, url, body, headers)
File "/usr/lib64/python2.7/httplib.py", line 1051, in _send_request
self.endheaders(body)
File "/usr/lib64/python2.7/httplib.py", line 1013, in endheaders
self._send_output(message_body)
File "/usr/lib64/python2.7/httplib.py", line 864, in _send_output
self.send(msg)
File "/usr/lib64/python2.7/httplib.py", line 826, in send
self.connect()
File "/usr/lib64/python2.7/site-packages/rhsm/connection.py", line 250, in connect
sock.connect((self.host, self.port))
File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 185, in connect
ret = self.connect_ssl()
File "/usr/lib64/python2.7/site-packages/M2Crypto/SSL/Connection.py", line 178, in connect_ssl
return m2.ssl_connect(self.ssl, self._timeout)
SSLError: tlsv1 alert unknown ca
2016-11-17 12:10:13,257 [virtwho.main DEBUG] MainProcess(17407):MainThread @executor.py:send_report:108 - Report from "ipvcs" failed to sent
I've checked and double checked the login credentials of the subscription manager and they are right. I keep looking at "SSLError: tlsv1 alert unknown ca" - but no idea what it's referring to.
Any help would be appreciated. Thanks.
Responses