nextflow-io / nextflow-io/nextflow
Tower request field `tasks.cloudZone` exceeds expected size nf-tower-plugin
Nobody has claimed this yet.
- 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
- Nextflow version: 23.08.1-edge
- Tower.nf for execution env
nf-UqKFaH7g97PQT.log
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- 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