Skip to content

Commit 9178acf

Browse files
committed
removed cluster_id
1 parent 3e3d90f commit 9178acf

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

services/director-v2/src/simcore_service_director_v2/models/comp_runs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ def convert_null_to_empty_metadata(cls, v):
148148
"run_id": 43243,
149149
"project_uuid": "65fee9d2-e030-452c-a29c-45d288577ca5",
150150
"user_id": 132,
151-
"cluster_id": 123,
151+
"cluster_id": None,
152152
"iteration": 12,
153153
"result": "SUCCESS",
154154
"created": "2021-03-01T13:07:34.191610",

services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/_manager.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,7 @@ async def run_new_pipeline(
3838
run_metadata: RunMetadataDict,
3939
use_on_demand_clusters: bool,
4040
) -> None:
41-
"""Sets a new pipeline to be scheduled on the computational resources.
42-
Passing cluster_id=0 will use the default cluster. Passing an existing ID will instruct
43-
the scheduler to run the tasks on the defined cluster"""
41+
"""Sets a new pipeline to be scheduled on the computational resources."""
4442
# ensure the pipeline exists and is populated with something
4543
db_engine = get_db_engine(app)
4644
dag = await _get_pipeline_dag(project_id, db_engine)

services/director-v2/src/simcore_service_director_v2/modules/comp_scheduler/_scheduler_base.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -783,9 +783,9 @@ async def _schedule_tasks_to_start( # noqa: C901
783783
except Exception:
784784
_logger.exception(
785785
"Unexpected error for %s with %s on %s happened when scheduling %s:",
786-
f"{user_id=}",
787-
f"{project_id=}",
788-
f"{comp_run.cluster_id=}",
786+
f"{comp_run.user_id=}",
787+
f"{comp_run.project_uuid=}",
788+
f"{comp_run.use_on_demand_clusters=}",
789789
f"{tasks_ready_to_start.keys()=}",
790790
)
791791
await CompTasksRepository.instance(

0 commit comments

Comments
 (0)