No agent serves the deployment
Weik.io 2026.2The deployment waits because no online agent may run it, and the detail says what in the placement stops it. Video
Watch: Sites and agents, 4:25
The video enrols an agent, runs its bundle on a host and sees the agent come online.
This part of the video couldn't be loaded.
| Kind | Severity | Who sees it |
|---|---|---|
deployment- |
Error | Everyone who can read the deployment |
What it means#
The integration doesn’t run in this environment, because no agent may run it or every agent it was placed on is offline.
What raises it#
The deployment is waiting and none of the agents it is placed on is online. A new installation gets two minutes for its first agents to report before the problem shows. The detail gives the cause nearest to placement first, in this order:
- An agent that serves the environment and meets the requirements isn’t allowed to run the project.
- The agents that match are draining.
- No agent that serves the environment meets the integration’s requirements.
- No agent serves the environment.
When the agents the deployment is placed on are offline, the detail lists them.
What to check#
See why the deployment is pending:
$ weikio status <project>/<integration> --env <environment>List the agents that serve the environment, with their status and capabilities:
$ weikio get agents --env <environment>See the environment’s agents and its deployment counts per project:
$ weikio describe environment <environment>How to fix it#
Start an offline agent on its host, or fix the cause the detail gives. A platform administrator fixes the first three causes with these commands, one for each:
$ weikio agent set-projects <agent> <project>,<other-project>
$ weikio agent undrain <agent>
$ weikio agent set-capabilities <agent> os=linux environment=<environment>set-projects and set-capabilities replace the agent’s whole list, so give every project and capability it should keep. When no agent serves the environment yet, enrol one with weikio agent enrol.