Two of the four adoptions from section 21.
A provisioned tenant arrived with Slurm, MUNGE, OpenHPC, NFS /home and
sshd - everything a scheduler needs and nothing a user sees. Open OnDemand
4.2 now ships in the template and is configured per tenant at first boot. It
wants exactly the machine we already have, since the head node is both the
Slurm controller and the /home server, and because the software is in the
template it costs a tenant nothing at provision time: a cold provision with
the portal measured 141s against 134s without it.
Reachability is deliberately unsolved. The portal binds to the management
address alone - verified listening on 10.0.0.62:443 and nothing else - so it
is on neither the tenant fabric, where compute nodes have no business
reaching it, nor the internet. Publishing it needs a reverse proxy in the
control plane or a per-tenant DNS and certificate scheme, and that is a
decision about attack surface rather than a missing line of config. TLS is
self-signed and still worth having: without it the basic-auth password
crosses the management network in clear. The password is generated per
tenant on the head and never enters the template, so two tenants cannot
share one.
The second adoption is smaller and overdue. The verify role checked that the
cluster looked right; it now checks that it works, by running a job as the
cluster user and asserting every node appears in the output. The distinction
is not academic - during this system's development sinfo reported nodes idle
on a cluster that could not have run anything, more than once. A node
reaches "idle" by registering with slurmctld, which it can do while its
image is broken in ways that only surface when work lands on it.
Three assumptions in the first draft were wrong, and each is now handled
explicitly rather than by luck. The ondemand package ships config/ondemand.d
but not config/clusters.d, whose absence reads as "destination directory
does not exist" and says nothing about clusters. mod_ssl's own ssl.conf
claims 443 on the wildcard address, so Apache bound that first and then
refused OnDemand's specific listener with "Address already in use"; its
LoadModule lives in conf.modules.d, so standing the vhost down leaves TLS
intact. And the portal root answers 302, not 401 - it redirects to the
dashboard, which is where auth is enforced - so the probe follows redirects
and insists on the 401, since accepting the 302 alone would pass against a
portal that served its dashboard to anyone.
One bug caught before it shipped: the portal took its server name from
ansible_host, which on the first-boot path is "localhost", so the
certificate and listen address would both have been wrong. Terraform now
passes the management address through cloud-init, and B30 writes the same
variable so a control-plane run agrees with a first-boot one.
Verified on a cold provision from an empty state: terraform 38s,
self-configuration 43s, nodes 60s, 141s total; both nodes idle and each ran
a job; the portal answers 401 behind its redirect.