nextflow-io / nextflow-io/nextflow

Tower request field `tasks.cloudZone` exceeds expected size nf-tower-plugin

Open
#4,305 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
Groovy
Stars
3.5k
Forks
811
Avg merge
2d 11h
Merged PRs (30d)
61

Description

Bug report

When running a GCP batch compute in Tower for some regions, a warning is returned : WARN: Tower request field tasks.cloudZone exceeds expected size | offending value: northamerica-northeast1, size: 23 (max: 15)`

Looks like we need to increase the limit here:

https://github.com/nextflow-io/nextflow/blob/89ede15c71e79858560f93df71064b74d2da2cf4/plugins/nf-tower/src/resources/tower-schema.properties#L68

List of GCP regions:
https://cloud.google.com/about/locations

Looking at the above list, increasing the value to 23 should be sufficient.

I have attached the Nextflow log for a basic hello world.

Environment

Contributor guide

Open the contributing guide

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 at plugins/nf-tower/src/resources/tower-schema.properties, around line 68, and compare the configured cloudZone limit with the listed GCP region lengths. Verify the affected Tower request no longer warns for northamerica-northeast1 and that shorter regions remain valid.

Written by the indexing model from the issue text.

Assessment

Tech stack
google-cloud, groovy
Domain
cloud
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.