NordicHPC / NordicHPC/dusage

Using -p returns an error when run as root on Saga

Open
#24 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
2
Forks
3
PR merge metrics
No merged PRs in 30d

Description

Running dusage as root gives an error:

[root@login-2.saga ~]# dusage -p nn4605k
ERROR: Error: invalid range, must be in the form `<min>-<max>` or `<value>`

With some additional testing, dusage -p with a groupid gives an empty table with no error.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing dusage -p nn4605k as root on Saga and compare it with dusage -p using a group ID. Trace the -p argument handling and quota or group lookup; done means root usage no longer raises the invalid-range error and group-ID output is populated or the intended empty result is clearly handled.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.