-
Notifications
You must be signed in to change notification settings - Fork 287
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
Azure: Update to Azure config [WIP] #406
Conversation
Additions: - More Azure specific features included in NF-Core config Relates to #401
conf/azurebatch.config
Outdated
storage { | ||
accountName = params.storage_name | ||
accountKey = params.storage_key | ||
sasToken = params.storage_key |
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.
Should be params.storage_sas
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.
That explains why it wasn't working...
docs/azurebatch.md
Outdated
|
||
The Azure Blob Storage shared access signature token. | ||
VM size to use with Nextflow autopool or when creating a worker pool in Azure Batch. Make sure your Azure account has sufficient quota. Defaults to `Standard_D8s_v3`. |
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.
Add link Sizes for virtual machines in Azure
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.
I think this is a good extension and provides more options to do vm_types. A couple of changes and additions.
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.
LGTM
|
@vsmalladi I haven't had a chance to check this. I'm on leave next week but when I get a chance I will give it a go. If it has everything we need and doesn't break anything we should smash that merge button. |
@vsmalladi I'm finding this raises an error with the autoscaling formula. Works fine if autoscalling is turned off. Have you found this?
|
@adamrtalbot That is odd. I have not found that issue. Can you see your quota for Dedicated nodes in Dv3 family? |
Looks like plenty of nodes. If I turn off autoscaling it's fine. If I add a custom autoscaling formula to the pool it's fine:
Is the default autoscaling formula in Nextflow broken? |
@adamrtalbot What version of nextflow, and pipeline are you testing. I can give it a try on my end. |
nextflow -version
N E X T F L O W
version 22.04.5 build 5708
created 15-07-2022 16:09 UTC
cite doi:10.1038/nbt.3820
http://nextflow.io java -version
openjdk version "17.0.4.1" 2022-08-12
OpenJDK Runtime Environment Temurin-17.0.4.1+1 (build 17.0.4.1+1)
OpenJDK 64-Bit Server VM Temurin-17.0.4.1+1 (build 17.0.4.1+1, mixed mode, sharing) It fails with every pipeline, for example: nextflow run \
nf-core/sarek \
-profile test \
-c ~/configs/conf/azurebatch.config \
-ansi-log false \
-w az://work/ \
--az_location $AZURE_BATCH_LOCATION \
--batch_name $AZURE_BATCH_ACCOUNT_NAME \
--batch_key $AZURE_BATCH_ACCOUNT_KEY \
--storage_name $AZURE_STORAGE_ACCOUNT_NAME \
--storage_key $AZURE_STORAGE_ACCOUNT_KEY |
@adamrtalbot I just tested this config and had no issues running it as is.
The scaling is targeting low priority nodes, by default the autoscale would use dedicated nodes. So I wonder if you look at quotas in your batch account under |
@vsmalladi if you had no issues, shall we just go for it? |
@adamrtalbot ya lets merge and see if anyone brings up any issues that we can solve. |
Additions:
Relates to #401
name: Azure
about: Add more features to Azure config
Please follow these steps before submitting your PR:
[WIP]
in its titlemaster
branchSteps for adding a new config profile:
conf/
directorydocs/
directorynfcore_custom.config
file in the top-level directoryREADME.md
file in the top-level directoryprofile:
scope in.github/workflows/main.yml