Create an abstract disk_create() method in the HardwareBase
class. That way, it's clear that this method expects an int for the
disk capacity in GB.
This also fixes the disk deployment for libvirt where
test_add_storage() test failed because the rook-discover pod didn't
use the newly created disk (due to "Insufficient space (\u003c5GB)").
The extra qcow2 disk that was created for libvirt had a size of 512
byte.
Create an abstract disk_create() method in the HardwareBase class. That way, it's clear that this method expects an int for the disk capacity in GB. This also fixes the disk deployment for libvirt where test_add_storage() test failed because the rook-discover pod didn't use the newly created disk (due to "Insufficient space (\u003c5GB)"). The extra qcow2 disk that was created for libvirt had a size of 512 byte.
Signed-off-by: Thomas Bechtold tbechtold@suse.com