kvm image is not installing

General support questions
belgeadmin
Posts: 21
Joined: 2017/04/23 10:51:03
Location: Belgium

kvm image is not installing

Post by belgeadmin » 2017/04/25 18:18:09

Hello,
Im using CentOS Linux release 7.3.1611 (Core) and tried to install kvm today on host but i cant install image :!:

Its locked in starting. Before i start virtual machine in hardware configuration there is always an error "libvirt did not detect any uefi/ovmf firmware image on the host". But i continue to install and Its locked in starting.


After i checked service with "systemctl status libvirtd -l" i see some errors like that: Apr 25 21:07:27 centos71 libvirtd[7130]: Domain id=2 name='centos7.0' uuid=b91fcd85-e463-455c-a95e-a4316217f44d is tainted: high-privileges.

Is there anyone else who see this before?
“If at first the idea is not absurd, then there is no hope for it.”

bertalanimre
Posts: 140
Joined: 2015/06/02 13:04:03

Re: kvm image is not installing

Post by bertalanimre » 2017/05/03 09:54:06

How did you install libvirt?
How do you create the virtual machine?
How do you manage your machines? (virt-manager maybe?)

I suggest you should

Code: Select all

sudo yum install @Virt* -y
on your system, then start virt-manager and install what you'll need.

belgeadmin
Posts: 21
Joined: 2017/04/23 10:51:03
Location: Belgium

Re: kvm image is not installing

Post by belgeadmin » 2017/05/04 12:35:16

i installed like that:

yum install virt-manager libvirt libvirt-phyton phyton-virtinst libvirt-client

Do you think there were some parts missing? i will try as you said. thank you


**edited

i installed as you said but i have same problem again.

After i start virt-manager i load the centos 7 image but its just waiting in the beginning...
“If at first the idea is not absurd, then there is no hope for it.”

hunter86_bg
Posts: 2019
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: kvm image is not installing

Post by hunter86_bg » 2017/05/05 06:32:03

Where is this image located ? Is it in "/var/lib/libvirt/images" ? If not - try to temporarily disable selinux to verify that it's causing the issue via

Code: Select all

sentenforce 0
Once you start the machine and everything is ok - then we can confirm that it's selinux.

Regarding the error: "libvirt did not detect any uefi/ovmf firmware image on the host" -Is this machine installed as UEFI (with simulated UEFI Bios) ?What is the setting for "Firmware" in the Overview Pane in Virt-Manager ?
If it is defined as UEFI - you can install the "OVMF" package and try again. Most probably this package is in the supplementary repo (at least RedHat's is), so first enable that repo.

belgeadmin
Posts: 21
Joined: 2017/04/23 10:51:03
Location: Belgium

Re: kvm image is not installing

Post by belgeadmin » 2017/05/05 06:50:47

First of all im using ubuntu on my laptop. I installed Vbox and installed Centos 7 into Vbox.

And now im trying to undertstand Centos virtulization so i try to use virt-manager inside Centos 7.

So i just mounted Centos DVD iso to my Vbox Centos 7 and try to install by virt-manager.

Do i have any mentality problem in this order?
“If at first the idea is not absurd, then there is no hope for it.”

User avatar
TrevorH
Site Admin
Posts: 33216
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: kvm image is not installing

Post by TrevorH » 2017/05/05 06:56:33

Yes, that would be a problem. You have to do "special stuff" to enable nested virtualization.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

owl102
Posts: 413
Joined: 2014/06/10 19:13:41

Re: kvm image is not installing

Post by owl102 » 2017/05/05 06:57:38

belgeadmin wrote:First of all im using ubuntu on my laptop. I installed Vbox and installed Centos 7 into Vbox.

And now im trying to undertstand Centos virtulization so i try to use virt-manager inside Centos 7.
This is doomed to fail since VirtualBox does not support nested virtualization. See also: https://www.virtualbox.org/ticket/4032

BTW: There is little special to "Centos virtulization". KVM is available on Ubuntu, and VirtualBox is available for CentOS as well.
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/

belgeadmin
Posts: 21
Joined: 2017/04/23 10:51:03
Location: Belgium

Re: kvm image is not installing

Post by belgeadmin » 2017/05/05 12:27:28

Hımm its interesting because i can simulate same scenario with Solaris Zones easily :)
But i will search a little more. Thank you all
“If at first the idea is not absurd, then there is no hope for it.”

owl102
Posts: 413
Joined: 2014/06/10 19:13:41

Re: kvm image is not installing

Post by owl102 » 2017/05/05 13:56:06

belgeadmin wrote:Hımm its interesting because i can simulate same scenario with Solaris Zones easily :)
Solaris Zones is not a processor virtualization technique (also called full virtualization or whole-system virtualization), so one cannot compare Zones with KVM. And especially Solaris Zones don't use VT-x.

See also: https://en.wikipedia.org/wiki/Operating ... ualization
German speaking forum for Fedora and CentOS: https://www.fedoraforum.de/

belgeadmin
Posts: 21
Joined: 2017/04/23 10:51:03
Location: Belgium

Re: kvm image is not installing

Post by belgeadmin » 2017/05/05 19:40:17

owl102 wrote:
belgeadmin wrote:Hımm its interesting because i can simulate same scenario with Solaris Zones easily :)
Solaris Zones is not a processor virtualization technique (also called full virtualization or whole-system virtualization), so one cannot compare Zones with KVM. And especially Solaris Zones don't use VT-x.

See also: https://en.wikipedia.org/wiki/Operating ... ualization
Actually it was an aswer for your previous reply.

"This is doomed to fail since VirtualBox does not support nested virtualization. See also: "

I know zone is a OS virtulization technique but Oracle use also definition of "nested" for zones.
“If at first the idea is not absurd, then there is no hope for it.”

Post Reply