Bug 1421746

Summary: [RFE] add nested virtualization hook vdsm-hook-nestedvt
Product: Red Hat Enterprise Virtualization Manager Reporter: Jiri Belka <jbelka>
Component: vdsmAssignee: Michal Skrivanek <michal.skrivanek>
Status: CLOSED ERRATA QA Contact: Jiri Belka <jbelka>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.1.0CC: bcholler, eheftman, fgarciad, gveitmic, jcall, lsurette, lsvaty, michal.skrivanek, rbalakri, rheron, Rhev-m-bugs, rlondhe, srevivo, ycui, ykaul, ylavi
Target Milestone: ovirt-4.2.0Keywords: FutureFeature, ZStream
Target Release: ---Flags: jbelka: testing_plan_complete-
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Technology Preview
Doc Text:
In this release, a new VDSM hook that configures nested virtualization, has been introduced as a Technology Preview. Support for nested virtualization was introduced in Red Hat Enterprise Linux 7 and it enables a virtual machine to serve as a host. VDSM hooks are a means to insert code, commands, or scripts into a point in the lifecycle of a virtual machine or the VDSM daemon.
Story Points: ---
Clone Of:
: 1481150 (view as bug list) Environment:
Last Closed: 2018-05-15 17:50:23 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1481150, 1513039    

Description Jiri Belka 2017-02-13 15:12:59 UTC
Description of problem:

ydary@: There is tech-preview support of nested in RHEL7 we should probably provide this hook as tech-preview as well.

~~~
It did not reach any official EL7 channel:

- rpm search in customer portal https://rhn.redhat.com/rhn/channels/software/Search.do

- my 4.0-beta hosts:

[root@slot-2 ~]# yum repolist -v | grep -i baseurl
Repo-baseurl : http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/rhv-mgmt-agent/4/os/
Repo-baseurl : http://pulp-read.dist.prod.ext.phx2.redhat.com/content/beta/rhel/server/7/x86_64/rhv-mgmt-agent/4/os/
Repo-baseurl : http://pulp-read.dist.prod.ext.phx2.redhat.com/content/dist/rhel/server/7/7Server/x86_64/os/
[root@slot-2 ~]# yum search vdsm-hook
Loaded plugins: product-id, search-disabled-repos
============================================================================================== N/S matched: vdsm-hook ==============================================================================================
vdsm-hook-ethtool-options.noarch : Allow setting custom ethtool options for vdsm controlled nics
vdsm-hook-fcoe.noarch : Hook to enable FCoE support
vdsm-hook-macspoof.noarch : Disables MAC spoofing filtering
vdsm-hook-openstacknet.noarch : OpenStack Network vNICs support for VDSM
vdsm-hook-vhostmd.noarch : VDSM hook set for interaction with vhostmd
vdsm-hook-vmfex-dev.noarch : VM-FEX vNIC support for VDSM

  Name and summary matches only, use "search all" for everything.
~~~

Version-Release number of selected component (if applicable):
4.0-beta

Comment 2 Jiri Belka 2017-08-04 07:27:22 UTC
Event if it is tech preview, it's odd to have ability to configure Nested Virtualization in UI but to be forgotten to provide required rpm for customers.

Comment 7 Michal Skrivanek 2017-08-14 08:39:19 UTC
Changing to RFE, it's not missing, it was intentionally left out.

Comment 13 Michal Skrivanek 2017-10-24 08:49:31 UTC
other than the doc text we should likely describe how exactly it is installed and used.
should be:
yum install vdsm-hook-nestedvt
enable nested in Edit Host -> Kernel -> Nested Virtualization
reboot host
now you can use VMs as virtualization hosts

Comment 14 Emma Heftman 2017-10-25 10:28:47 UTC
(In reply to Michal Skrivanek from comment #13)
> other than the doc text we should likely describe how exactly it is
> installed and used.
> should be:
> yum install vdsm-hook-nestedvt
> enable nested in Edit Host -> Kernel -> Nested Virtualization
> reboot host
> now you can use VMs as virtualization hosts

Is there a feature page? 

And if not what is the impact on the rest of the system if a VM is used as a virtualization host?
Why is the feature needed? 
Can any VM become a virtualization host?
Is the hook installed automatically on new systems?
Can Nested Virtualization be enabled when creating Hosts as well as Editing?
Is something else in the UI disabled when this is selected? Or does something need to be selected to activate this?

Thanks
Emma

Comment 16 Jiri Belka 2017-11-03 15:24:04 UTC
ok, installable, virt-host can host another vms

vdsm-4.20.6-1.el7ev.x86_64
vdsm-hook-nestedvt-4.20.6-1.el7ev.noarch

Comment 17 Michal Skrivanek 2017-11-14 15:45:28 UTC
(In reply to Emma Heftman from comment #14)
> Is there a feature page? 
nope, it's there for quite some time, only now enabled d/s
 
> And if not what is the impact on the rest of the system if a VM is used as a
> virtualization host?

there are no guarantees on performance of that nested host. Otherwise there should be no impact on the L0 host, it's "just a VM" from its perspective

> Why is the feature needed?

testing,demos mostly, I suppose

> Can any VM become a virtualization host?

yes, as long as the L0 has nested support enabled.

> Is the hook installed automatically on new systems?

it's not automatically installed, it's just available for installation now as a vdsm hook

> Can Nested Virtualization be enabled when creating Hosts as well as Editing?

yes. Though it requires the hook installation step, and a reboot of the host to apply the kernel parameter.

> Is something else in the UI disabled when this is selected? Or does
> something need to be selected to activate this?

nope. Just some of the host hw reporting is not accurate/real

Comment 18 RHV bug bot 2017-12-06 16:19:18 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[No relevant external trackers attached]

For more info please contact: rhv-devops

Comment 19 RHV bug bot 2017-12-12 21:17:28 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[No relevant external trackers attached]

For more info please contact: rhv-devops

Comment 25 errata-xmlrpc 2018-05-15 17:50:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2018:1489

Comment 27 Franta Kust 2019-05-16 13:06:58 UTC
BZ<2>Jira Resync