Skip to content

Day 2

Flash firmware

Bring the BMC firmware, or the system firmware (BIOS, NIC, RAID), of a group of machines to one version.

  • The firmware image is in your OCI registry, pinned by digest.
  • If the registry uses an internal CA, the manager has it (--registry-ca).
  • The endpoints are Verified. The operator writes nothing to a machine that it did not verify.
  • A person can approve one operation for each machine.
BMC firmware System firmware
Field spec.manager spec.system[]
Action FlashFirmware StageFirmware, then a drained reset
Running node Does not stop Drained and rebooted, as for BIOS
Condition on the Host FirmwareConverged SystemFirmwareConverged
Operation name ends in -firmware-<hash> -sysfw-<hash>
  1. Write a FirmwareProfile.

    apiVersion: metal.platform-kit.org/v1alpha1
    kind: FirmwareProfile
    metadata:
    name: x12-bmc
    spec:
    match:
    matchLabels:
    metal.platform-kit.org/model: X12DPi-N6
    manager:
    version: "01.07.09"
    image: registry.example.org/firmware/x12-bmc@sha256:<digest>
  2. Apply it.

    Terminal window
    kubectl apply -f firmware.yaml
  3. Show the proposals.

    Terminal window
    pk-metal status
  4. Approve each proposal.

    Terminal window
    pk-metal approve pk-metal/simhw2288v5000398-sysfw-1f2e3d4c
  • The Host shows FirmwareConverged=True or SystemFirmwareConverged=True.
  • kubectl describe managementendpoint <name> shows the new version.
Reason Fix
NoUpdateTransport The BMC has no supported push method. Flash it by hand.
NoMatchingComponent component matches no entry of the firmware inventory. Correct the expression.
ConvergenceFailed The flash reported success but the version did not change. See Operation failed.
ProfileConflict Two profiles on one layer disagree.