Skip to content

Failed Loading Environment error after rebooting manager node #8256

@joshbuker

Description

@joshbuker

Bug description
After rebooting the manager node in a 1 manager, 1 worker docker swarm setup, portainer will boot the service, but attempting to load the primary environment will fail with an error:

Failed loading environment
Unable to find an agent on any manager node

This error happens both from the worker and manager node instances of the portainer web interface.

Expected behavior
After a reboot, portainer boots normally and allows loading the environment.

Portainer Logs
Provide the logs of your Portainer container or Service.

Steps to reproduce the issue:

  1. Setup a docker swarm with 1 manager, 1 worker. The manager is Ubuntu Server in my case, while the worker is Pop OS!
  2. Verify that portainer is working normally by visiting the web interface
  3. Reboot the manager node (system reboot)
  4. Visit web interface again, attempt clicking on primary environment
  5. See error

Additional context
Discord thread has additional context if needed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions