The part to spend the interview on
A patch is a change, not an update command.
web01 is the canary. web02 is the peer. Both install from the same dated snapshot on mgmt01, not from the public CDN during a lab patch. The playbook will not touch the peer unless the canary has a receipt and still answers as itself.
Source: rolling-patch.yml and inventory.yml. Both load balancers are in that inventory. The live copy in the controller's home directory was not re-read.
What has to be true before a package moves
- The stage is canary or peer. Check mode is refused. A ticket must match LAB-….
- One NEVRA. One snapshot repo id. Every other repo is disabled for that transaction. Downgrade and erase are refused. GPG checking stays on. Weak dependencies are skipped.
- That host has patch_opt_in: true. It is false in the published inventory.
- Both HAProxy nodes drain that backend through the stats socket. The process is not reloaded to drain.
- Root has at least 1024 MiB free.
- If dnf needs-restarting -r exits 1, the playbook holds unless reboot was a separate approval.
- Direct /healthz must equal ok: plus that host's name before the backend is set ready.
- A canary writes a mode 0600 receipt. The peer stage requires that file, a second approval flag, and a fresh check that the canary still identifies itself. A wrong body stops the playbook before web02 is drained.
If the health check fails, the node stays drained. That is the success case for a bad patch. Putting it back because the playbook "should finish" would be the failure.
What is the same on both webs
The snapshot is /srv/repos/2026-12-04 on mgmt01: BaseOS and AppStream, reposync --newest-only --download-metadata. That pairing leaves older NEVRAs listed in repodata even though only the newest RPMs were downloaded. A query against the snapshot needs --latest-limit=1. Repo ids used by the guests are lab-baseos-2026-12-04 and lab-appstream-2026-12-04. gpgcheck=1.
Change record
| Field | Example |
|---|---|
| Ticket | LAB-001 |
| Approver | Named person, before patch_apply=true |
| NEVRA | nginx-1:1.20.1-32.el9_9.2.x86_64 or whatever the snapshot actually holds |
| Repo | lab-appstream-2026-12-04 |
| Canary | web01 drained, installed, /healthz returned ok:web01.lab.internal, receipt written |
| Hold test | Peer run with a wrong canary body must stop before web02 is drained |
| Peer | Separate approval. Same NEVRA. Same repo. Health must match web02. |
| Rollback | Leave the failed node drained. Reinstall the previous NEVRA from the same snapshot, or revert the guest snapshot, then set the backend ready only after health matches. |
That record is what JIRA, ServiceNow, or AssurX would have to be able to show. The tools are not installed here. The evidence shape is.