File tree Expand file tree Collapse file tree 2 files changed +9
-2
lines changed
src/ai/backend/manager/repositories/schedule Expand file tree Collapse file tree 2 files changed +9
-2
lines changed Original file line number Diff line number Diff line change
1
+ ` status_data ` not initialized properly when creating single node session
Original file line number Diff line number Diff line change @@ -505,13 +505,19 @@ async def finalize_single_node_session(
505
505
506
506
for kernel in session_row .kernels :
507
507
kernel .set_status (
508
- KernelStatus .SCHEDULED , status_info = "scheduled" , status_changed_at = now
508
+ KernelStatus .SCHEDULED ,
509
+ status_info = "scheduled" ,
510
+ status_data = {},
511
+ status_changed_at = now ,
509
512
)
510
513
kernel .agent = agent_alloc_ctx .agent_id
511
514
kernel .agent_addr = agent_alloc_ctx .agent_addr
512
515
kernel .scaling_group = sgroup_name
513
516
session_row .set_status (
514
- SessionStatus .SCHEDULED , status_info = "scheduled" , status_changed_at = now
517
+ SessionStatus .SCHEDULED ,
518
+ status_info = "scheduled" ,
519
+ status_data = {},
520
+ status_changed_at = now ,
515
521
)
516
522
if agent_alloc_ctx .agent_id is not None :
517
523
agent_ids .append (agent_alloc_ctx .agent_id )
You can’t perform that action at this time.
0 commit comments