kimchi-project / kimchi

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

Guest VM fails to recognize storage #1 #1219

Open ghost opened 6 years ago

ghost commented 6 years ago

Hello,

Guest VM doesn't seem to recognize disk if there's only one storage entry defined in the template. For example, I have a 10GB disk from xstor storage pool (Fig. 1). After creating a guest VM from the template, storage is created in the pool (Fig. 2). Guest VM starts and in this example, I'm setting up a CentOS server. At the installation destination, I get an error "No disks detected" (Fig. 3). I cancel the installation and go back to the template to add storage, this time 11GB (Fig. 4). I then create a new guest VM from the modified template, save, and verify storage is created in the pool (Fig. 5). I start the VM and proceed to setting up CentOS. This time, installation destination recognizes the disk (Fig. 6). Even though I have defined two disks from the template, guest VM only recognized the second.

Fig.1: image

Fig. 2: image

Fig. 3: image

Fig. 4: image

Fig. 5: image

Fig. 6: image

ghost commented 6 years ago

Looking at this more closely... I now understand that the initial/default storage that gets included after the template creation is actually for the purpose of storing the image file (ISO) and that I have to add another storage disk for the VM itself? If that is the case, this is a non-issue then. Also, if this is the case, the initial ISO storage can then be removed/deleted after the VM has been completely setup?

image

alinefm commented 4 years ago

@ghost You don't need to add any second storage to be able to install a VM using Kimchi. Only creating a template that points to the ISO file you want to use is enough.

We are now testing kimchi to close a new release and centOS will be the next OS to validate it.

I turn back to you soon.