Comment 22 for bug 1566399

Revision history for this message
Sergii Rizvan (srizvan) wrote :

Steps to reproduce:
You need at least one node in the environment with more than one disk.
Go to MOS web GUI > Environment > Nodes > Click on the node with more than one disk > Configure disks > Remove all partitions from the second disk, so you can see that space of the whole disk is unnalocated.
Deploy the environment.
After OS provisioning login by SSH to the selected node and run next command (/dev/vdb here is unnalocated drive):
root@node-4:~# parted /dev/vdb print
Model: Virtio Block Device (virtblk)
Disk /dev/vdb: 376GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt

Number Start End Size File system Name Flags
 1 1049kB 26.2MB 25.2MB primary bios_grub
 2 26.2MB 236MB 210MB primary

Here we can see, that fuel-agent have created 2 partitions, but the drive was marked as unnalocated.
After applying the patch fuel-agent doesn't create any partitions on unnalocated disks.