[UI] Cannot add a logical volume on top of partition if the disk has been previously partitioned

Bug #1788530 reported by Lee Trager
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Critical
Lee Trager

Bug Description

On a UEFI machine the first partition must be reserved for the UEFI partition. If I use the remaining space of the disk for RAID and put LVM on top of it I cannot create /. I can do the same configuration using a BIOS machine.

Refreshing the page allows me to add logical volumes.

Tags: ui

Related branches

Revision history for this message
Lee Trager (ltrager) wrote :
Lee Trager (ltrager)
description: updated
Revision history for this message
Andres Rodriguez (andreserl) wrote : Re: [Bug 1788530] [NEW] Cannot create / on LVM ontop of RAID when using UEFI

I don’t think this is the issue. Try reducing the size of / to a smaller
size and see what happens. I think this would be a already reported issue
where the size of / is larger than what it’s actually available.

On Wed, Aug 22, 2018 at 10:15 PM Lee Trager <email address hidden>
wrote:

> Public bug reported:
>
> On a UEFI machine the first partition must be reserved for the UEFI
> partition. If I use the remaining space of the disk for RAID and put LVM
> on top of it I cannot create /. I can do the same configuration using a
> BIOS machine.
>
> ** Affects: maas
> Importance: High
> Status: Triaged
>
> ** Attachment added: "Screenshot_2018-08-22 happy-chow maas autopkgtest
> MAAS.png"
>
> https://bugs.launchpad.net/bugs/1788530/+attachment/5179463/+files/Screenshot_2018-08-22%20happy-chow%20maas%20autopkgtest%20MAAS.png
>
> --
> You received this bug notification because you are subscribed to MAAS.
> https://bugs.launchpad.net/bugs/1788530
>
> Title:
> Cannot create / on LVM ontop of RAID when using UEFI
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/maas/+bug/1788530/+subscriptions
>
> Launchpad-Notification-Type: bug
> Launchpad-Bug: product=maas; milestone=2.5.0; status=Triaged;
> importance=High; assignee=None;
> Launchpad-Bug-Information-Type: Public
> Launchpad-Bug-Private: no
> Launchpad-Bug-Security-Vulnerability: no
> Launchpad-Bug-Commenters: ltrager
> Launchpad-Bug-Reporter: Lee Trager (ltrager)
> Launchpad-Bug-Modifier: Lee Trager (ltrager)
> Launchpad-Message-Rationale: Subscriber (MAAS)
> Launchpad-Message-For: andreserl
>
--
Andres Rodriguez (RoAkSoAx)
Ubuntu Server Developer
MSc. Telecom & Networking
Systems Engineer

Changed in maas:
milestone: 2.5.0 → 2.5.0beta2
Changed in maas:
milestone: 2.5.0beta2 → 2.5.0rc1
Revision history for this message
Lee Trager (ltrager) wrote : Re: Cannot create / on LVM ontop of RAID when using UEFI

This is still an issue, using a smaller size makes no difference. If I refresh the page I can create new volumes.

Revision history for this message
Andres Rodriguez (andreserl) wrote :

I was able to reproduce, this is preventing from adding any logical volume. AFter a forced refresh, I'm able to do so, so this is a JS issue.

summary: - Cannot create / on LVM ontop of RAID when using UEFI
+ [UI] Cannot add a logical volume on top of partition if the disk has
+ been previously partitioned
Changed in maas:
importance: High → Critical
tags: added: ui
Revision history for this message
Andres Rodriguez (andreserl) wrote :

To reproduce:

1. Select sda
2. Add a partition and mount it e.g. /boot/efi of 500 megs
3. Add another partition
4. Create a VG
5. Attempt to create a logical volume, you will be unable to.

Changed in maas:
assignee: nobody → Lee Trager (ltrager)
Lee Trager (ltrager)
Changed in maas:
status: Triaged → In Progress
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
milestone: 2.5.0rc1 → 2.5.0beta4
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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