Solved

failed at Cluster Cleanup phase 2 of 4 - Step 1


Badge
The first time I'm trying to run a test type 'Four Corners Microbenchmark'. I got this error 'Cluster cleanup on TestUnits failed. One or more objects may require manual cleanup, such as VMs, snapshots, protection domains, etc. Cleanup will be reattempted at the beginning of the next test'

What kind of cleanup the setup is trying to do ?
Maybe I can cleanup myself if I know what are this cleanup steps.
icon

Best answer by sdelisle 11 April 2018, 16:10

I finally found a log with the explanation why the cluster clean up phase failling !

code:
2018-04-03 17:18:32 ERROR cluster.py:32 Unhandled exception during cluster cleanup
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/charon/test/steps/cluster.py", line 30, in _run
File "build/bdist.linux-x86_64/egg/charon/acropolis_cluster.py", line 618, in cleanup
File "build/bdist.linux-x86_64/egg/charon/acropolis_cluster.py", line 692, in cleanup_images
File "build/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 252, in wrapper
File "build/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 1305, in images_delete
File "build/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 1895, in _get_pc_uuid_header
CharonException: Cluster is running a 5.5 version which is incompatible with X-Ray when connected to Prism Central. Please upgrade AOS to 5.5.0.2 or newer, or disconnect Prism Central. (kManagementServerApiError)
2018-04-03 17:18:32 ERROR scenario.py:787 Exception during 'CleanUp (kSetup)'
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/charon/scenario.py", line 777, in _execute_step
File "build/bdist.linux-x86_64/egg/charon/test/steps/_base_step.py", line 41, in __call__
File "build/bdist.linux-x86_64/egg/charon/test/steps/cluster.py", line 38, in _run

View original

2 replies

Badge
I finally found a log with the explanation why the cluster clean up phase failling !

code:
2018-04-03 17:18:32 ERROR cluster.py:32 Unhandled exception during cluster cleanup
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/charon/test/steps/cluster.py", line 30, in _run
File "build/bdist.linux-x86_64/egg/charon/acropolis_cluster.py", line 618, in cleanup
File "build/bdist.linux-x86_64/egg/charon/acropolis_cluster.py", line 692, in cleanup_images
File "build/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 252, in wrapper
File "build/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 1305, in images_delete
File "build/bdist.linux-x86_64/egg/charon/nutanix_rest_api_client.py", line 1895, in _get_pc_uuid_header
CharonException: Cluster is running a 5.5 version which is incompatible with X-Ray when connected to Prism Central. Please upgrade AOS to 5.5.0.2 or newer, or disconnect Prism Central. (kManagementServerApiError)
2018-04-03 17:18:32 ERROR scenario.py:787 Exception during 'CleanUp (kSetup)'
Traceback (most recent call last):
File "build/bdist.linux-x86_64/egg/charon/scenario.py", line 777, in _execute_step
File "build/bdist.linux-x86_64/egg/charon/test/steps/_base_step.py", line 41, in __call__
File "build/bdist.linux-x86_64/egg/charon/test/steps/cluster.py", line 38, in _run
Userlevel 7
Badge +35
Thanks for sharing @sdelisle

Looks like from the output provided the reason for it failing is the following:

Cluster is running a 5.5 version which is incompatible with X-Ray when connected to Prism Central. Please upgrade AOS to 5.5.0.2 or newer, or disconnect Prism Central.

If yes, consider clicking the 'like' and 'best answer' link on the reply - that will help others find answers to similar questions much quicker, Thanks

Reply