first try on photon-os for docker-swarm fails with cgroup
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 3.2k
- Forks
- 692
- PR merge metrics
- No merged PRs in 30d
Description
Describe the bug
Having fresh install on photon-os giving it a try as I use VMware and usually use Ubuntu/Debian, I wanted to give photon a try for use with docker/swarm.
I've had several fresh installs of photon and tried to setup swarm-pit for master/management like (see reproduction steps).
Each time swarmpit install fails to deploy and on console-log of vmware-guest running photon there is this error -- no matter I give the VM-Guest 2 GB of RAM or 8 GB:
cgroup out of memory: killed
Reproduction steps
- docker swarm init
- docker run -it --rm
--name swarmpit-installer
--volume /var/run/docker.sock:/var/run/docker.sock
swarmpit/install:1.9
Starting swarmpit.......................FAILED!
Swarmpit is not responding for a long time. Aborting installation...:(
Please check logs and cluster status for details.
...
Expected behavior
swarmpit should run
Additional context
cat /etc/os-release
NAME="VMware Photon OS"
VERSION="4.0"
docker version
Client: Docker Engine - Community
Version: 24.0.5
API version: 1.43
Go version: go1.20.12
Git commit: ced0996
Built: Thu Dec 21 03:16:59 2023
OS/Arch: linux/amd64
Context: default
Server: Docker Engine - Community
Engine:
Version: 24.0.5
API version: 1.43 (minimum version 1.12)
Go version: go1.20.12
Git commit: a61e2b4
Built: Thu Dec 21 03:18:08 2023
OS/Arch: linux/amd64
Experimental: false
containerd:
Version: 1.6.8
GitCommit: 9cd3357b7fd7218e4aec3eae239db1f68a5a6ec6
runc:
Version: 1.1.12
GitCommit:
docker-init:
Version: 0.19.0
GitCommit: de40ad0
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure on VMware Photon OS 4.0 with the reported Docker 24.0.5 versions: initialize a swarm and run the swarmpit/install:1.9 container. Inspect the VMware guest console for the cgroup out-of-memory message and check Docker logs and cluster status. Done means the installer completes and Swarmpit responds without the cgroup failure.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- docker
- Domain
- devops, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100