Add ability to ignore disk for OS install

Today, in order for MAAS to not wipe a non-OS disk during OS install, you have to delete that disk from the Storage tab of the node. While this works, it has some downsides:

  • Inventory information is lost, it seems the machine has less disks than it actually does. This causes the user to document the actual disks somewhere else, such as in the notes.
  • If you ever wanted to get the disk back in the inventory, you have to re-commission the node and reset the entire storage layout.

It would be great if there was an option “Ignore for OS install” that you could enable on the disk in the Storage tab of the node. If the flag was enabled for the disk, that disk should not get wiped during the OS install process.

This feature should not affect the release process. If the user elects to wipe the disks during node release, it should still wipe all disks. This approach already works with manually deleted disks today and would stay the same.

1 Like

We have Ceph storage nodes with many data disks, this would be great!

So far I do OS major release upgrades via Diät-Upgrades, but we did consider doing those major upgrades via fresh installations.

If I could just re-collect my OSDs after an upgrade would be so much faster than a complete recovery.