IUSCA / bioloop

Scientific data management portal and pipeline application template
Other
5 stars 2 forks source link

Show a warning whenever a operator / admin logs in to the portal #260

Open deepakduggirala opened 3 months ago

deepakduggirala commented 3 months ago

When the SDA / other disk utilization is nearing its quota, show a closable alert when a user with operator or admin role logs in. The warning should be shown regardless of the page when logged in.

For SDA, the real quota cannot be inferred from the "quota" command as it always shows 50 TB. Store the quota in database and design an interface to update it. In the same interface, the usage threshold (expressed as a percentage) should also be configurable.

Show possible next steps to take to address the current issue.

Handle the case of multiple alerts

example:

image

Nice to have: send emails to operators and admins when any metric crosses the set threshold. Design decisions:

charlesbrandt commented 2 months ago

Newer versions of the quota tool appear to show the total quota available for the SDA (>50T). It looks like the newer version of the tool is only available on newer RHEL 8 machines (e.g. mmge nodes).