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

Proxy user error #14

Open
ghost opened this issue Jul 3, 2016 · 2 comments
Open

Proxy user error #14

ghost opened this issue Jul 3, 2016 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 3, 2016

When submitting a job to a node n our cluster I see the following error:

Submitting PBS job...
Created working directory '/tmp/jenkinsPBS_3191368637747411031' with permissions 'rwxrwxrwx'
PBS script: /tmp/jenkinsPBS_3191368637747411031/script
FATAL: Failed to submit job script with command line 'qsub -P MyUser -e localhost:/tmp/jenkinsPBS_3191368637747411031/err -o localhost:/tmp/jenkinsPBS_3191368637747411031/out /tmp/jenkinsPBS_3191368637747411031/script -W umask=022'. Error output: qsub: submit error (Bad UID for job execution MSG=User 'MyUser' is attempting to submit a proxy job for user 'MyUser' but is not a manager)

MyUser = my username

From the qsub docs it seems that the -P option is only available to the superuser. This flag is being set in Qsub.java. Is there any possibility to fix this?

Thanks.

@kinow
Copy link
Member

kinow commented Jul 3, 2016

Hi @parsonsk. I'll investigate this issue on the next development cycle.

We can either add an option in the UI to control the arguments, or perhaps remove that option if that's not necessary.

I think some commands in the PBS plug-in were/are using administrative rights for things like reading other users job status. This is necessary as we want to display jobs in the execution queue in Jenkins.

@ghost
Copy link
Author

ghost commented Jul 15, 2016

Removing the -P option (by commenting lines 145-148 and 150 in Qsub.java) worked for me.

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

No branches or pull requests

1 participant