canonical / juju-lint

Run checks against a juju model
GNU General Public License v3.0
0 stars 4 forks source link

nova ephemeral targets can not be /dev/sdX or /dev/vgX #264

Closed zxhdaze closed 6 months ago

zxhdaze commented 6 months ago

Due to the ordering dependency that Linux assigns to drives this is not a deterministic assignment we need to use explicit device mappings in MAAS.

We ran into this with a customer that had allocated RAID devices in different orders which assigned /dev/sda and /dev/sdb randomly. This resulted in an encrypted ephemeral space on the root drive and not the dedicated drive that was intended.

Perhaps the check would be "NOT regex /dev/sdX etc..."

Steven