Webmin on data appliances: primary only through the VIP, replica with a warning #57
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Keel-Linux/tracker#57
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Maintainer decisions of 2026-10-03 on Webmin for the data appliances (MariaDB, PostgreSQL), to implement and to record in a decision note.
Decided
Standalone (one machine, no mesh): Webmin stays as today, public, with the full database module (the phpMyAdmin-like experience TurnKey users rely on). confconsole gets an option to restrict it.
Cloud modes, primary: Webmin is reachable only through the database VIP inside the WireGuard mesh, never on the public address. The VIP always points at the primary, so an operator who opens
https://<vip>:12321lands on the primary and cannot change the replica by mistake. Before etcd exists the VIP moves on a manual promote; with etcd it moves on failover (decisions 0020, 0025). It is a routed address moved by keel, not VRRP, since WireGuard carries no multicast or ARP.Cloud modes, replica: Webmin stays reachable for system work (logs, files, services) on the replica's own mesh address and on a private LAN address, but every page shows a clear warning, and the first visit in a session must be acknowledged:
The database module on the replica is read-only, or disabled with a link to the primary. On promotion it comes back and the warning goes away, driven by keel's role, not by hand. On demotion the reverse.
Webmin is never exposed publicly in cloud modes.
Why (MariaDB detail)
read_onlydoes not stop root (Webmin connects as root): a write on a MariaDB replica is accepted, the replica diverges, replication breaks silently, and a failover can lose data. PostgreSQL refuses writes on a standby, but the warning still applies to files and services.Pieces, probably across repos
bind/allow), applied bykeel spec applyand switched on promote/demote.Done when: a two-node test (primary and replica over WireGuard) shows Webmin on the VIP reaching the primary, the replica's Webmin showing the warning and a read-only database module, the public address refusing Webmin in cloud modes, and promote/demote switching all of it.