Why does Moab append a qos from the IDCFG and not overwrite it?


Issue:

When using an identity manager Moab appends the QOS after removing and old QOS and adding a new QOS. In other words it appends instead of replacing the old qlist.  Moab requires a restart to take the change. This defeates the dynamic nature of the identity manager. 

Symptom: 
[root@support-mpi etc]# mcredctl -d user:jbooth
 
 
user:jbooth successfully purged
please restart for changes to take effect
 
[root@support-mpi etc]# mdiag -u jbooth
evaluating user information
Name                      Priority        Flags         QDef      QOSList*        PartitionList Target  Limits
 
jbooth                           0            -            -  test3,test4                     -   0.00       -
  GDEF=jbooth
  ADEF=root  ALIST=root,condo,community
  Message:  profiling enabled (49 of 50 samples/00:30:00 interval)
 
 
 
 
===============With just user:jbooth qdef=test1 then changed to test2================
Every 2.0s: mdiag -u jbooth                                                                                                                                                                Fri Aug  7 04:06:51 2015
 
evaluating user information
Name                      Priority        Flags         QDef   QOSList*        PartitionList Target  Limits
 
jbooth                           0            -        test1        test1                     -   0.00       -
  GDEF=jbooth
  ADEF=lc  ALIST=lc
  Message:  profiling enabled (49 of 50 samples/00:30:00 interval)
 
 
very 2.0s: mdiag -u jbooth                                                                                                                                                                Fri Aug  7 04:08:57 2015
 
evaluating user information
Name                      Priority        Flags         QDef   QOSList*        PartitionList Target  Limits
 
jbooth                           0            -        test2  test1,test2                     -   0.00       -
  GDEF=jbooth
  ADEF=lc  ALIST=lc
  Message:  profiling enabled (49 of 50 samples/00:30:00 interval)
 

 
 
============Repeat with XML qdef=test3 then changed it to test4==========
 
FSTREE[tree] '<fstree>
<tnode name="root" type="acct" share="1">
    <tnode name="condo" type="acct" share="1">
        <tnode name="jbooth" type="user" qdef="test4" share="1"></tnode>
    </tnode>
    <tnode name="community" type="acct" share="1">
        <tnode name="jbooth" type="user" share="1"></tnode>
    </tnode>
</tnode>
</fstree>'
============Repeat with XML qdef=test3 then changed it to test4==========
 

Moab appended instead of replacing the credential.
 
Every 2.0s: mdiag -u jbooth                                                                                                                                                                Fri Aug  7 04:10:46 2015
 
evaluating user information
Name                      Priority        Flags         QDef   QOSList*        PartitionList Target  Limits
 
jbooth                           0            -            -        test3                     -   0.00       -
  GDEF=jbooth
  ADEF=root  ALIST=root,condo,community
  Message:  profiling enabled (49 of 50 samples/00:30:00 interval)
 
 
 
Every 2.0s: mdiag -u jbooth                                                                                                                                                                Fri Aug  7 04:12:34 2015
 
evaluating user information
Name                      Priority        Flags         QDef   QOSList*        PartitionList Target  Limits
 
jbooth                           0            -            -  test3,test4                     -   0.00       -
  GDEF=jbooth
  ADEF=root  ALIST=root,condo,community
  Message:  profiling enabled (49 of 50 samples/00:30:00 interval)

 

Solution:

 

Moab is looking for the QLIST and QDEF in this instance. Starting with "qdef=a qlist=a" and then changing to "qdef=b qlist=b". Here is an example use with the QDEF and QLIST set.

user:jbooth QDEF=test2 QLIST=test2

Tags: fairshare tree, idcfg, identity manager, tree
Last update:
2015-08-10 16:34
Author:
Jason Booth
Revision:
1.0
Average rating:0 (0 Votes)

You cannot comment on this entry

Chuck Norris has counted to infinity. Twice.

Records in this category

Tags