1. 07 Apr, 2011 12 commits
  2. 06 Apr, 2011 6 commits
  3. 05 Apr, 2011 10 commits
  4. 04 Apr, 2011 8 commits
  5. 03 Apr, 2011 4 commits
    • Moe Jette's avatar
      8d7290f7
    • Moe Jette's avatar
    • Moe Jette's avatar
      version 1 of srun wrapper for aprun, still needs support added for many · 4bc12c62
      Moe Jette authored
      options and not really tested, but this is a good start
      4bc12c62
    • Moe Jette's avatar
      slurmctld: ignore secondary group members that have no valid login · 2f03a66f
      Moe Jette authored
      This avoids a warning message which is repeated on each reconfiguration of slurm
      and which is due to a dangling group configuration in LDAP entries.
      
      The error occurs when traversing the secondary group members of a given group
      name, when trying to add these to a configured group. If these secondary group
      members have no valid login (e.g. disabled via LDAP configuration), the error
      is repeated on each reconfigure of slurm.
      
      The error is harmless: since the users have no valid login, they can not log into
      the system anyway. I have raised the issue described below with our LDAP admin,
      there was no reply (likely since not important enough).
      
      Since slurm is not a tool to debug the work of system administrators, and since
      the secondary group members can not log in anyway, this patch replaces the error
      message with a comment; it leaves untouched the positive case of found secondary
      group members that have successfully been added to a configured group due to 
      having a valid passwd/LDAP login entry.
      
      Here is the case which gets repeated on our system, showing that each error message
      corresponds to a 'no such user' error when trying to look up the user id:
      
      -----------------------------------------------------------------------------------------------
      [2011-03-29T08:19:35] error: Could not find user baradmin in configured group csstaff
      [2011-03-29T08:19:35] error: Could not find user mvalle in configured group csstaff
      [2011-03-29T08:19:35] error: Could not find user puradm in configured group csstaff
      [2011-03-29T08:19:35] error: Could not find user ggobbi in configured group csappli
      [2011-03-29T08:19:35] error: Could not find user mvalle in configured group csappli
      -----------------------------------------------------------------------------------------------
      
      palu2:0 ~>getent group csstaff
      csstaff:*:1000:baradmin,biddisco,jfavre,mvalle,puradm
      palu2:0 ~>id baradmin
      id: baradmin: No such user
      palu2:1 ~>id mvalle
      id: mvalle: No such user
      palu2:1 ~>id puradm
      id: puradm: No such user
      
      ==> The secondary group members 'biddisco' and 'jfavre' are ok, no warnings.  
      -----------------------------------------------------------------------------------------------
      palu2:1 ~>getent group csappli
      csappli:*:1010:ajocksch,alam,amangili,annaloro,biddisco,cordery,cponti,fgilles,ggobbi,grenker,jfavre,mgg,mvalle,nstring,piccinal,robinson,soumagne,tack,tadrian,uvaretto,wsawyer
      palu2:0 ~>id ggobbi
      id: ggobbi: No such user
      2f03a66f