-
Notifications
You must be signed in to change notification settings - Fork 598
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 Batch] Cannot use a different distro as the host because of the forced mount of /etc/ssl/certs and /etc/pki #4828
Comments
Steps to reproduce: main.nf:
nextflow.config:
Command:
Output:
|
I wonder why it's needed to mount the host cert. There isn't this need with other cloud providers |
It says in the comment it is because of azcopy, but this is not really true in my experience
|
it should be tried if it can be removed |
Works fine without it. Opening a PR now. |
@adamrtalbot my understanding that it's not working without mounting the host cert, right? |
it seems to be working fine except for Fusion:
From: https://github.com/nextflow-io/nextflow/actions/runs/8568846304/job/23483847575?pr=4888 |
Even more weird. Fusion has its own certificate, should not depend on the distro cert. any clue @jordeu |
Re-ran and that error disappeared. Just the missing file now. |
@adamrtalbot can I help? What is this missing file problem? |
On PR #4888 I removed the SSL certs being passed to the Docker container because it didn't work between Ubuntu and CentOS images. However, it cant find the output file after completion. I thought it was Fusion but that error appears to be unrelated and has started working fine, so not Fusion. https://github.com/nextflow-io/nextflow/actions/runs/8615767323/job/23612362775?pr=4888 |
Bug report
Expected behavior and actual behavior
When using a centos/redhat container in a ubuntu host, the centos container should run normally
Steps to reproduce the problem
Start an Ubuntu azure batch instance and run
Program output
Environment
Additional context
This seems to be caused by something that is not configurable here
https://github.com/nextflow-io/nextflow/blob/master/plugins/nf-azure/src/main/nextflow/cloud/azure/batch/AzBatchService.groovy#L398
Would it be possible to make it configurable?
The text was updated successfully, but these errors were encountered: