-
Notifications
You must be signed in to change notification settings - Fork 1
📝 add hints on troubleshooting running jobs #21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
enryH
wants to merge
5
commits into
main
Choose a base branch
from
seqera_azure
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
5 commits
Select commit
Hold shift + click to select a range
173ca5a
:memo: add hints on troubleshooting running jobs
enryH 2457958
:memo: spreading vs packing of tasks on nodes in a pool
enryH 2022cc3
:memo: improve infrastructure instructions
enryH 2fc5ab5
Merge branch 'main' into seqera_azure
enryH 0d70004
Apply suggestions from code review
enryH File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,7 +24,6 @@ a Managed Identity and Batch Pool. | |
|
|
||
| - Admin permissions to add credentials, compute environment(s) and pipelines to a workspace | ||
|
|
||
|
|
||
| ## On VMs as nodes in a pool | ||
| Nodes in a pool are described based on the VM naming convention: | ||
|
|
||
|
|
@@ -35,3 +34,60 @@ See also [Azure Batch documentation](https://learn.microsoft.com/en-us/azure/bat | |
| > Local storage of a VM is one-to-one in line with the number of CPUs. See the `Local Storage` tab | ||
| > for a machine in a series to find out more. See for example the | ||
| > [Ddsv4 sizes series](https://learn.microsoft.com/en-us/azure/virtual-machines/sizes/general-purpose/ddsv4-series?tabs=sizestoragelocal). | ||
|
|
||
| ## Spreading vs Packing nodes in a pool | ||
|
|
||
| Defines how jobs are packed on nodes. Packing puts as many tasks as possible on a single | ||
| node. Spreading starts new nodes for each task by default. See the documentation for | ||
| more details: | ||
| [azure/batch/batch-parallel-node-tasks](https://learn.microsoft.com/en-us/azure/batch/batch-parallel-node-tasks) | ||
|
|
||
| ## Troubleshooting | ||
|
|
||
| ### Connection issues | ||
|
|
||
| If you encounter connection issues when launching pipelines from Seqera using | ||
| Azure Batch compute environment, try to increase the timeout settings in the | ||
| Compute Environment configuration on Seqera Platform to around 8-16 hours. | ||
|
|
||
| ``` | ||
| NXF_OPTS="-Dsun.net.client.defaultConnectTimeout=30000 -Dsun.net.client.defaultReadTimeout=60000" | ||
| ``` | ||
|
|
||
| Here are some example screenshots for setting it as global Environment variables | ||
|
|
||
|  | ||
|  | ||
|
|
||
| So you will need to set the `NXF_OPTS` environment variable in the Compute Environment | ||
| configuration on Seqera Platform to | ||
|
|
||
| ``` | ||
| -Dsun.net.client.defaultConnectTimeout=30000 -Dsun.net.client.defaultReadTimeout=60000 | ||
| ``` | ||
|
Comment on lines
+53
to
+67
|
||
|
|
||
| <details> | ||
| <summary>Example error message:</summary> | ||
|
|
||
| ```bash | ||
| The workflow execution failed to start. Exit status: 1 | ||
|
|
||
| ERROR ~ Unable to access config file 'https://api.cloud.seqera.io/ephemeral/<ephemeral-id>' -- Cause: Server returned HTTP response code: 403 for URL: https://api.cloud.seqera.io/ephemeral/<ephemeral-id> | ||
|
|
||
| Server returned HTTP response code: 403 for URL: https://api.cloud.seqera.io/ephemeral/<ephemeral-id> | ||
|
|
||
|
|
||
| -- Check 'nf-2OSwVxmg7B2QQt.log' file for details | ||
| ``` | ||
| </details> | ||
|
|
||
|
|
||
| ### VM sizes | ||
|
|
||
| To handle workflows with a mix of low and high memory requirements, consider | ||
| to let Seqera create multiple Azure Batch pools with different VM sizes based | ||
| on process requirements. This can be achieved by using the `autopool` feature. | ||
|
|
||
| - See [nextflow documentation](https://www.nextflow.io/docs/latest/azure.html#auto-pools) | ||
| - See [Seqera documentation](https://docs.seqera.io/platform-cloud/enterprise/advanced-topics/manual-azure-batch-setup#option-4-use-the-nextflow-autopool-feature) | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The text says to increase timeouts to ~8–16 hours, but the shown NXF_OPTS values (30000/60000) are only 30s/60s (and are typically interpreted as milliseconds). Please align the stated duration with the actual values and/or explicitly state the units.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
to figure out