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

Access to job status in DonkeyApplication #53

Open
klendathu2k opened this issue Mar 9, 2023 · 0 comments · Fixed by #54
Open

Access to job status in DonkeyApplication #53

klendathu2k opened this issue Mar 9, 2023 · 0 comments · Fixed by #54
Labels
enhancement New feature or request

Comments

@klendathu2k
Copy link
Member

When jobs are submitted to panda, the production tag can be used to access the status of the job through pbook. e.g.

$ shrek --submit  --tag this-is-my-prod-tag --no-timestamp --no-uuid workflows/blah/*.yaml
$ pbook
...
pbook> show( 'this-is-my-prod-tag')

DonkeyApplication (usually aliased to donkey) dispatches work through a bash script. If donkey could be provided with that tag, we could interface with pbook and display the PanDA job status when we perform a show messages command. Perhaps a separate show status id command would be better. Regardless.

A couple of options for providing tag to donkey.

  • Establish a shrekTask summary format... a json format... which could optionally be dumped to file or stdout after successful submit
  • Allow direct shrek submission ...
    • refactor submitWorkflowToPanda so that main only parser the command line and passes the args func doShrekSubmit(args)
    • import the doShrekSubmit and pass arguments as defined in the dispatch conditions

First option seems to be better. Loose coupling. More flexibility.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant