TritonDataCenter / TritonDataCenter/node-triton

invalid machine name on duplicate

Open
#33 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
60
Forks
36
Avg merge
3d 8h
Merged PRs (30d)
1

Description

$ triton create -wn my-machine base-64@15.2.0 t4-standard-128M
Creating instance my-machine (11e9c842-0546-c806-b6d3-aa71f5b18af8, base-64@15.2.0, t4-standard-128M)
Created instance my-machine (11e9c842-0546-c806-b6d3-aa71f5b18af8) in 44s
$ triton create -wn my-machine base-64@15.2.0 t4-standard-128M
triton create: error (ValidationFailed): Invalid VM parameters: Invalid machine name

"Invalid machine name", while correct, is not that descriptive for duplicates

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 triton create command and reproduce the duplicate my-machine case shown in the issue. Trace how the validation error is presented, then make duplicate-name failures more descriptive and rerun the same command to verify the resulting message.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
cli, cloud
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.