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

Issue 44126: CommandTasks fail on remote pipeline servers #2689

Merged

Conversation

labkey-jeckels
Copy link
Contributor

Rationale

Remote pipeline servers fail to run CommandTasks because we've introduced code that only works when invoked on the web server where we have the DB connection available

Changes

  • Check if we're on the web server before setting up script replacement tokens and auto-creating an API key
  • Debug logging to help track down future problems in finding MS2 conversion tools
  • Improve error messages when invoking methods that don't work on remote servers

labkey-jeckels added 2 commits October 12, 2021 15:38
Fix problems running CommandTasks on remote servers where we don't have access to the LK DB
Improvements on handling of web vs remote server detection and error reporting
@labkey-jeckels labkey-jeckels requested review from labkey-adam and a team October 14, 2021 23:50
@@ -646,6 +646,9 @@ public String getApiKey()
{
return _apikey;
}

@Override
public abstract void close();
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is causing a build break in CromwellGctTask (MacCossLabModules)... need to remove catch (IOException) there

@labkey-jeckels labkey-jeckels merged commit 2d5103d into release21.7-SNAPSHOT Oct 15, 2021
@labkey-jeckels labkey-jeckels deleted the 21.7_fb_rawConversionTroubleshooting branch October 15, 2021 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants