juju storage should use UUIDs in fstab, and possibly set mount option "nofail"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
High
|
Ian Booth |
Bug Description
Hi,
Juju 2.6.10 (I think). It would appear that juju storage creates entries in fstab that 1. use device names (/dev/vdb1 for example) and 2. don't set the "nofail" mount option.
This means that if for whatever reason the device name changes (and it happens frequently in cloud environments), the machine will not find the device, and because the "nofail" mount option is not specified, it will actually not boot at all.
(nofail is defined at https:/
Please consider using device labels or UUIDs in fstab, and please consider setting the "nofail" option as well. I think operators will much prefer having a machine with a missing mount that they can SSH to, vs having a blocked boot.
Thanks !
Changed in juju: | |
milestone: | none → 2.8.1 |
Changed in juju: | |
milestone: | 2.8.1 → 2.8.2 |
Changed in juju: | |
assignee: | nobody → Ian Booth (wallyworld) |
status: | Triaged → In Progress |
Changed in juju: | |
status: | In Progress → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
I agree that uuids would be a better and safer way of mounting storage. Marking as triaged and assigning importance as "high".