I can create a VolumeGroup (vg0) without having created a partition on the boot disk (and obviously, fails to deploy)

Bug #1509536 reported by Andres Rodriguez on 2015-10-23
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Critical
Blake Rouse

Bug Description

When configuring the boot disk with LVM, I need to create a partition on the disk before I can create a Volume Group. However, MAAS allowed me to 'Create Volume Group' without having created a partition. This causes the node to fail to deploy.

MAAS should either:

1. Automatically create the sda-part1 when Create Volume Group on the boot disk.
2. or it should prevent from 'Create Volume Group' (and show a message saying that the user needs to create a partition).

To reproduce:

1. Select 'sda'
2. 'Create Volume Group'
3. Select vg0 & 'Add Logical Volume'
4. Select vg0-lv0 & 'Format'
5. Deploy

Install log: http://paste.ubuntu.com/12970277/

Related branches

Andres Rodriguez (andreserl) wrote :

This is only when the disk chosen is the bootdisk. And it requires a partition to be created before putting vg0 on it.

summary: - I can create vg0 without having created a partition
+ Creating vg0 without having created a partition
summary: - Creating vg0 without having created a partition
+ Creating vg0 without having created a partition on the boot disk fails
+ to deploy
summary: - Creating vg0 without having created a partition on the boot disk fails
- to deploy
+ I can create a VolumeGroup (vg0) without having created a partition on
+ the boot disk
description: updated
Changed in maas:
assignee: nobody → Andres Rodriguez (andreserl)
assignee: Andres Rodriguez (andreserl) → nobody
milestone: none → 1.9.0
importance: Undecided → Critical
summary: I can create a VolumeGroup (vg0) without having created a partition on
- the boot disk
+ the boot disk (and obviously, fails to deploy)
description: updated
tags: added: ux
tags: added: storage ui
Gavin Panella (allenap) on 2015-10-27
Changed in maas:
status: New → Triaged
Changed in maas:
status: Triaged → In Progress
assignee: nobody → Blake Rouse (blake-rouse)
Changed in maas:
status: In Progress → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers