JonasProgrammer / JonasProgrammer/docker-machine-driver-hetzner

error installing docker

Open
#95 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
438
Forks
58
PR merge metrics
No merged PRs in 30d

Description

hello i tried to get this simple config up and running following the steps of the youtube video and the blogposts
but i get still error messages - see below.

the status is runner is connected, once i start the pipeline new machines will get populated then i get the logoutput below

config.toml

concurrent = 50
check_interval = 0

[session_server]
  session_timeout = 1800

[[runners]]
  name = "Hetzner Autoscale"
  limit = 10
  url = "https://gitlab.com/"
  token = "***********"
  executor = "docker+machine"
  [runners.custom_build_dir]
  [runners.docker]
    tls_verify = false
    image = "ubuntu:22.04"
    privileged = true
    disable_entrypoint_overwrite = false
    oom_kill_disable = false
    disable_cache = false
    volumes = ["/cache", "/var/run/docker.sock:/var/run/docker.sock"]
    shm_size = 0
  [runners.machine]
    IdleCount = 0
    IdleTime = 1800
    MachineDriver = "hetzner"
    MachineName = "runner-%s"
    MachineOptions = ["hetzner-api-token=********", "hetzner-image=ubuntu-22.04", "hetzner-server-type=cpx11", "engine-install-url=https://releases.rancher.com/install-docker/19.03.9.sh"]
    [[runners.machine.autoscaling]]
      Periods = ["* * * * * sat,sun *"]
      Timezone = ""
      IdleCount = 0
      IdleTime = 21600
$ docker logs -f root_hetzner-runner_1
...
WARNING: Problem while reading command output       error=read |0: file already closed
WARNING: Problem while reading command output       error=read |0: file already closed
Skipping provision retry on failed machine          error=exit status 1 name=runner-k8gthjjn-runner-1675340026-f501ae4e
ERROR: Machine creation failed                      error=exit status 1 name=runner-k8gthjjn-runner-1675340026-f501ae4e time=54.110410668s
WARNING: Requesting machine removal                 lifetime=54.111698512s name=runner-k8gthjjn-runner-1675340026-f501ae4e now=2023-02-02 12:14:40.903415975 +0000 UTC m=+118.776737733 reason=Failed to create used=54.111699346s usedCount=0
WARNING: Stopping machine                           lifetime=54.139138862s name=runner-k8gthjjn-runner-1675340026-f501ae4e reason=Failed to create used=26.507099ms usedCount=0

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the config.toml and the docker logs -f root_hetzner-runner_1 output, then reproduce the machine creation failure to capture the omitted provisioning error behind exit status 1. Done means identifying the failing configuration or provisioning step and documenting a verified correction for this setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
docker, go
Domain
cloud, devops, infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.