Skip to content

invalid instance status transition from error to pending_create #793

Description

@Hdom

Seeing this error fairly frequently after updating to 0.2.1

2026-06-23 14:36:49.481 [ERROR] failed to update runner status endpoint=github.com error=error updating instance: invalid instance status transition from error to pending_create pool_mgr=ORG pool_type=organization runner_name=runner-name source=map[file:/runner/pool/pool.go function:github.com/cloudbase/garm/runner/pool.(*basePoolManager).retryFailedInstancesForOnePool.func1 line:1476]

I believe that the error is here: https://github.com/cloudbase/garm/blob/main/runner/pool/pool.go#L1475
Fix should be to update InstanceStatusTransitions map to support this new code path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions