OpenCue
OpenCue copied to clipboard
The testing show has been deactivated
Following the instructions in the docs for "Testing the sandbox environment" in the docs, submitting a job with cuesubmit fails with the error below printed to stdout.
I created a new show with the api and was able to submit a job to it.
Traceback (most recent call last):
File "/location/OpenCue/venv/lib/python3.7/site-packages/pycue-0.15.22-py3.7.egg/opencue/util.py", line 44, in _decorator
return grpcFunc(*args, **kwargs)
File "/location/OpenCue/venv/lib/python3.7/site-packages/pycue-0.15.22-py3.7.egg/opencue/api.py", line 378, in launchSpecAndWait
job_pb2.JobLaunchSpecAndWaitRequest(spec=spec), timeout=Cuebot.Timeout).jobs
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_interceptor.py", line 221, in __call__
compression=compression)
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_interceptor.py", line 257, in _with_call
return call.result(), call
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_channel.py", line 343, in result
raise self
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_interceptor.py", line 247, in continuation
compression=new_compression)
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_channel.py", line 957, in with_call
return _end_unary_response_blocking(state, call, True, None)
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
grpc._channel._InactiveRpcError: <_InactiveRpcError of RPC that terminated with:
status = StatusCode.INTERNAL
details = "Failed to launch and add job: The testing show has been deactivated. Please contact administrator of your OpenCue deployment to reactivate this show."
debug_error_string = "{"created":"@1663693188.616674861","description":"Error received from peer ipv6:[::1]:8443","file":"src/core/lib/surface/call.cc","file_line":1069,"grpc_message":"Failed to launch and add job: The testing show has been deactivated. Please contact administrator of your OpenCue deployment to reactivate this show.","grpc_status":13}"
>
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/location/OpenCue/venv/lib/python3.7/site-packages/cuesubmit-0.15.22-py3.7.egg/cuesubmit/ui/Submit.py", line 530, in submit
raise e
File "/location/OpenCue/venv/lib/python3.7/site-packages/cuesubmit-0.15.22-py3.7.egg/cuesubmit/ui/Submit.py", line 526, in submit
jobs = Submission.submitJob(jobData)
File "/location/OpenCue/venv/lib/python3.7/site-packages/cuesubmit-0.15.22-py3.7.egg/cuesubmit/Submission.py", line 151, in submitJob
return outline.cuerun.launch(ol, use_pycuerun=False)
File "/location/OpenCue/venv/lib/python3.7/site-packages/pyoutline-0.15.22-py3.7.egg/outline/cuerun.py", line 101, in launch
return launcher.launch(use_pycuerun)
File "/location/OpenCue/venv/lib/python3.7/site-packages/pyoutline-0.15.22-py3.7.egg/outline/cuerun.py", line 219, in launch
return self.__get_backend_module().launch(self, use_pycuerun=use_pycuerun)
File "/location/OpenCue/venv/lib/python3.7/site-packages/pyoutline-0.15.22-py3.7.egg/outline/backend/cue.py", line 125, in launch
jobs = opencue.api.launchSpecAndWait(launcher.serialize(use_pycuerun=use_pycuerun))
File "/location/OpenCue/venv/lib/python3.7/site-packages/pycue-0.15.22-py3.7.egg/opencue/util.py", line 57, in _decorator
exception(exception.failMsg.format(details=details)))
File "/location/OpenCue/venv/lib/python3.7/site-packages/future/utils/__init__.py", line 421, in raise_with_traceback
raise exc.with_traceback(traceback)
File "/location/OpenCue/venv/lib/python3.7/site-packages/pycue-0.15.22-py3.7.egg/opencue/util.py", line 44, in _decorator
return grpcFunc(*args, **kwargs)
File "/location/OpenCue/venv/lib/python3.7/site-packages/pycue-0.15.22-py3.7.egg/opencue/api.py", line 378, in launchSpecAndWait
job_pb2.JobLaunchSpecAndWaitRequest(spec=spec), timeout=Cuebot.Timeout).jobs
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_interceptor.py", line 221, in __call__
compression=compression)
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_interceptor.py", line 257, in _with_call
return call.result(), call
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_channel.py", line 343, in result
raise self
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_interceptor.py", line 247, in continuation
compression=new_compression)
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_channel.py", line 957, in with_call
return _end_unary_response_blocking(state, call, True, None)
File "/location/OpenCue/venv/lib/python3.7/site-packages/grpc/_channel.py", line 849, in _end_unary_response_blocking
raise _InactiveRpcError(state)
opencue.exception.CueInternalErrorException: Server caught an internal exception. Failed to launch and add job: The testing show has been deactivated. Please contact administrator of your OpenCue deployment to reactivate this show.
I hit this the other day too. I was working on various other things at the time so I thought it was related to that, but it looks like something's changed that causes that testing project to get disabled. The seed_data.sql file looks correct to me, so this will need some more investigation.
In the meantime, for any folks who are hitting this and find this issue, you can use the cueadmin commnd line tool to re-enable the show:
# List all shows.
$ cueadmin -ls
# Enable the `testing` show.
$ cueadmin -enable-show testing