You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
A pool lane survives a client daemon restart, but the client can neither adopt nor stop it (409 runs here already) #563
A lane was started on a pool node (devstack up --profile <p> in a worktree, default pool). The node admitted the lease, started the lane and brought its infra up. Then the client machine's agent host restarted, and with it the local daemon.
After that the lane is stuck on both sides:
Step
Result
devstack lane list
the lane shows stopped, RUNS ON local
devstack lane stop (in the worktree)
409: lane is not started
devstack up --profile <p>
lane on <node>: 409: laneof runs here already (lease <id>): stop it first
devstack up again a minute later
lease on pool: 409: no node of the pool can take the lane now (...): none online, sharing, with that much free and a devstack that works with the requester's (the only node has ~26 CPU / 91 GiB free; it still holds the old lease)
after devstack update --version 0.49.3 (node and coordinator run 0.49.3)
same 409 "runs here already"
On the node the lane container devstack-lane-<lease> is still Up. The local daemon no longer knows the lease, so neither lane stop nor up can release or adopt it; the only way out seems to be a manual step on the node.
node_lease_admitted lease=<id> lane=<lane> cpus=7.64 memory_mib=19490
node_lane_started lease=<id> lane=<lane> ms=106391
node_lane_infra_up lease=<id> lane=<lane> group=app
-- client daemon restarts --
remote_lane_not_started on=pool error="... 409: ... runs here already (lease <id>): stop it first"
request POST /v1/lanes/<lane>/stop status=409 error="lane `<lane>` is not started"
remote_lane_not_started on=pool error="lease on `pool`: 409: no node of the pool can take the lane now ..."
Every attempt also logged pool_version_mismatch (client 0.49.2, node/coordinator 0.49.3) until the client was updated; the update did not change the outcome.
Expected
After a daemon restart, a lane whose lease is still held by a node is either adopted again (the node says it runs, so up reconnects and forwards its ports) or at least releasable from the client (lane stop reaches the node's lease). #379 made remote lanes survive a client restart; this is the other half: the client finding them again.
Follow-up: stopping the lane container on the node (docker stop devstack-lane-<lease>, exited 137) does not release the lease either. The next devstack up gets the same 409 ... runs here already (lease <id>). The node keeps the lease in its own state, and there is no command on the client or in devstack node that releases it.
Activity
7schmiede commentedon Nov 18, 2026
Follow-up: stopping the lane container on the node (
docker stop devstack-lane-<lease>, exited 137) does not release the lease either. The nextdevstack upgets the same409 ... runs here already (lease <id>). The node keeps the lease in its own state, and there is no command on the client or indevstack nodethat releases it.fix(pool): release the lease of a lane start cut off by the daemon's end
test(pool): a lane start cut off by the daemon's end starts again
fix(pool): release the lease of a lane start cut off by the daemon's end
test(pool): a lane start cut off by the daemon's end starts again
fix(pool): release the lease of a lane start cut off by the daemon's end
fix(pool): leases of cut-off starts stay noted until let go; a start …