Hello, We use QOS's to do billing restrictions. We would like to refund billing on a job and it seems there isn't a mechanism other than increasing the balance. We have an external accounting service that we can't add a supplement easily, but refunds are easy enough. I would like to make these deposits and balances align. I cannot change the raw usage as I can only set this number to 0. Do we have a way issue a refund to a QOS? [root@dt-login03 ~]# sacctmgr modify QOS where qos=bbka-delta-gpu set RawUsage=21834514744.146931 sacctmgr: error: Raw usage can only be set to 0 (zero) Thanks!
Hello David, Currently there is not a way to issue a refund to a QOS. However, I will look into adding that feature in 23.11. I will keep you updated on the development. Regards, --Megan
Hello David, QOS will now be able to be refunded in 23.11. For example, the following command will set qos bbka-delta-gpu’s RawUsage to 21834514744.146931. > sacctmgr modify QOS where qos=bbka-delta-gpu set RawUsage=21834514744.146931 commit 88df7aef1b04984cc29ef757a9f6dfa74fc89e8d Author: Megan Dahl <megan@schedmd.com> AuthorDate: Fri Oct 6 16:05:14 2023 -0600 Allow the RawUsage of QOS to be directly updated by sacctmgr Before "sacctmgr modify qos set rawusage" could only be used to reset the QOS usage. Now it can be used to set the raw usage to any arbitrary (positive) value. (Setting it to 0 it resets the entire qos usage like before.) Bug 17549 Regards --Megan