question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Feature Request: Ability to add custom labels to Google VMs

See original GitHub issue

WDL Forums discussion

In #3233 the ability to customize GCS VM labels was removed. My understanding was that this was to lift Google’s restrictions on VM labels from the workflow labels. However, I would benefit greatly from the ability to optionally supply labels to each VM.

Specifically, I’m operating my own fork of the cromwell_on_google tool which I use to spin up large batches of VMs to execute workflows. However, it’s hard to pick out individual VMs from the compute api console, especially when running multiple unrelated submissions.

My tool creates one Cromwell VM for each submission, which then (via the Google JES backend) starts new VMs for each workflow. To distinguish and filter the VMs in the console, I want to attach two labels to every vm:

  • execution-role : A label to distinguish between Cromwell VMs and worker VMs
  • submission-id : A label with submission IDs generated by my tool to distinguish between VMs working on different submissions

The cromwell-workflow-id label is helpful, but not convenient if I wish to operate on all VMs working on a single submission en masse.

The Google genomics API allows me to set execution-role=Cromwell and submission-id={ID} labels on the Cromwell VMs. However, without Cromwell support, I can’t set execution-role=Worker and submission-id={ID} labels on the workers at creation time.

I’m currently pursuing a workaround to manually set these labels after creation, but having control via Cromwell would be preferable.

Thanks!

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
agraubertcommented, Mar 29, 2019

Can you shuffle the labels again, please? Just so that I know this still isn’t being worked on

0reactions
agraubertcommented, Apr 1, 2019

Scala is very much not in my wheelhouse, so unfortunately this is not a task I’d be comfortable taking on. But I really do appreciate the status update

Read more comments on GitHub >

github_iconTop Results From Across the Web

Organize resources using labels | Compute Engine ...
You can add labels or update existing labels on resources by using the Google Cloud console, the gcloud CLI, or the Compute Engine...
Read more >
Labels - GitLab Docs
Teams can use scoped labels to annotate issues, merge requests, and epics with mutually exclusive labels. By preventing certain labels from being used...
Read more >
Amazon EC2 FAQs - Amazon Web Services
Find answers to some of the common questions about Amazon EC2.
Read more >
Open Cloud Scheduler issues - Issue Tracker
Add header to Cloud Scheduler requests with the timestamp the job was triggered. P2. S2. 170499261. 170581787, Feature Request, New, 4.
Read more >
Microsoft 365 Roadmap
You will now be able to start a Teams Chat with Distribution Groups, Mail-enabled Security Groups, and O365 Groups. This feature will respect...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found