Account requests¶
A lab's PI asks Research Computing for accounts for their students on My lab in the Console, and the request is kept: who asked, for whom, on which clusters, and what became of each account, with who closed it and when. It is the record a team with no ticket system doesn't otherwise have: each request has a number, as a ticket would (REQ-0012). nomad never makes an account itself: Research Computing makes them as it does now, and closes each one here.
What a PI does¶
Only a lab's PI asks, and sees the lab's requests (Research Computing sees every lab's). Not a research assistant, not an administrator for someone else's lab, and not in View as: what a lab asks for is its PI's to ask. A staff member who leads a lab asks for it like any PI. The card is on the lab's card on My lab, so a PI whose lab group doesn't exist yet asks Research Computing as before. On My lab, under Request accounts, the PI:
- picks the clusters, one or several;
- types or pastes the people, one per line: NetIDs (
jdoe), addresses (jdoe@example.edu), or names (Jane Doe,Doe, Jane); or gives a table: CSV, tab-separated or Excel (.xlsx), with a header row naming its columns (NetID, Email, First name, Last name, or Name); a row pasted from a spreadsheet is read by its NetID, else its name; - checks them. nomad says who each one is, from the campus directory:
| Shown | What it means |
|---|---|
| the person's name and NetID | found |
| several people | that name is several people: the PI picks the one they mean |
| too many of that name | give the NetID |
| not found | no one in the directory by that NetID or name |
| a surname alone | add the first name (a surname alone is hundreds of people) |
| has an account on hpc1 | nomad has their jobs, logins or groups there already |
| already asked for on hpc1 | an earlier request for them is still open |
- sends the ones they mean, with a note if they like.
Research Computing is emailed (notify), with the PI's address to reply to,
and the PI sees the request's number on the card.
Someone who never logged in nor ran a job isn't seen by nomad, so "has an
account" is a hint, not a promise either way.
What Research Computing does¶
Under Admin, Labs, Account requests, each request lists its people and clusters. When an account is made, mark it made; when it won't be, not made, with why (needed). The PI is emailed either way, several accounts closed at once in one email. When nomad already sees an account that is still open (its groups reading, a login or a job), the list says so.
From the hub's shell, as the account the Console runs as:
sudo -u nomad nomad lab accounts list --open
sudo -u nomad nomad lab accounts list --find jdoe
sudo -u nomad nomad lab accounts show REQ-0012
sudo -u nomad nomad lab accounts close REQ-0012 jdoe hpc1 made
sudo -u nomad nomad lab accounts close REQ-0012 asmith hpc1 not_made --note "not enrolled this term"
sudo -u nomad nomad lab accounts lookup "Jane Doe" jdoe --file students.csv
sudo -u nomad nomad lab accounts check
Request numbers¶
Each request has a number, shown as REQ-0012: on the PI's card, first in
the subject of both emails ([REQ-0012] Account request: doelab, 3 people on
hpc1, [REQ-0012] The account for jdoe on hpc1 is ready), on the Admin
page and in the log. A reply keeps the subject, so the number comes back
with it. Requests made before nomad 1.44.0 keep their number: #12 is
REQ-0012.
The numbers are one sequence, kept in lab_check.db, that other kinds of request will share: a number is never given twice, whatever it numbers.
[console.tickets]
prefix = "REQ" # letters and digits, at most 10 (the default; before 1.66.0 "ARC")
digits = 4 # the width, with leading zeros (3 to 8); a larger number just grows
Before 1.66.0 the default prefix was ARC. A site whose numbers read
ARC-0012 keeps them by setting prefix = "ARC": the numbers themselves
never change, only how they are shown, and a reply to an older email is
still found by its number.
To find a request, give its number (REQ-0012, #12 or 12), or a NetID,
a name, a lab or the PI who asked (any part of one): nomad lab accounts
list --find TEXT, or the search box on the Admin page.
The report¶
sudo -u nomad nomad lab accounts report # the last year
sudo -u nomad nomad lab accounts report --since 2026-07-01 --until 2027-06-30
sudo -u nomad nomad lab accounts report --cluster hpc1 --json
sudo -u nomad nomad lab accounts report --since 2026-07-01 --csv > account-requests.csv
The requests asked in the period (--until is included), and what became
of each account as of now: in all, by cluster, by lab (with its PIs) and by
month; how long making them took, from the PI's request to the account
marked made (the median, 9 in 10 within, the longest and which request);
and what is still to make now, whenever asked, with the oldest. --csv is
the same period as one row per account (number, lab, who asked and when,
NetID, name, cluster, what became of it, who closed it and when, days, the
notes), for a spreadsheet; it names people, so it is Research Computing's
own. The Admin page downloads the same file.
The usage report counts the same requests in its section 15, for its cluster and period: labs, PIs and people counted, never named.
The directory¶
nomad looks people up with ldapsearch (openldap-clients), as a service
account. A campus directory usually answers nothing to an anonymous search,
and a name can only be looked up as an account that may read people's
entries. The password is kept in a file only the nomad account can read; it
goes to ldapsearch in a file of its own (-y) that is deleted after, never
on a command line, and only over ldaps://. nomad reads a person's NetID
(uid) and name (displayName, else cn, else given name and surname),
nothing else, and only of the NetIDs and names a PI typed.
[directory]
uri = "ldaps://ldap.example.edu"
base = "ou=people,dc=example,dc=edu"
bind_dn = "uid=svc-nomad,ou=special,dc=example,dc=edu"
password_file = "/home/nomad/.config/nomad/directory_password" # the nomad account's, 600
timeout = 15
A host that already reads the directory through sssd with a service account
has what nomad needs in sssd.conf (ldap_default_bind_dn,
ldap_default_authtok): the hub's install kit can copy them into the two
places above, printing nothing of the password.
Settings¶
[console.labs.accounts]
enabled = true # default: true once [directory] is set
sites = ["hpc1", "hpc2"] # where a PI may ask (default: each site with Slurm nodes read this week)
notify = ["hpc@example.edu"] # new requests are emailed here
most = 100 # people in one request
link = "https://nomad.example.edu/diagnostics?tab=labs" # the Admin page, in the email to ARC
The PIs' emails go as the lab membership check's do: from
send_from, to NETID@mail_domain, greeting the PI by salutation and
signed with signature. While review_to is set in [console.labs.check],
they go there instead, saying whom each was for. The emails to notify are
Research Computing's own and always go there.
The requests are kept in lab_check.db, beside combined.db (the nomad account's, readable by it alone), with every request and every close in its log.