[slurm-users] PrivateData does not filter the billing info "scontrol show assoc_mgr flags=qos"
Hemanta Sahu
hemantaku.sahu at gmail.com
Wed Aug 18 09:34:16 UTC 2021
I am still searching for a solution for this .
On Fri, Aug 7, 2020 at 1:15 PM Hemanta Sahu <hemantaku.sahu at gmail.com>
wrote:
> Hi All,
>
> I have configured in our test cluster "PrivateData" parameter in
> "slurm.conf" as below.
>
> >>
> [testuser1 at centos7vm01 ~]$ cat /etc/slurm/clurm.conf|less
>
> PrivateData=accounts,jobs,reservations,usage,users,events,partitions,nodes
> MCSPlugin=mcs/user
> MCSParameters=enforced,select,privatedata
> >>
>
> The command "scontrol show assoc_mgr flags=Association" filetrs the
> relvant information for the user.
> But "scontrol show assoc_mgr flags=qos" did not filter anything rather it
> show the information about all QOS
> to the normal users who even don't have privilege of Slurm Operator/slurm
> Administaror.Basically I want to Hide the billing details to users who are
> not co-ordinator for a particular account
>
> Appreciate any help or guidance.
>
> >>
> [testuser1 at centos7vm01 ~]$ scontrol show assoc_mgr flags=qos|egrep
> "QOS|GrpTRESMins"
> QOS Records
> QOS=normal(1)
>
> GrpTRESMins=cpu=N(0),mem=N(78),energy=N(0),node=N(0),billing=N(0),fs/disk=N(0),vmem=N(0),pages=N(0),gres/gpu=N(0)
> QOS=testfac1(7)
>
> GrpTRESMins=cpu=N(0),mem=N(143),energy=N(0),node=N(0),billing=6000000(0),fs/disk=N(0),vmem=N(0),pages=N(0),gres/gpu=N(0)
> QOS=cdac_fac1(10)
>
> GrpTRESMins=cpu=N(10),mem=N(163830),energy=N(0),node=N(4),billing=10000000(11),fs/disk=N(0),vmem=N(0),pages=N(0),gres/gpu=N(0)
> QOS=iitkgp_fac1(11)
>
> GrpTRESMins=cpu=N(0),mem=N(20899),energy=N(0),node=N(0),billing=10000000(0),fs/disk=N(0),vmem=N(0),pages=N(0),gres/gpu=N(0)
> QOS=iitkgp_faculty(13)
>
> GrpTRESMins=cpu=N(92),mem=N(379873),energy=N(0),node=N(35),billing=N(175),fs/disk=N(0),vmem=N(0),pages=N(0),gres/gpu=N(0)
>
>
> [testuser1 at centos7vm01 ~]$ scontrol show assoc_mgr flags=Association|grep
> GrpTRESMins
>
> GrpTRESMins=cpu=N(0),mem=N(0),energy=N(0),node=N(0),billing=N(0),fs/disk=N(0),vmem=N(0),pages=N(0),gres/gpu=N(0)
> [testuser1 at centos7vm01 ~]$
> >>
>
> Regards,
> Hemanta
>
> Hemanta Kumar Sahu
> Senior System Engineer
> CCDS,JC Bose Annexe
> Phone:03222-304604/Ext:84604
> I I T Kharagpur-721302
> E-Mail: hksahu at iitkgp.ac.in
> hemantaku.sahu at gmail.com
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schedmd.com/pipermail/slurm-users/attachments/20210818/d2a0a8e3/attachment.htm>
More information about the slurm-users
mailing list