Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1458637

Summary: Missing VDSM hooks on RHV hosts
Product: Red Hat Enterprise Virtualization Manager Reporter: Tahlia Richardson <trichard>
Component: vdsmAssignee: Dan Kenigsberg <danken>
Status: CLOSED ERRATA QA Contact: Raz Tamir <ratamir>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: asabadra, bazulay, cshao, danken, eedri, lsurette, lsvaty, mgoldboi, rbalakri, rbarry, srevivo, ycui, ykaul, ylavi
Target Milestone: ovirt-4.1.4Keywords: TestOnly, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-27 18:03:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Rel-Eng RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tahlia Richardson 2017-06-05 05:16:44 UTC
There are now fewer VDSM hooks available from the host repos (possibly because some features, like NUMA support, are now available without the hook). 

On a 4.0 host: 

# yum search vdsm-hook
============================ N/S matched: vdsm-hook ============================
vdsm-hook-allocate_net.noarch : random_network allocation hook for VDSM
vdsm-hook-checkimages.noarch : Qcow2 disk image format check hook for VDSM
vdsm-hook-checkips.x86_64 : Check connectivity from the host to designated IPs
vdsm-hook-diskunmap.noarch : Activate UNMAP for disk/lun devices
vdsm-hook-ethtool-options.noarch : Allow setting custom ethtool options for vdsm
                                 : controlled nics
vdsm-hook-extnet.noarch : Force a vNIC to connect to a specific libvirt network
vdsm-hook-extra-ipv4-addrs.x86_64 : Set extra ipv4 addresses for vdsm networks.
vdsm-hook-fakesriov.x86_64 : Generate fake SR-IOV devices
vdsm-hook-fakevmstats.noarch : Generate random VM statistics
vdsm-hook-faqemu.noarch : Fake qemu process for VDSM quality assurance
vdsm-hook-fcoe.noarch : Hook to enable FCoE support
vdsm-hook-fileinject.noarch : Allow uploading file to VMs disk
vdsm-hook-floppy.noarch : Allow adding floppy to VM
vdsm-hook-hostusb.noarch : Allow attaching USB device from host
vdsm-hook-httpsisoboot.noarch : Allow directly booting from an https available
                              : ISO
vdsm-hook-hugepages.noarch : Huge pages enable user to handle VM with 2048KB
                           : page files.
vdsm-hook-ipv6.noarch : Set IPv6 configuration through custom network properties
vdsm-hook-isolatedprivatevlan.noarch : Isolated network environment for VMs
vdsm-hook-macbind.noarch : Bind a vNIC to a Bridge
vdsm-hook-macspoof.noarch : Disables MAC spoofing filtering
vdsm-hook-nestedvt.noarch : Nested Virtualization support for VDSM
vdsm-hook-noipspoof.noarch : Enables strict anti-spoofing filtering
vdsm-hook-numa.noarch : NUMA support for VDSM
vdsm-hook-openstacknet.noarch : OpenStack Network vNICs support for VDSM
vdsm-hook-ovs.noarch : Open vSwitch support for VDSM
vdsm-hook-pincpu.noarch : Hook pin VM so specific CPUs
vdsm-hook-promisc.noarch : Network interface promiscuous mode support for VDSM
vdsm-hook-qemucmdline.noarch : QEMU cmdline hook for VDSM
vdsm-hook-qos.noarch : QoS network in/out traffic support for VDSM
vdsm-hook-scratchpad.noarch : One time disk creation for VDSM
vdsm-hook-smbios.noarch : Adding custom smbios entries to libvirt domain via
                        : VDSM
vdsm-hook-spiceoptions.noarch : To configure spice options for vm
vdsm-hook-vmdisk.noarch : External disk support for VDSM
vdsm-hook-vmfex.noarch : vmfex support for VDSM
vdsm-hook-vmfex-dev.noarch : VM-FEX vNIC support for VDSM


On a 4.1 host: 

# yum search vdsm-hook
============================ 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


Two action items are required: 
1. Remove references to the hooks that are no longer available.
2. If any hooks are part of procedures, find out if there is a newer way to accomplish the task (or if it cannot be done anymore). Some of these may already be documented, but others may not (example: https://access.redhat.com/discussions/3065711).

Comment 1 Dan Kenigsberg 2017-06-05 07:06:24 UTC
The list of hooks on 4.1 is incomplete.
All documented hooks must be there, including checkips, extra-ipv4-addrs and localdisk.

(the 4.0 list include dev-only packages that should not have been shipped, but that's a matter of history)

Comment 2 Tahlia Richardson 2017-06-05 07:15:17 UTC
Thanks for following up on this, Dan. Moving to releng.

Comment 4 Dan Kenigsberg 2017-06-05 10:56:04 UTC
these hooks should be added:
localdisk
extraipv4
checkips

Comment 5 Aviv Sabadra 2017-06-05 12:36:39 UTC
The hooks were added to the vdsm 4.1.3 errata

Comment 8 Pavol Brilla 2017-07-19 15:21:55 UTC
All 3 mentioned hooks 

localdisk
extraipv4
checkips

are visible as shipping in erratum for 4.1.4

Comment 9 Eyal Edri 2017-07-23 17:13:26 UTC
bot seems not to work, setting to +

Comment 13 errata-xmlrpc 2017-07-27 18:03:45 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-2017:1815