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

OAR commands usage enforcement #132

Open
bpichot opened this issue Mar 17, 2017 · 1 comment
Open

OAR commands usage enforcement #132

bpichot opened this issue Mar 17, 2017 · 1 comment

Comments

@bpichot
Copy link

bpichot commented Mar 17, 2017

Case 1: Junk arguments in oarsub command cause reservations to be terminated as they start

See Grid'5000's bugzilla: https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=7931
I didn't test with other versions than 2.5.8-rc3, which is in production on Grid'5000.

These two commands for instance schedule reservations that go from Waiting state to Lauching and immediately Finishing:

oarsub -r "2017-3-17 17:19:0" hello world
oarsub junk -l nodes=1,walltime=1 junk -r "2017-3-17 17:21:0" junk

Passive jobs print oarsub usage help in such a case, for instance with:

oarsub junk -l nodes=1,walltime=1 sleep 1d

Interactive jobs are tolerant to junk arguments, for instance this command will launch a valid job:

oarsub junk -l nodes=1,walltime=1 junk -I junk

@npf npf changed the title Junk arguments in oarsub command cause reservations to be terminated as they start OAR commands usage enforcement Apr 4, 2017
@npf
Copy link
Contributor

npf commented Apr 4, 2017

Case 2: oarnodes -l --sql "..." returns all nodes

https://intranet.grid5000.fr/bugzilla/show_bug.cgi?id=7969

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants