Page MenuHomePhabricator

Feature request: sre.hardware.upgrade-firmware should allow option to defer NIC firmware installation to next reboot
Open, MediumPublic

Description

Per the IRC discussion, the sre.hardware.upgrade-firmware is a very much welcome addition and if you have ever tried to update the firmware manually, you will realize it's value! So thank you to everyone who worked on that.

Currently for a NIC firmware installation, the cookbook immediately reboots the host. It will be great to have a feature whereby we can defer the installation to the next reboot, similar to the web interface where it says "Install on reboot". The reason for doing this as an example is where we are trying to upgrade the cp hosts to bullseye. The d-i stalls if the NIC firmware is not updated so we have to update the firmware before proceeding with the reimage.

The workflow currently looks like:

  • depool host, update the firmware by running the cookbook, host reboots
  • run the reimaging cookbook, the host reboots again

Ideally what it can look like:

  • update the firmware by running the cookbook, installation is scheduled for next reboot
  • run the reimaging cookbook, which reboots, updates the firmware and then proceeds to the installation

This is not urgent but it will be good to have.

Thank you!

Event Timeline

ssingh renamed this task from Feature request: sre.hardware.upgrade-firmware should allow option to defer firmware installation to next reboot to Feature request: sre.hardware.upgrade-firmware should allow option to defer NIC firmware installation to next reboot.Wed, Nov 23, 4:08 PM
ssingh triaged this task as Medium priority.