Repository navigation
Error of quantms-rescoring process with AWS - #621
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the Note Other AI code review bot(s) detectedCodeRabbit has detected other AI code review bot(s) in this pull request and will avoid duplicating their findings in the review comments. This may lead to a less comprehensive review. ✨ Finishing touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR Compliance Guide 🔍Below is a summary of compliance checks for this PR:
Compliance status legend🟢 - Fully Compliant🟡 - Partial Compliant 🔴 - Not Compliant ⚪ - Requires Further Human Verification 🏷️ - Compliance label |
||||||||||||||||||||||||
PR Code Suggestions ✨No code suggestions found for the PR. |
|
@jonasscheid @daichengxin We are testing AWS, and we are getting the following message: From the nf-core channels, I got that other users face when setting up @jonasscheid have you tested this before in your pipeline in AWS? |
|
LGTM |
There was a problem hiding this comment.
Pull request overview
This PR addresses an AWS compatibility issue by removing Docker-specific user emulation settings from the MSRESCORE_FEATURES process. The problematic containerOptions configuration included volume mounts for system files (/etc/passwd, /etc/shadow, /etc/group) and user ID mapping that caused execution failures on AWS infrastructure.
Key Changes:
- Removed
containerOptionsvariable assignment that applied Docker-specific user emulation settings - Eliminates volume mounts and HOME environment variable configuration that were incompatible with AWS execution
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
I know people ran it on aws, but should not matter since this is only relevant for docker profile and not aws profile. Did you specify aws profile? |
|
Yes we specify it, could be that the aws profile is not updated? |
jpfeuffer
left a comment
There was a problem hiding this comment.
Why was this needed anyway? Are the options specified in the global docker profile not enough??
Have you tried specifying -profile aws,docker ?
I think it is better if we remove those lines as much as possible to not interfere with User Setups.
|
I actually agree, Im removing them now, and if they are needed they can be provided by configs. |
nextflow removed the |
|
Nextflow configuration is beyond salvation anyway. The whole docker user permissions thing falls apart as soon as you have non-root docker Installations. Including the docker profile in nf-core. |
Doesn't the default
I'm not super into this, but you can specify all kinds of docker flags via |
|
The default is for docker Installations where you are root inside the container but want to pass the user id from outside to be able to write into mounted folders owned by the user. |
|
This is because nextflow cannot have profiles/configurations that depend on each other/are dynamic/additive. |
|
Valid points 👍🏼 You should bring this up in nextflow / nf-core Forum/Slack or Github! |
User description
PR checklist
nf-core pipelines lint).nextflow run . -profile test,docker --outdir <OUTDIR>).nextflow run . -profile debug,test,docker --outdir <OUTDIR>).docs/usage.mdis updated.docs/output.mdis updated.CHANGELOG.mdis updated.README.mdis updated (including new tool citations and authors/contributors).PR Type
Bug fix
Description
Removed problematic Docker user emulation settings causing AWS compatibility issues
Simplified container options configuration for ms2rescore process
Eliminates unnecessary volume mounts and environment variable handling
Diagram Walkthrough
File Walkthrough
main.nf
Remove Docker user emulation settings for AWSmodules/local/utils/msrescore_features/main.nf
containerOptionsvariable assignment that appliedDocker-specific user emulation settings
/etc/passwd,/etc/shadow, and/etc/groupexecution failures