Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1421746 - [RFE] add nested virtualization hook vdsm-hook-nestedvt
[RFE] add nested virtualization hook vdsm-hook-nestedvt
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: vdsm (Show other bugs)
4.1.0
Unspecified Unspecified
medium Severity medium
: ovirt-4.2.0
: ---
Assigned To: Michal Skrivanek
Jiri Belka
: FutureFeature, ZStream
Depends On:
Blocks: 1481150 1513039
  Show dependency treegraph
 
Reported: 2017-02-13 10:12 EST by Jiri Belka
Modified: 2018-05-17 18:53 EDT (History)
16 users (show)

See Also:
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 13:50:23 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Virt
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
jbelka: testing_plan_complete-


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:1489 None None None 2018-05-15 13:52 EDT

  None (edit)
Description Jiri Belka 2017-02-13 10:12:59 EST
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 03:27:22 EDT
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 04:39:19 EDT
Changing to RFE, it's not missing, it was intentionally left out.
Comment 13 Michal Skrivanek 2017-10-24 04:49:31 EDT
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 06:28:47 EDT
(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 11:24:04 EDT
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 10:45:28 EST
(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 Bugzilla Automation and Verification Bot 2017-12-06 11:19:18 EST
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@redhat.com
Comment 19 RHV Bugzilla Automation and Verification Bot 2017-12-12 16:17:28 EST
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@redhat.com
Comment 25 errata-xmlrpc 2018-05-15 13:50:23 EDT
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

Note You need to log in before you can comment on or make changes to this bug.