Testing on the AHV Nutanix environment will fail.When I look at the log, I am requesting RESTAPI which AHV can not deal with.
---
02017-09-25 03:00:27 WARNING nutanix_rest_api_client.py:2097 HTTP error on https://192.168.XX.XX:9440/PrismGateway/services/rest/v1/containers/datastores GET (attempt 1): 500, {"message":"Hypervisor ahv not supported"}2017-09-25 03:00:27 WARNING nutanix_rest_api_client.py:251 Error in Nutanix REST API method datastores_get: {"message":"Hypervisor ahv not supported"}, Traceback (most recent call last):File "/builds/d8a0d508/0/charon/charon-main/builds/build-master-release/charon-python-tree/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 239, in wrapperFile "/builds/d8a0d508/0/charon/charon-main/builds/build-master-release/charon-python-tree/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 554, in datastores_getFile "/builds/d8a0d508/0/charon/charon-main/builds/build-master-release/charon-python-tree/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 1893, in __getFile "/builds/d8a0d508/0/charon/charon-main/builds/build-master-release/charon-python-tree/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 2100, in __issue_requestHttpRequestException: ('http_status_code=500', 'http_body={"message":"Hypervisor ahv not supported"}')
2017-09-25 03:00:27 WARNING charon_server.py:1527 Error fetching information for charon test Nutanix entities on cluster XC: Prism REST API responded with error (kClusterApiError), Traceback (most recent call last):File "/builds/d8a0d508/0/charon/charon-main/builds/build-master-release/charon-python-tree/bdist.linux-x86_64/egg/charon/charon_server.py", line 1496, in __compute_stateful_test_idsFile "/builds/d8a0d508/0/charon/charon-main/builds/build-master-release/charon-python-tree/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 253, in wrapperCharonException: Prism REST API responded with error (kClusterApiError)
2017-09-25 03:00:27 INFO charon_server.py:1459 No initial unknown test GC work for cluster XC2017-09-25 03:00:27 DEBUG charon_server.py:563 Starting alarm handler2017-09-25 03:00:27 INFO charon_server.py:570 Recovery completed
---
---
Targe Setting :
---
Can "X-Ray" use AHV as a test target?
Best answer by cwilson
AHV is supported by X-Ray. That message is a bug and is only a warning that it's trying to do something that isn't supported, and isn't needed, for an AHV cluster. This is fixed in an upcoming release.
Is there another error message or exception further down in the logs?
View original
Is there another error message or exception further down in the logs?