In Day 89: A Dead Service and a Private Container That Serves, Nnamdi Felix Ibe follows two infrastructure exercises with surprising verification results. An Ansible package install leaves a systemd service inactive, and an Azure Storage deployment serves a web page even though an anonymous request to its blob URL returns 404. In each case, the result makes sense once the check is tied to the specific behavior the deployment is supposed to provide.
Check installation, scheduling and execution
Ibe's playbook installs logrotate on three hosts. The example status output shows a loaded, static service with logrotate.timer listed as a trigger. A scheduled job can spend most of its time inactive between invocations. Systemd timers activate their associated units when a timer elapses, subject to the unit configuration. systemd.timer manual
The play recap reports the package task's result. For a deployment that also promises scheduled rotation, inspect the timer using systemctl list-timers logrotate.timer and check the rotation rules for the logs the service actually owns. A timer listing can show the schedule. Evidence from a completed run answers whether rotation is succeeding under that policy. Ibe identifies the timer check as a follow-up to the exercise.
Probe the URL that readers use
The Azure exercise produced HTTP 200 at the website endpoint and HTTP 404 on an anonymous request for the same file at the blob endpoint. Azure serves files from the website container through a dedicated read-only website endpoint. Its anonymous read behavior is independent of the container's blob access level. Microsoft also documents that disabling anonymous blob access at the account level leaves static website access unaffected. Ibe's exercise observed the two endpoint responses with the account switch enabled. Azure Storage static website documentation
For a smoke test, take the website address from the storage account's endpoint metadata. Request the page there and inspect the response content type along with the status. An index document delivered as a generic binary file can produce a successful status while the browser offers a download. If blob access is also part of the deployment contract, check that endpoint independently.