Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • allgo allgo
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 82
    • Issues 82
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • allgo
  • allgoallgo
  • Issues
  • #340

Closed
Open
Created Sep 09, 2019 by BAIRE Anthony@abaireOwner

add a length constraint on 'docker_name'

When the docker_name is too long, the jobs/sandboxes fail to start with the following error: docker.errors.APIError: 500 Server Error: Internal Server Error ("b'OCI runtime create failed: container_linux.go:345: starting container process caused "process_linux.go:430: container init caused \\"sethostname: invalid argument\\"": unknown'"))

https://support.inria.fr/Ticket/Display.html?id=144624

The hostname is limited to 64 characters, and we need a margin because a prefix is prepended to the name of the container (ex : 'prod-sandbox-', 'qualif-sandbox'-, 'prod-jobXXX').

-> we should limit the length of 'docker_name' to 30 chars

Edited Sep 09, 2019 by BAIRE Anthony
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking