For some reason it seems that DefaultQOS does not get set on the cluster level 
when loading from file? Any ideas on why or if I have something wrong? I've 
removed some output below for simplicity. As you can see below it is added when 
doing sacctmgr modify cluster cluster set DefaultQOS='general' so it seems like 
it should be added when loading from file maybe this is a bug?

# sacctmgr list cluster
   Cluster     ControlHost  ControlPort   RPC     Share GrpJobs       GrpTRES 
GrpSubmit MaxJobs       MaxTRES MaxSubmit     MaxWall                  QOS   
Def QOS 
---------- --------------- ------------ ----- --------- ------- ------------- 
--------- ------- ------------- --------- ----------- -------------------- 
--------- 
        cluster    10.10.1.1         6817  9216         1                       
                                                                                
                       cancel,debug,genera+           

# cat ~/cluster.cfg
Cluster - 'cluster':DefaultQOS='general'

# sacctmgr load file=~/cluster.cfg
For cluster cluster
 Nothing new added.

# sacctmgr list cluster
   Cluster     ControlHost  ControlPort   RPC     Share GrpJobs       GrpTRES 
GrpSubmit MaxJobs       MaxTRES MaxSubmit     MaxWall                  QOS   
Def QOS 
---------- --------------- ------------ ----- --------- ------- ------------- 
--------- ------- ------------- --------- ----------- -------------------- 
--------- 
        cluster    10.10.1.1         6817  9216         1                       
                                                                                
                        cancel,debug,genera+           

# sacctmgr modify cluster cluster set DefaultQOS='general'
 Setting
  Default Limits:
  DefQOS        = general
 Modified cluster defaults for associations...
  C = cluster         A = root
  C = cluster         A = root                 U = root     
Would you like to commit changes? (You have 30 seconds to decide)
(N/y): y

# sacctmgr list cluster
   Cluster     ControlHost  ControlPort   RPC     Share GrpJobs       GrpTRES 
GrpSubmit MaxJobs       MaxTRES MaxSubmit     MaxWall                  QOS   
Def QOS 
---------- --------------- ------------ ----- --------- ------- ------------- 
--------- ------- ------------- --------- ----------- -------------------- 
--------- 
        cluster    10.10.1.1         6817  9216         1                       
                                                                                
                       cancel,debug,genera+   general


Reply via email to