Warn about missing EFI partition

Bug #1591336 reported by Jason Hobbs
50
This bug affects 9 people
Affects Status Importance Assigned to Milestone
MAAS
Triaged
Medium
Unassigned

Bug Description

I have a few disks on my system, but I'm only setting up one filesystem - /dev/sda formatted as ext4 and set to be mounted at /.

This is with an EFI system and 2.0.0~beta6+bzr5073-0ubuntu1~xenial1.

This may not be a valid config - I think I need a /boot/efi partition too.

It would be nice if MAAS would tell me this isn't a valid config, since it tries to do that when I don't have a / at all.

You can see this does cause an issue with grub-install from the log here:
https://bugs.launchpad.net/maas/+bug/1590846/comments/5

Jun 10 19:12:37 litleo cloud-init[1365]: grub-install: error: failed to get canonical path of `/boot/efi'.
Jun 10 19:12:37 litleo cloud-init[1365]: failed to install grub!
Jun 10 19:12:37 litleo cloud-init[1365]: Unexpected error while running command.
Jun 10 19:12:37 litleo cloud-init[1365]: Command: ['install-grub', '--uefi', '/tmp/tmpnhzqkpwn/target', '/dev/nvme0n1']

description: updated
summary: - Installation fails when formatting /dev/sda as one big ext4 filesystem
+ MAAS allows formatting /dev/sda as one big ext4 filesystem, but that
+ doesn't work
tags: added: error-surface
Changed in maas:
status: New → Triaged
importance: Undecided → Medium
milestone: none → 2.1.0
Changed in maas:
milestone: 2.1.0 → 2.1.1
Changed in maas:
milestone: 2.1.1 → 2.1.2
Changed in maas:
milestone: 2.1.2 → 2.1.3
Changed in maas:
importance: Medium → Low
milestone: 2.1.3 → 2.4.x
summary: - MAAS allows formatting /dev/sda as one big ext4 filesystem, but that
- doesn't work
+ [UI, wishlist] Warn about missing EFI partition
Revision history for this message
Adam Collard (adam-collard) wrote : Re: [UI, wishlist] Warn about missing EFI partition

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Triaged → Invalid
Changed in maas:
status: Invalid → New
Alberto Donato (ack)
Changed in maas:
milestone: 2.4.x → none
status: New → Triaged
summary: - [UI, wishlist] Warn about missing EFI partition
+ Warn about missing EFI partition
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

MAAS could validate the partition configuration after user edits, as it could determine if the required partitions are defined. Even though this is not a bug, we are considering making a small improvement to the validation logic.

Changed in maas:
importance: Low → Medium
milestone: none → 3.4.0
Alberto Donato (ack)
Changed in maas:
milestone: 3.4.0 → 3.4.x
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.