Open jayantad opened 3 years ago
Hi,
I encountered the same issue (following the pip
installation) and also tried the latest Azure SDK for Python (via Microsoft
conda channel) without success...
Hi I had the same problem, and fixed it temporary using the --container-image (https://stackoverflow.com/questions/68681883/snakemake-auto-scaling-azure-kubernetes-cluster-without-shared-filesystem-fail)
Now the docker.io/snakemake/snakemake:latest seems to be deleted and most other images I can find on dockerhub bring me back to the error above.
--edit-- I found out that a snakemake version in docker that works is --container-image docker.io/snakemake/snakemake:v6.1.1. Somehow the dependency is not picked up anymore in many later versions. I cannot find any difference in v6.1.1 (works) and for example v6.6.1 (doesn't work)
I get the same error trying to go through the Azure Kubernetes Service snakemake tutorial :(
It appears that not even using --container-image docker.io/snakemake/snakemake:v6.1.1
in the snakemake call doesn't works anymore as of this post.
I just get the error: azure.core.exceptions.ResourceNotFoundError: The specified container does not exist.
Guess the solution is to just keep trying snakemake versions on docker that do work?
EDIT
My solution was to create my own snakemake image including the azure-storage-blob
dependency to pass to kubernetes.
Here is a tutorial outlining my thought process and including a modified tutorial dataset:
https://github.com/milesroberts-123/snakemake-aks-tutorial
And a working command using my custom snakemake image:
snakemake --kubernetes --container-image docker.io/milesroberts/snakemake-aks:latest --default-remote-prefix snakemake-tutorial --default-remote-provider AzBlob --envvars AZ_BLOB_ACCOUNT_URL AZ_BLOB_CREDENTIAL --use-conda --jobs 3
I guess anyone could take advantage of this new image if they wanted
Snakemake version
Latest version
Describe the bug
The workflow deployed on Azure Kubernetes Services do not execute. The pod gets created but the status is shown as Error.
Logs
snakemake pod logs:
Minimal example
Additional context
I'm trying to evaluate whether snakemake workflows can be executed in Azure Kubernetes Services. I followed the steps as mentioned in the tutorial Auto-scaling Azure Kubernetes cluster without shared filesystem. I understand that this uses the default Snakemake image from Dockerhub.