Skip to content

swarmpit stack only runs on manager nodes on ubuntu 22.04 #686

@hamiltonleemark

Description

@hamiltonleemark

BUG REPORT

-->

Description

I'm migrating my docker swarm to ubuntu 22.04 from 18.04. When the couchdb and influx db are started on node that is not manager the swarmpit app can not connect to either of the databases.

I did not have a problems running the default docker-compose.yaml on 18.04.

Steps to reproduce the issue:

  1. git clone https://github.com/swarmpit/swarmpit -b master
  2. docker -H 10.80.187.22 stack deploy -c swarmpit/docker-compose.yml swarmpit

10.80.187.22 is the manager node of my docker swarm.

What happens:
Swarm pit application does not start. It never connects to either database.

What should happen:
Application should start

Additional information (e.g. docker version, cluster setup,...):
perf@sp-perfvm03:$ uname -a
Linux sp-perfvm03 6.5.0-26-generic #26
22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Mar 12 10:22:43 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
perf@sp-perfvm03:$ !dpk
dpkg -l | grep docker
ii docker-buildx-plugin 0.13.1-1
ubuntu.22.04jammy amd64 Docker Buildx cli plugin.
ii docker-ce 5:26.0.0-1
ubuntu.22.04jammy amd64 Docker: the open-source application container engine
ii docker-ce-cli 5:26.0.0-1
ubuntu.22.04jammy amd64 Docker CLI: the open-source application container engine
ii docker-ce-rootless-extras 5:26.0.0-1
ubuntu.22.04jammy amd64 Rootless support for Docker.
ii docker-compose-plugin 2.25.0-1
ubuntu.22.04~jammy amd64 Docker Compose (V2) plugin for the Docker CLI.

firewall is disabled
Same steps work fine on 18.04
I ran two alpine containers on a test overlay and confirmed that basic overlay networking is working.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions