Re: OLVM on VirtualBox

  • From: "k.hadd" <kouss.hd@xxxxxxxxx>
  • To: uwe@xxxxxxxxxxxx
  • Date: Sun, 28 Jun 2020 03:32:52 -0400

Hey Uwe,
I was planning to blog about it sometime soon but here you are asking
questions .
I see you have managed to enable nested virtualization in virtualbox which
is possible since vbox 6.1.4 ish.
 For those who want to know how to do that, they can check my other BlogPost
<https://brokedba.blogspot.com/2020/04/how-to-enable-nested-virtualization-in.html>
.

 The problem with nested virtualization here (KVM inside Vbox) is that

   - virtualbox doesn't support *kvm* domain type  (kernel based
      hypervisor) .
      - This issue is similar to what openstak
      <https://community.brightcomputing.com/question/5d6614ba08e8e81e885f1a97>
       and miniduke <https://github.com/kubernetes/minikube/issues/2991> users
      encounter when they use kvm within vbox *"could not find capabilities
      for domaintype=kvm"*

- The only flavor you'll have left to use is the emulated version of kvm
called qemu which is less efficient(slower) since it emulates both CPU and
hardware (unlike kvm).
- The workaround, for instance, when using virsh is to change the domain
type to qemu so the vm can start.

$virsh edit My-vm<domain type='kvm'>     ===== replace 'kvm' by 'qemu'
<name>My-vm</name>
...

 - Now OLVM which is a fork of ovirt under virtualbox is another story as
installing the host engine and kvm all in one same box is not a good idea.
Why? because I tried and failed like you a few months ago(see pic).


- Try  asking in their community space
<https://community.oracle.com/community/groundbreakers/server_&_storage_systems/linux/oracle-linux-kvm>
or
leave a comment here
<https://blogs.oracle.com/virtualization/getting-started-with-oracle-linux-virtualization-manager>
Good luck with that though, as I was quite frankly disappointed by the
(lack of) responsiveness of OLVM PMs. Who knows, you may be luckier than me
if you know someone from the inside.
I myself gave up on them and decided to ask help from the OVirt community
(they're more laid-back) .

That being said, you could always try to install the engine in another vm,
link it to your kvm box and restart spinning vms again (if . But I agree
with you, it's not a popular topic yet.

Koss




On Sat, Jun 27, 2020 at 4:36 PM Uwe Küchler <uwe@xxxxxxxxxxxx> wrote:

Dear oracle-l'ers,

I'm astonished there's not post at all on OLVM yet to be found on this
list. Well, here's the first one, then! :-)

I'm trying to get an R&D environment for OLVM running on my Laptop in
VirtualBox (6.1.8).
Installation of the engine and one KVM host works, but as soon as I try
to start the first VM, an error is thrown and the VM remains in pause
mode.

The Laptop runs on an Intel Core i7 8565U CPU, which features VT-x and
VT-d, the virtualization features necessary to run nested
virtualization.
Nested virtualization is turned on for the KVM Host VM. "grep vmx
/proc/cpuinfo" shows vmx is available.

Before i bore the heck out of you with a log file:

Has anyone here managed to run OLVM on VirtualBox?

Cheers,
Uwe
--
//www.freelists.org/webpage/oracle-l



Other related posts: