feat(hardening): install_cpu_microcode on PVE and PBS, 0.19.0 (NetOrk/netork#2838) #81

Merged
christianmanivong merged 1 commits from feature/cpu-microcode into main 2026-11-28 23:52:16 +00:00
Owner

For NetOrk/netork#2838. Both drivers mix in napalm-device-types' CpuMicrocodeMixin (needs 4.53.0, NAPALM/napalm-device-types#141).

A Proxmox install enables no non-free-firmware, where intel-microcode/amd64-microcode live: the mixin adds it to Debian's own sources (never Proxmox's). _reload_package_index runs apt-get update over the exec path and waits for it: the API's apt/update only starts a task, which the install would race ("Unable to locate package"). Tests check the order: sources written, index loaded, package installed; and that a PBS running as a VM is refused.

CI goes green once device-types 4.53.0 is on PyPI.

For NetOrk/netork#2838. Both drivers mix in napalm-device-types' `CpuMicrocodeMixin` (needs 4.53.0, NAPALM/napalm-device-types#141). A Proxmox install enables no `non-free-firmware`, where `intel-microcode`/`amd64-microcode` live: the mixin adds it to Debian's own sources (never Proxmox's). `_reload_package_index` runs `apt-get update` over the exec path and waits for it: the API's `apt/update` only starts a task, which the install would race ("Unable to locate package"). Tests check the order: sources written, index loaded, package installed; and that a PBS running as a VM is refused. CI goes green once device-types 4.53.0 is on PyPI.
christianmanivong added 1 commit 2026-11-28 23:07:41 +00:00
feat(hardening): install_cpu_microcode on PVE and PBS, 0.19.0 (NetOrk/netork#2838)
driver / lint (pull_request) Successful in 14s
driver / standard (pull_request) Successful in 15s
driver / lowest (pull_request) Successful in 27s
driver / types (pull_request) Successful in 50s
driver / test (3.12) (pull_request) Successful in 1m10s
driver / test (3.13) (pull_request) Successful in 59s
driver / build (pull_request) Successful in 24s
driver / security (pull_request) Successful in 51s
CI / driver (pull_request) Successful in 1m33s
driver / publish (pull_request) Skipped
7e300c740e
Both drivers mix in napalm-device-types' CpuMicrocodeMixin (4.53.0). A Proxmox
install enables no non-free-firmware, where intel-microcode and
amd64-microcode live: it is added to Debian's own sources, never Proxmox's.
_reload_package_index runs apt-get update over the exec path and waits for
it, as the API's apt/update only starts a task the install would race.
christianmanivong merged commit 7e22142359 into main 2026-11-28 23:52:16 +00:00
christianmanivong deleted branch feature/cpu-microcode 2026-11-28 23:52:16 +00:00
Sign in to join this conversation.