Skip to content
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

Warning messages when Cloudinfo fails in Google Batch machine type selection #5649

Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -606,6 +606,7 @@ class GoogleBatchTaskHandler extends TaskHandler implements FusionAwareTask {
}
}
catch (Exception e) {
log.warn "Cannot select machine type using Seqera Cloudinfo for task: `${task.lazyName()}`. This feature can be disabled with setting the environment variable NXF_CLOUDINFO_ENABLED to false."
log.debug "[GOOGLE BATCH] Cannot select machine type using Seqera Cloudinfo for task: `${task.lazyName()}` - ${e.message}"
jorgee marked this conversation as resolved.
Show resolved Hide resolved
}

Expand All @@ -618,6 +619,7 @@ class GoogleBatchTaskHandler extends TaskHandler implements FusionAwareTask {
)

// Fallback to Google Batch automatically deduce from requested resources
log.warn "Using Google Batch default machine type."
pditommaso marked this conversation as resolved.
Show resolved Hide resolved
return null
}

Expand Down
Loading