gates / gates (push) Successful in 3m34s
- Golden 0.352.0: bake, publish, one fresh install, the operator's vouch (R-468). - No clone holds a login in its address; the credential helper script is in the repository (R-925, R-1390). - N100 clock: a stale cached AppArmor profile stops chrony (R-1301, new R-1388). Read only. - Certificate pin spike on demo-hp (R-1380): the break, the proven hand repair (runbook), the CA-file test, 03-host-agent.md 12a, decision D80. - Rulings of 13:17 written down (09 decisions 297-302). Register 245 -> 248 (R-1388, R-1389, R-1390). - Docs, evidence and one helper script. No release, no floor change, no hub deploy. Claude-Session: https://claude.ai/code/session_0159rPz1ZhFKsS53msqPYxtS
16 lines
1.2 KiB
Bash
16 lines
1.2 KiB
Bash
# read-only state: served cert, agent pin, agent calls in the access log, agent log lines
|
|
main() {
|
|
echo "== state $(date -u +%FT%TZ)"
|
|
echo | openssl s_client -connect 127.0.0.1:8006 2>/dev/null | openssl x509 -noout -subject -issuer -dates -fingerprint -sha256 2>/dev/null
|
|
python3 -c "
|
|
import json;c=json.load(open('/etc/felhom-agent/agent.json'));print('agent tls config:',c['proxmox']['tls'])"
|
|
echo "agent: $(systemctl is-active felhom-agent) since $(systemctl show felhom-agent -p ActiveEnterTimestamp --value) restarts=$(systemctl show felhom-agent -p NRestarts --value)"
|
|
echo "-- agent calls in pveproxy's access log, last 4 (time, call, answer code)"
|
|
grep 'felhom-agent@pve' /var/log/pveproxy/access.log | tail -4 | awk '{print $4,$5,$6,$7,$9}'
|
|
echo "-- agent log, last 3 min: lines with tls/x509/pin/proxmox error (count, then the last 6)"
|
|
journalctl -u felhom-agent --since '-3 min' --no-pager -o cat | grep -v 'pam_unix\|COMMAND=' | grep -i -c 'pin mismatch\|x509\|tls'
|
|
journalctl -u felhom-agent --since '-3 min' --no-pager -o cat | grep -v 'pam_unix\|COMMAND=' | grep -i 'pin mismatch\|x509\|tls' | cut -c1-330 | tail -6
|
|
echo "-- guests"
|
|
pct list | awk 'NR>1{print $1,$2,$NF}'; qm list | awk 'NR>1{print $1,$2,$3}'
|
|
}; main </dev/null
|