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

Can't use Logical volumes #1188

Open kerberjg opened 6 years ago

kerberjg commented 6 years ago

I had no trouble creating a Logical storage pool, however when it comes to defining a template that's supposed to use the newly created Logical storage pool, upon selecting it as storage in the template definition, I get the following error:

KCHTMPL0032E: Unable to update template due error: KCHTMPL0029E: Disk format must be 'raw', for logical, iscsi, and scsi pools.

And the GUI does not make it possible to change the storage format to anything else than RAW.

It also can't possibly refer to the source disk image for the OS, since it already is RAW.

BeyondDefinition commented 5 years ago

I have the same issue. I'm using release version 2.5.0 on Ubuntu Server LTS 18.04.1. From a fresh installation, reproduce with:

  1. Use a terminal to manually create lvm volume group
  2. Go to Virtualization > Storage, click Add storage and add the lvm volume group with storage pool type logical, selecting 'Create from existing LVM'
  3. Upload an ISO to /var/lib/kimchi/isos (I used Archlinux 2019.01)
  4. Go to Virtualization > Templates, click Add Template and select the ISO from the previous step. Fill in a name.
  5. For the added template, click Actions > Edit, click Storage and for the default disk change Storage Pool to the volume group. Disk format stays disabled. Clicking Save results in the error described by kerberjg.

FYI: You are able to correctly change the storage settings for a netboot template.

danardf commented 4 years ago

I've got the same Issue like you @BeyondDefinition I installed KVM + Kimchi under a system RAID 10 and unable to select LVM storage. I don't know if the dev is stopped or not. But sad If we can't select any LVM storage!