kimchi-project / kimchi

An HTML5 management interface for KVM guests
https://github.com/kimchi-project/kimchi/releases/latest
Other
3.09k stars 365 forks source link

Error while creating new storage device #1166

Open atepp opened 7 years ago

atepp commented 7 years ago

When I try add new drive for existing VM, using "Edit Guest" -> "Add a Storage Device to VM", I get following error: """ KCHVMSTOR0008E: Error while creating new storage device: This is not a valid RAW disk image. """ This error only occurs, when storage pool is logical type (dir typed pool are fine). When I look into Storage overview, I see that volume was created but size is only 4MiB.

dacrhu commented 6 years ago

I confirm. The result is same in my system too.

CentOS Linux release 7.2.1511 (Core) 3.10.0-327.22.2.el7.x86_64 #1 SMP Thu Jun 23 17:05:11 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux libvirtd (libvirt) 3.2.0 LVM version: 2.02.171(2)-RHEL7 (2017-05-03) Library version: 1.02.140-RHEL7 (2017-05-03) Driver version: 4.33.0

Log: KCHISO0006E: Unexpected volume type for primary volume in ISO /dev/vg0/server-021505411063480.img KCHISO0006E: Unexpected volume type for primary volume in ISO /dev/vg0/server-021505411063480.img KCHVMSTOR0008E: Error while creating new storage device: This is not a valid RAW disk image.

I have chosen Disk, from VG pool, format RAW.

infinityhacks commented 6 years ago

I have met the same issue. but it works when I add new volume in template instead of in a launched instance

nrigaud commented 6 years ago

I also have the same issue. Actually running on Centos 7.4 & Kimchi 2.5.0

dumol commented 5 years ago

Fixed with https://github.com/kimchi-project/kimchi/pull/1258?