acoustic-van-30942
03/16/2023, 4:27 AMCardNotPresentException. The weird thing is that eventually, the UI recalibrates, and depicts the flow correctly.
I am not able to recreate this problem when I use the underlying API Gateway endpoint. This momentary issue only occurs when I use the DNS domain name .acoustic-van-30942
03/16/2023, 4:28 AM{
"id": "CardNotPresentException",
"traceback": "Traceback (most recent call last):\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/runpy.py\", line 197, in _run_module_as_main\n return _run_code(code, main_globals, None,\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/runpy.py\", line 87, in _run_code\n exec(code, run_globals)\n File \"/root/services/ui_backend_service/data/cache/client/cache_server.py\", line 307, in <module>\n cli(auto_envvar_prefix='MFCACHE')\n File \"/opt/latest/lib/python3.9/site-packages/click/core.py\", line 1128, in __call__\n return self.main(*args, **kwargs)\n File \"/opt/latest/lib/python3.9/site-packages/click/core.py\", line 1053, in main\n rv = self.invoke(ctx)\n File \"/opt/latest/lib/python3.9/site-packages/click/core.py\", line 1395, in invoke\n return ctx.invoke(self.callback, **ctx.params)\n File \"/opt/latest/lib/python3.9/site-packages/click/core.py\", line 754, in invoke\n return __callback(*args, **kwargs)\n File \"/root/services/ui_backend_service/data/cache/client/cache_server.py\", line 301, in cli\n Scheduler(store, max_actions).loop()\n File \"/root/services/ui_backend_service/data/cache/client/cache_server.py\", line 196, in __init__\n self.pool = multiprocessing.Pool(\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/context.py\", line 119, in Pool\n return Pool(processes, initializer, initargs, maxtasksperchild,\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/pool.py\", line 212, in __init__\n self._repopulate_pool()\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/pool.py\", line 303, in _repopulate_pool\n return self._repopulate_pool_static(self._ctx, self.Process,\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/pool.py\", line 326, in _repopulate_pool_static\n w.start()\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/process.py\", line 121, in start\n self._popen = self._Popen(self)\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/context.py\", line 277, in _Popen\n return Popen(process_obj)\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/popen_fork.py\", line 19, in __init__\n self._launch(process_obj)\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/popen_fork.py\", line 71, in _launch\n code = process_obj._bootstrap(parent_sentinel=child_r)\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/process.py\", line 315, in _bootstrap\n self.run()\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/process.py\", line 108, in run\n self._target(*self._args, **self._kwargs)\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/multiprocessing/pool.py\", line 125, in worker\n result = (True, func(*args, **kwds))\n File \"/root/services/ui_backend_service/data/cache/client/cache_worker.py\", line 29, in execute_action\n execute(tempdir, action_cls, request)\n File \"/root/services/ui_backend_service/data/cache/client/cache_worker.py\", line 51, in execute\n res = action_cls.execute(\n File \"/root/services/ui_backend_service/data/cache/get_data_action.py\", line 116, in execute\n result = cls.fetch_data(target, stream_output)\n File \"/root/services/ui_backend_service/data/cache/get_cards_action.py\", line 58, in fetch_data\n cards = {card.hash: _card_item(card) for card in get_cards(task)}\n File \"/usr/local/pyenv/versions/latest/lib/python3.9/contextlib.py\", line 137, in __exit__\n self.gen.throw(typ, value, traceback)\n File \"/root/services/ui_backend_service/data/cache/utils.py\", line 130, in streamed_errors\n get_traceback_str()\n File \"/root/services/ui_backend_service/data/cache/utils.py\", line 124, in streamed_errors\n yield\n File \"/root/services/ui_backend_service/data/cache/get_cards_action.py\", line 58, in fetch_data\n cards = {card.hash: _card_item(card) for card in get_cards(task)}\n File \"/opt/latest/lib/python3.9/site-packages/metaflow/plugins/cards/card_client.py\", line 260, in get_cards\n card_paths, card_ds = resolve_paths_from_task(\n File \"/opt/latest/lib/python3.9/site-packages/metaflow/plugins/cards/card_resolver.py\", line 29, in resolve_paths_from_task\n card_paths_found = card_datastore.extract_card_paths(\n File \"/opt/latest/lib/python3.9/site-packages/metaflow/plugins/cards/card_datastore.py\", line 296, in extract_card_paths\n return self._list_card_paths(\n File \"/opt/latest/lib/python3.9/site-packages/metaflow/plugins/cards/card_datastore.py\", line 230, in _list_card_paths\n raise CardNotPresentException(\n\nmetaflow.plugins.cards.exception.CardNotPresentException: Card not found for pathspec TuningFlow/7/start/39\n",
"detail": "Card not found for pathspec TuningFlow/7/start/39",
"status": 500,
"title": "Internal Server Error",
"type": "about:blank"
}brave-lion-15961
03/16/2023, 6:39 PMmetaflow-service?acoustic-van-30942
03/16/2023, 6:40 PMbrave-lion-15961
03/16/2023, 6:46 PMQuick Links button in the UI)acoustic-van-30942
03/16/2023, 6:48 PMbrave-lion-15961
03/16/2023, 6:51 PMacoustic-van-30942
03/16/2023, 6:51 PM2.3.5--brave-lion-15961
03/16/2023, 6:52 PMacoustic-van-30942
03/16/2023, 6:57 PM2.3.5brave-lion-15961
03/16/2023, 6:58 PMbrave-lion-15961
03/16/2023, 7:00 PMacoustic-van-30942
03/16/2023, 7:01 PMbrave-lion-15961
03/16/2023, 7:03 PMacoustic-van-30942
03/16/2023, 7:03 PMbrave-lion-15961
03/16/2023, 7:05 PMWAIT_TIME variable https://github.com/Netflix/metaflow-service/blob/master/services/ui_backend_service/docs/environment.md#heartbeat-intervalsacoustic-van-30942
03/16/2023, 7:06 PMWAIT_TIME