Job has egroup == "-default-"

#1

I have a python script that every so often queries against all the jobs on the server using the PTL testlib Server() connection. Once in a while as it loops over the jobs from Server.status(JOB) it sees the egroup of a new job set to “-default-” whereas most of the time it gets set to a valid value based on the user’s unix group.

I have tried waiting a few seconds and looping over jobs again but egroup is still not set properly.

anyone know why a job would occasionally start out life right after a qsub with a bogus egroup?

thanks

s

#2

When the server can’t find the user in its password file, and flatuid is set to true, the server sets the egroup so that the MoM will use the login group.

Relevant places in the code:


#3

interesting, thanks.
now on to determining why the pwd entry for the user on the pbs server isnt seen occasionally.