[ovirt-users] ovirtsdk4 compile ERROR

dhy336 at sina.com dhy336 at sina.com
Thu Apr 26 03:11:46 UTC 2018


Hi, I compile ovirtsdk4, but has some error, do i need to run ovirt-engine in computer which compile ovirtsdk4?
thanks.--------------------- >> end captured stdout << ----------------------
======================================================================ERROR: Test that sending two headers a request is sent with that two headers.----------------------------------------------------------------------Traceback (most recent call last):  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/tests/test_vm_service.py", line 208, in test_start_with_two_custom_headers    headers={'my': 'value', 'your': 'value'}  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/services.py", line 29448, in start    return self._internal_action(action, 'start', None, headers, query, wait)  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/service.py", line 288, in _internal_action    context = self._connection.send(request)  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 370, in send    return self.__send(request)  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 388, in __send    self.authenticate()  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 384, in authenticate    self.__parse_error(e)  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 932, in __parse_error    six.reraise(clazz, clazz(error_msg), sys.exc_info()[2])  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 381, in authenticate    self._sso_token = self._get_access_token()  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 617, in _get_access_token    sso_response = self._get_sso_response(self._sso_url, post_data)  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 694, in _get_sso_response    curl.perform()Error: Error while sending HTTP request: (52, 'Empty reply from server')-------------------- >> begin captured stdout << -------------------------------------------------------------Exception happened during processing of request from ('127.0.0.1', 41440)----------------------------------------
--------------------- >> end captured stdout << ----------------------
======================================================================ERROR: Test that sending two parameters a request is sent with that two parameters.----------------------------------------------------------------------Traceback (most recent call last):  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/tests/test_vm_service.py", line 190, in test_start_with_two_custom_parameters    query={'my': 'value', 'your': 'value'}  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/services.py", line 29448, in start    return self._internal_action(action, 'start', None, headers, query, wait)  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/service.py", line 288, in _internal_action    context = self._connection.send(request)  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 370, in send    return self.__send(request)  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 388, in __send    self.authenticate()  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 384, in authenticate    self.__parse_error(e)  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 932, in __parse_error    six.reraise(clazz, clazz(error_msg), sys.exc_info()[2])  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 381, in authenticate    self._sso_token = self._get_access_token()  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 617, in _get_access_token    sso_response = self._get_sso_response(self._sso_url, post_data)  File "/home/duhy/workSpace/Hosted-Engine/source/ovirt-engine-sdk/sdk/lib/ovirtsdk4/__init__.py", line 694, in _get_sso_response    curl.perform()Error: Error while sending HTTP request: (52, 'Empty reply from server')-------------------- >> begin captured stdout << -------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20180426/24270efd/attachment.html>


More information about the Users mailing list