Skip to content

A pool lane survives a client daemon restart, but the client can neither adopt nor stop it (409 runs here already) #563

Closed

Description

@7schmiede

What happened

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.

Telemetry (pool collector, logs-generic.otel-devstack)

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.

Versions

  • client: 0.49.2, then 0.49.3 (Windows)
  • node / coordinator: 0.49.3 (Linux)

Activity

  1. added
    bug
    on Nov 18, 2026
  2. 7schmiede commented on Nov 18, 2026

    @7schmiede
    MemberAuthor

    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.

  3. self-assigned this
    on Nov 18, 2026
  4. added 5 commits that reference this issue on Nov 18, 2026
    c3e6187
    271d2e4
    218cd52
    ee35a3f
    213fca3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions