CA (llmgw-style) - region creates its CA (ECDSA P-256) and serves API/UI/images over HTTPS on tls_listen with a certificate for every name/address it has (reissued on change or a month before expiry); admin_http policy (allow|loopback|deny) for the admin API over plain HTTP; /ca.pem - rack controllers enroll with one-time join codes (CA fingerprint + secret + expiry + address): rollcall controller join-code, rollcall rack join; mutual TLS from then on, identity from the certificate (CN rack:NAME, serial on record), removal revokes, renewal a month before expiry; the shared rack_secret stays as a legacy fallback - clients: CA from the server config, ROLLCALL_CA, or trusted on first connect in the console after showing the fingerprint (kept in client.json); deployed machines trust it via cloud-init ca_certs (allowed on RHEL-family images), overlays get .CA; rollcall ca show|issue Power drivers - ipmi (cipher/privilege/interface), redfish (system discovery, ResetType from AllowableValues or ActionInfo, boot override with If-Match), idrac, ilo, supermicro, xcc, openbmc, proxmox (API token), manual; executed on the rack controller; Redfish auto-detection after commissioning; operator settings survive recommissioning; rollcall bmc, BMC editing in web UI and console - lab: pve_redfish.py Redfish emulator per Proxmox VM (iDRAC, iLO, generic profiles) IPv6 - IPv6 subnets and IPAM (netip), dual-stack default layout (all subnets of the boot VLAN), per-family default routes, accept-ra off where addresses are planned, dnsmasq RA/DHCPv6 with router lifetime 0 unless the rack is the gateway, AAAA host records from IPAM, IPv6 listen addresses and URLs, rack interfaces and region certificate with IPv6, agent reports IPv6 Tests for CA/join/pinning/CSR signing, Redfish (iDRAC, iLO fallbacks, probe), Proxmox, manual, IPv6 candidates, dual-stack plans and dnsmasq IPv6. Verified in the lab: rack2 enrolled and running on mutual TLS only, revocation and single-use codes; iLO auto-detected through rack2, iDRAC and Proxmox drivers, wrong password not saved; Debian 13 (bond+VLAN), Rocky 9 and AlmaLinux 9 dual-stack with Redfish-driven deployments; CA trusted on Debian and AlmaLinux; admin CLI over HTTPS on IPv4 and IPv6. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
54 lines
2.2 KiB
HTML
54 lines
2.2 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>Rollcall</title>
|
|
<link rel="stylesheet" href="style.css">
|
|
</head>
|
|
<body>
|
|
<div class="shell">
|
|
<nav class="side">
|
|
<div class="brand">Rollcall<span class="muted">bare-metal fleet</span></div>
|
|
<a href="#/overview" data-nav="overview">Overview</a>
|
|
<a href="#/machines" data-nav="machines">Machines <span class="count" id="n-machines"></span></a>
|
|
<a href="#/racks" data-nav="racks">Racks <span class="count" id="n-racks"></span></a>
|
|
<a href="#/network" data-nav="network">Network <span class="count" id="n-net"></span></a>
|
|
<a href="#/jobs" data-nav="jobs">Jobs <span class="count" id="n-jobs"></span></a>
|
|
<a href="#/tags" data-nav="tags">Tags</a>
|
|
<a href="#/profiles" data-nav="profiles">Profiles</a>
|
|
<a href="#/images" data-nav="images">OS images</a>
|
|
<div class="side-foot">
|
|
<span id="status" class="muted"></span>
|
|
<button id="logout" class="btn ghost" title="forget the admin token">Token</button>
|
|
</div>
|
|
</nav>
|
|
|
|
<main id="main"></main>
|
|
</div>
|
|
|
|
<dialog id="login">
|
|
<form method="dialog">
|
|
<h2>Admin token</h2>
|
|
<p class="muted">The <code>admin_token</code> from the server's <code>config.json</code>. Stored only in this browser.</p>
|
|
<p id="http-warn" class="warn" hidden>This page came over plain HTTP: the token crosses the network unencrypted. Use <a id="https-link" href="#">HTTPS</a> after trusting the installation's <a href="/ca.pem">CA certificate</a> <span id="ca-fp" class="mono muted"></span>.</p>
|
|
<input id="token" type="password" autocomplete="off" placeholder="token" required>
|
|
<menu><button class="btn primary" value="ok">Sign in</button></menu>
|
|
</form>
|
|
</dialog>
|
|
|
|
<!-- generic action dialog: filled by JS -->
|
|
<dialog id="dlg">
|
|
<form method="dialog" id="dlg-form">
|
|
<h2 id="dlg-title"></h2>
|
|
<div id="dlg-body" class="kv form"></div>
|
|
<p id="dlg-note" class="muted"></p>
|
|
<menu><button class="btn ghost" value="cancel" type="button" id="dlg-cancel">Cancel</button><button class="btn primary" value="ok" id="dlg-ok">OK</button></menu>
|
|
</form>
|
|
</dialog>
|
|
|
|
<div id="toast" hidden></div>
|
|
<script src="app.js"></script>
|
|
</body>
|
|
</html>
|