KeyError: 'rocket_launch'
In workflow mode with background execution of batch nodes the default qadapter must contain the rocket_launch
key but it is missing in the default qadapter:
Traceback (most recent call last):
File "/usr/lib64/python3.8/threading.py", line 932, in _bootstrap_inner
self.run()
File "/usr/lib64/python3.8/threading.py", line 870, in run
self._target(*self._args, **self._kwargs)
File "vre-middleware/src/virtmat/middleware/engine/wfengine.py", line 352, in launcher
self.qlaunch(fw_id)
File "vre-middleware/src/virtmat/middleware/engine/wfengine.py", line 204, in qlaunch
launch_rocket_to_queue(self.launchpad, self.fworker_qlaunch,
File "python_VirtEnvs/vre-lang/lib64/python3.8/site-packages/fireworks/queue/queue_launcher.py", line 78, in launch_rocket_to_queue
if "--offline" in qadapter["rocket_launch"] and not reserve:
KeyError: 'rocket_launch'
A workaround is to use the -q qdapter.yaml
switch to override the default qadapter with a custom one that contains the key.