Skip to content
Snippets Groups Projects
Commit bc3427b7 authored by Aaron Knister's avatar Aaron Knister Committed by Michele Tartara
Browse files

Use KB as the unit for LVM PE size


LogicalVolume.Attach in bdev.py is calling "lvs" and specifying a unit of
Megabytes that is then converted to an integer resulting in the value 0 for
small sizes.

This patch makes Ganeti use KB for the unit instead of MB.

Fixes Issue 347.

Signed-off-by: default avatarAaron Knister <aaron.knister@gmail.com>
Reviewed-by: default avatarMichele Tartara <mtartara@google.com>
parent bfcd1652
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment