Open ghost opened 8 years ago
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.
Removing the -P option (by commenting lines 145-148 and 150 in Qsub.java) worked for me.
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.