Quota message section "xxx GB are yours" misleading

In our quota file we have the following lines (abridged):
{ “type”: “fileset”, “user”: “ric”, “path”: “/groups/somegroup/”, “total_block_usage”: 446608520, “block_limit”: 524288000, “total_file_usage”: 0, “file_limit”: 0 },
{ “type”: “fileset”, “user”: “ric”, “path”: “/home/ric/”, “total_block_usage”: 43158168, “block_limit”: 52428800, “total_file_usage”: 0, “file_limit”: 0 },
{ “type”: “fileset”, “user”: “ric”, “path”: “/groups/ric/”, “total_block_usage”: 40203968, “block_limit”: 524288000, “total_file_usage”: 0, “file_limit”: 0 },
{ “type”: “fileset”, “user”: “ric”, “path”: “/xdisk/ric/”, “total_block_usage”: 5021829308, “block_limit”: 20971520000, “total_file_usage”: 0, “file_limit”: 0 }

Because /groups/somegroup is above OOD_QUOTA_THRESHOLD=“0.80”, the quota alert appears as expected, but with a confusing to some users appendage “(xxx GB are yours)” in the message, e.g.
Quota limit warning for /groups/somegroup Reload page to see updated quota information. Quota information is updated every few minutes.
Using 417 GB of quota 500 GB (417 GB are yours). Consider deleting or archiving files to free up disk space.
Looking at /var/www/ood/apps/sys/dashboard/app/models/quota.rb it seems like, for type “fileset”, that “xxx GB are yours” should not appear. Can that phrase be suppressed?

Thanks,
Ric

Yes, it’s internationaliable - meaning configurable.

https://osc.github.io/ood-documentation/latest/customization.html?highlight=quota#customize-text-in-ondemand

Here are all the defaults (search for quota on this page and you’ll find what you’re looking for). Seems like you just want to set some of those to an empty string.

Hi @jeff.ohrstrom
Adding
quota_block_shared: “”
to /etc/ood/config/locales/en.yml made the message go away. I’m still not clear why the message appeared, as I think /var/www/ood/apps/sys/dashboard/app/models/quota.rb has conditional code that should deal with that, but “it’s fixed” so WIN! :slight_smile:

Thanks Much,
Ric

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.