Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • webapp webapp
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 33
    • Issues 33
    • List
    • Boards
    • Service Desk
    • Milestones
    • Requirements
  • Merge requests 3
    • Merge requests 3
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • runhyverunhyve
  • webappwebapp
  • Merge requests
  • !98

Use UUIDs as vm name

  • Review changes

  • Download
  • Email patches
  • Plain diff
Open Piotr Baj requested to merge issue-68 into master Nov 16, 2021
  • Overview 1
  • Commits 3
  • Pipelines 0
  • Changes 11

What is covered in this MR:

  • change default behavior of machine name, from now uuid is send to vm-bhyve as machine name and the machine name is send as a hostname
  • name now can be longer
  • initial test coverage for machines

Warning: Machines created with old naming convention <team_id>_<machine_name> won't be visible for the runhyve unless the uuid column will be erased.

You can use empty all uuids with psql:

UPDATE machines SET uuid = NULL;

or iex -S mix:

Webapp.Repo.update_all(Webapp.Machines.Machine, set: [uuid: nil])
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: issue-68