Skip to content

error installing docker #95

Open
Open
@kunoSchlonz

Description

@kunoSchlonz

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions