oVirt 4.2.4 Release Notes

The oVirt Project is pleased to announce the availability of the 4.2.4 Release as of June 26, 2018.

oVirt is an open source alternative to VMware™ vSphere™, providing an awesome KVM management interface for multi-node virtualization. This release is available now for Red Hat Enterprise Linux 7.5, CentOS Linux 7.5 (or similar).

For a general overview of oVirt, read the Quick Start Guide and visit the About oVirt page.

For detailed installation instructions, read the Installation Guide.

To learn about features introduced before 4.2.4, see the release notes for previous versions.

  1. oVirt 4.2.4 Release Notes
    1. Install / Upgrade from previous versions
      1. CentOS / RHEL
      2. No Fedora support
      3. oVirt Hosted Engine
      4. EPEL
    2. What's New in 4.2.4?
      1. Release Note
        1. oVirt Engine
      2. Enhancements
        1. oVirt Engine
        2. oVirt Engine Appliance
        3. oVirt Host Dependencies
      3. Rebase: Bug Fixeses and Enhancementss
        1. oVirt Engine
      4. Bug Fixes
        1. oVirt Engine
        2. VDSM
        3. oVirt Engine Metrics
        4. ovirt-engine-dwh
        5. oVirt Hosted Engine HA
        6. oVirt Hosted Engine Setup
        7. imgbased
      5. Other
        1. oVirt Engine
        2. VDSM
        3. oVirt Engine Metrics
        4. ovirt-engine-dwh
        5. oVirt Hosted Engine HA
        6. oVirt Hosted Engine Setup
        7. cockpit-ovirt
        8. oVirt Engine SDK 4 Java
        9. oVirt Log Collector
        10. OTOPI
        11. oVirt Provider OVN
        12. imgbased
        13. oVirt Node
      6. No Doc Update
        1. VDSM JSON-RPC Java
        2. oVirt Engine
        3. oVirt Hosted Engine HA
        4. oVirt Hosted Engine Setup

Install / Upgrade from previous versions

CentOS / RHEL

In order to install it on a clean system, you need to install

# yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm

and then follow our Installation Guide.

If you're upgrading from a previous release on Enterprise Linux 7 you just need to execute:

  # yum install http://resources.ovirt.org/pub/yum-repo/ovirt-release42.rpm
  # yum update "ovirt-*-setup*"
  # engine-setup

No Fedora support

Regretfully, Fedora is not supported anymore, and RPMs for it are not provided. These are still built for the master branch, so users that want to test them, can use the nightly snapshot. At this point, we only try to fix problems specific to Fedora if they affect developers. For some of the work to be done to restore support for Fedora, see also tracker bug 1460625.

oVirt Hosted Engine

If you're going to install oVirt as a Hosted Engine on a clean system please follow Hosted_Engine_Howto#Fresh_Install guide or the corresponding section in Self Hosted Engine Guide.

If you're upgrading an existing Hosted Engine setup, please follow Hosted_Engine_Howto#Upgrade_Hosted_Engine guide or the corresponding section within the Upgrade Guide.

EPEL

TL;DR Don't enable all of EPEL on oVirt machines.

The ovirt-release package enables the EPEL repositories and includes several specific packages that are required from there. It also enables and uses the CentOS SIG repos, for other packages.

If you want to use other packages from EPEL, you should make sure to use includepkgs and add only those you need avoiding to override packages from other repos.

What's New in 4.2.4?

Release Note

oVirt Engine

  • BZ 1582527 Enable only strong ciphers from engine to VDSM communication for hosts in cluster level >= 4.2
    This change enables only string ciphers for communication between engine and hosts for clusters with cluster level >= 4.2.

    Following steps need to performed to apply the change:

    1. Newly added hosts
    - The change is applied automatically when host is added to engine to clusters with cluster level >= 4.2
    - When adding new host to cluster with cluster level 3.6, 4.0 or 4.1 the change is not applied and hosts support all ciphers enabled by underlying libraries

    2. Existing hosts
    - to apply the change to existing hosts in cluster level 4.2 please follow steps described in [How to apply change] section

    3. Moving hosts between clusters
    - when host is moved to 4.2 cluster the change is not applied automatically. To apply please follow steps described in [How to apply change] section


    How to apply change
    To enable only strong ciphers for a host in cluster with cluster levels >= 4.2 following steps need to be applied:

    1. Move host to Maintenance using option Maintenance in Management menu inside Hosts view
    2. Reinstall the host using option Reinstall in Installation menu inside Hosts view
    3. Activate the host after successful reinstallation using Activate option in Management menu inside Hosts view
  • BZ 1577593 Disable TLS versions < 1.2 for hosts with cluster level >= 4.1
    This change disables TLSv1 and TLSv11 for communication between engine and hosts for clusters with cluster level >= 4.1.

    Following steps need to be performed to apply the change:

    1. Newly added hosts
    - The change is applied automatically when host is added to engine to clusters with cluster level >= 4.1
    - When adding new host to cluster with cluster level 3.6 or 4.0 the change is not applied and the host supports TLSv1, TLSv11 and TLSv12 protocols

    2. Existing hosts
    - to apply the change to existing host in cluster level 4.1 or 4.2 please follow steps described in [How to apply change] section

    3. Moving hosts between clusters
    - when host is moved to 4.1 or 4.2 cluster the change is not applied automatically. To apply please follow steps described in [How to apply change] section


    How to apply change
    To disable older TLS versions for a host in cluster with cluster levels >= 4.1 following steps need to be applied:

    1. Move host to Maintenance using option Maintenance in Management menu inside Hosts view
    2. Reinstall the host using option Reinstall in Installation menu inside Hosts view
    3. Activate the host after successful reinstallation using Activate option in Management menu inside Hosts view

Enhancements

oVirt Engine

  • BZ 1549030 Update neutron binding after VM migration with info from caps
    When a port is created/updated, it's "binding:host_id" attribute should be updated with the id of the provider driver id (for example OVN chassis id) reported during get_caps.
    The port for which the binding has been reported, requires the binding to be set on every consecutive host it moves to. This could be a problem when migrating from a 4.2.2 level host to an earlier one.
    Hosts before that do not report the host_id. When no provider driver id is reported, the "binding:host_id" is not set, and the value from the previous host will be kept. To fix this, the older hosts need to be updated with a newer version of the provider driver.
  • BZ 1539765 Auto-Sync - network rename on provider does not trigger rename in engine
    Feature: External network rename on provider is reflected in engine

    Reason: The name of an external network in engine should be consistent with the name of the same network on the provider.

    Result: Renaming an external network on the provider is reflected in engine.
  • BZ 1098612 [donstream clone 4.2.4] [RFE] filter for "Allocation Policy" in Disks search
  • BZ 1242822 [RFE] filter for "Allocation Policy" in Disks search
  • BZ 1251468 [RFE] Additional warning when removing required networks
  • BZ 1593653 [downstream clone - 4.2.4] [RFE] virtio nics are reported as '1gbit' nics, and should be '10gbit'
  • BZ 1587884 [downstream clone - 4.2.4] [RFE] Include storage domain UUID in Storage Domain 'General' tab
  • BZ 1579302 support more granularity in cluster cpu types
    Feature:
    Support distinguishing cpus also by features they support, not just by model.

    Reason:
    If a new CPU feature is important, it is important to be able to distinguish if the CPU with some model also supports this feature and than require this feature also for VMs.

    Result:
    Now, it is possible to distinguish CPUs also by features and require them for the VMs. CPU types take additional flags in addition to their libvirt name. Like e.g. SandyBridge, you can specify custom CPU as “SandyBridge,+xyz” or “SandyBridge,-xyz” to add or remove arbitrary individual CPU flags in addition to what the named model contains.
  • BZ 1577901 [RFE] add content type column to disk table

oVirt Engine Appliance

  • BZ 1582507 [downstream clone - 4.2.4] [RFE] Add ovirt-engine-extension-aaa-ldap-setup and ovirt-engine-extension-aaa-ldap to RHV-M Image

oVirt Host Dependencies

  • BZ 1579210 [downstream clone - 4.2.4] add cockpit-machines-ovirt to RHVH hosts
    The cockpit-machines-ovirt plugin (https://cockpit-project.org/guide/latest/feature-ovirtvirtualmachines) has been added to Red Hat Enterprise Linux hosts and Red Hat Virtualization Hosts.

Rebase: Bug Fixeses and Enhancementss

oVirt Engine

  • BZ 1585157 [downstream clone - 4.2.4] [UI] - VM's network interface name and icon too large and wrap

Bug Fixes

oVirt Engine

  • BZ 1583619 [downstream clone - 4.2.4] [SCALE] Listing users in Users tab overloads the postgresql DB (CPU)
  • BZ 1579719 Geo-Replication failing to kick off geo-rep session daily, when the same volume is used for two different sessions and one gets destroyed.
  • BZ 1578257 Unable to schedule a Snapshot of a Gluster volume
  • BZ 1574191 SyncNetworkProviderCommand fails on NPE if Provider is DNP of a Cluster with no DC
  • BZ 1574451 UI exception seen in ovirt-engine

VDSM

  • BZ 1584523 [downstream clone - 4.2.4] [HE] Failed to deploy RHV-H on Hosted engine
  • BZ 1576442 KeyError: 'sizeTotal' in gluster volume status monitoring
  • BZ 1576675 RHV import fails if VM has an unreachable floppy defined

oVirt Engine Metrics

  • BZ 1572508 fluentd unable to connect keeps retrying every 3 minutes

ovirt-engine-dwh

  • BZ 1576937 Value too long for type character varying(50) for host_interface_configuration and vm_interface_configuration

oVirt Hosted Engine HA

  • BZ 1583712 hosted-engine metadata are not correctly read and write on hosts set into maintenance mode from the engine
  • BZ 1557793 ovirt-hosted-engine-cleanup takes too much time

oVirt Hosted Engine Setup

  • BZ 1576310 [OVN] - [HE] - ovn tunnel is not created if central hostname resolved as 127.0.0.1 in hosts file
  • BZ 1557793 ovirt-hosted-engine-cleanup takes too much time
  • BZ 1557775 [RFE] During deployment, verification is missing for wrong NFS path.

imgbased

  • BZ 1568414 missing lvm filter causing "nodectl check" to fail to verify thinprovisioned local lv metadata

Other

oVirt Engine

  • BZ 1585990 Empty cluster from upgraded 4.1 engine does not have Cluster CPU Type set
  • BZ 1585950 [downstream clone - 4.2.4] Live Merge failed on engine with "still in volume chain", but merge on host was successful
  • BZ 1585455 [downstream clone - 4.2.4] Move disk failed but delete was called on source sd, losing all the data
  • BZ 1576377 engine-setup rewrites SSL*File options
    engine-setup now checks if apache httpd's ssl.conf file needs updates also on upgrades, prompts accordingly, and applies the updates as needed. Now, only parameters that actually require a change are changed - specifically, manual user changes to SSL certificates are not overridden.

    doc team: Please see bug 1558500 and comment 0 of current.

    Copied doc text from that bug and added a statement. Feel free to rewrite however you find best.

    Also, "parameters that actually require a change" are currently only a single one, "SSLProtocol". So if you want to be more specific than we tried to be in the past (and in the code), it's enough to:

    engine-setup now only updates SSLProtocol in apache httpd's ssl.conf file, if needed, and not other parameters.
  • BZ 1553112 NumberFormatException importing VMWARE ova
  • BZ 1581701 The custom serial number policy does not work in 4.2
  • BZ 1515877 Unable to define QoS for the 10Gbit interface
  • BZ 1582822 [UI] - Interface name is gone in the Network Interfaces sub tab
  • BZ 1574508 Space used icon in RHV-M not showing the actual space
  • BZ 1578763 [downstream clone - 4.2.4] Unreachable ISO/Export SD prevents hosts from activating
  • BZ 1584885 VM remains migrating forever with no Host (actually doesn't exist) after StopVmCommand fails to DestroyVDS
  • BZ 1583579 [downstream clone - 4.2.4] Very slow UI if Host has many (~64) elements (VFs or dummies or networks)
  • BZ 1573216 non-VM network appears in the new vNIC profile drop down
  • BZ 1573462 wrong SinglePciQxl initialization during import from OVF
  • BZ 1561865 [Code Change] - Validate duplicate MACs on unset 'Allow Duplicates' and transaction rollback fix
  • BZ 1585013 [downstream clone - 4.2.4] ovirt-engine loses track of a cancelled disk
  • BZ 1571849 USB controllers not written to snapshots
  • BZ 1573145 Update hosts and vms receive_rate_percent and transmit_rate_percent network statistics precision
    Cause:
    The precision of the rx_rate, tx_rate of virtual and host network interfaces has been increased on the engine db.

    Consequence:
    This requires updating the dwh precision for better reporting.

    Fix:
    Update hosts and vms receive_rate_percent and transmit_rate_percent network statistics precision

    Result:
    Hosts and vms receive_rate_percent and transmit_rate_percent network statistics precision was increased on DWH.
  • BZ 1590185 MAC pool ranges off by one
  • BZ 1583491 [UI] - Align the (mbps)/(bytes) in network's statistics
  • BZ 1550099 [RFE] - [SR-IOV] Network Interfaces sub tab - Add button 'Show VFs/Hide Vfs'
  • BZ 1585039 [downstream clone - 4.2.4] Live Storage Migration continued on after snapshot creation hung and timed out
  • BZ 1576382 no VM name validation on import from OVF
  • BZ 1574480 vGPU: Webadmin should reject VM snapshot creation when using mdev_type hook.
  • BZ 1578276 [engine-setup] PostgreSQL conf verification text is broken
  • BZ 1558614 OVA import does not set CPU topology correctly.
  • BZ 1568305 empty vNIC profiles tab in edit Network dialog
  • BZ 1539589 ovn localnet - On OVS cluster don't allow to attach VM networks to VM
  • BZ 1551910 [ja_JP] Text truncation observed on compute -> hosts -> network interfaces -> setup host networks page.
  • BZ 1543062 Auto-sync - additional OVN cluster on DC does not consume OVN network as expected
  • BZ 1583486 Block renaming/modifying name of external provider
  • BZ 1552449 [UI] - Adjust VM's vNIC panel to the exact size of the host's NIC panel and align vNIC's icons to the center
  • BZ 1491155 [Text] Report owner(s) of colliding MAC address if already in use
  • BZ 1565523 engine-backup(8) man page is not up-to-date with engine-backup features
  • BZ 1570383 [PPC] Webadmin doesn't expose sPAPR VSCSI disk interface in disk creation prompt that is initiated from within VM creation prompt
  • BZ 1565534 [UI] - Reverse the title and the entity on the NIC panel - MAC, Statistics and for the new vNIC design
  • BZ 1483846 [UI] - Adjust the VM's vNIC panel to be similar to the new host NIC panel information design
  • BZ 1572157 bad checkbox spacing in Logical Networks > New > Cluster
  • BZ 1570919 [CodeChange][i18n] oVirt 4.2.4 translation pull
  • BZ 1541917 [ja_JP] Text alignment correction needed on compute -> hosts -> new -> network provider window
  • BZ 1551994 [All_LANG except zh,ko] Text truncation observed on networks -> networks -> import page.
  • BZ 1586023 Guarenteed space differing under storage domains in the RHV-M
  • BZ 1587885 [downstream clone - 4.2.4] [RFE] Need a way to track how many logical volumes consumed in a storage domain and alert when it gets full
    The storage domain's General sub-tab in the Administration Portal now shows the number of images on the storage domain under the rubric "Images", this corresponds to the number of LVs on a block domain.
  • BZ 1582160 Unable to obtain a template list of a storage domain
  • BZ 1583562 Failed to active host after upgrade (host was in PreparingForMaintenance before upgrade)
  • BZ 1583664 After update "provider_binding_host_id" table doesn't exist, hosts are stuck in Activating state
  • BZ 1579102 VM can be started while ISO is still uploading
  • BZ 1506473 [disk content type] the default filtering is 'All' and the button of 'All' should also be selected after reloading RHV
  • BZ 1506468 [disk content type] The disk default content type is 'All' and the button should be set to 'All' as well
  • BZ 1572071 API SDK doesn't provide search method in external providers
  • BZ 1585456 [downstream clone - 4.2.4] ovirt-engine fails to start when having a large number of stateless snapshots
  • BZ 1582826 [UI] - When opening the setup networks dialogue it is taking few seconds to load the host interfaces
  • BZ 1572148 Fencing takes too long when first agent is unreachable
  • BZ 1574862 Vague message on failure in upgrade of compatibility level on cluster
  • BZ 1581158 Live Storage Migration releases lock twice
  • BZ 1560553 VMs imported from OVAs miss properties compared to ones imported from an export domain
  • BZ 1575596 /vm/affinitylabels should return the same as /affinitylabels
  • BZ 1568669 404 response when query for VM's sessions if a session already opened with a user account
    The bug happens when getting user information to set within the session object. This is wrong to begin with, because the convention in the API is to return the data of the entity which is being retrieved, and only links to referenced entities, not their contents. So the fix to this bug will result in only the link to the user set within the session, and this should obviously work for both admin and non-admin users.
  • BZ 1514374 oVirt webadmin StorageQoS input letters still could click confirm.
  • BZ 1579909 Cannot start VM with QoS IOPS after host&engine upgrade from 4.1 to 4.2
    Vdsm uses the domain metadata section to store extra data which is required to configure a VM but not properly represented on the standard libvirt domain.
    This always happens when a VM starts.
    Vdsm tried to store the drive IO tune settings in the metadata, which was redundant because the IO tune has already a proper representation.
    Furthermore the implementation of the store operation of the IO tune settings had an implementation bug, which made it not possible to succesfully start the VM.
    This bug appears only if IO tune settings are enabled.
  • BZ 1563567 Change CD dialog lists isos in non-ordered way, dialog list too small
  • BZ 1578756 Importing an OVA made in ovirt failed on extract disks (ExtractOvaCommand)
  • BZ 1578416 Register a partial Template with allow_partial flag throws an exception
  • BZ 1573091 Do no force DB patch version and settings in setup for remote databases.
    engine-setup now allows using a remote PostgreSQL database with a different Z version - e.g. 9.5.9 client (the engine machine) can use a 9.5.8 remote database server.

    engine-setup also allows forcing it to ignore all PostgreSQL sanity/configuration checks.

    Doc team: See also comment 6 for latter. I'd rather not include the details in the doc text.

    For oVirt I added text to [1].

    For RHV we might want a KB article.

    [1] https://ovirt.org/develop/developer-guide/engine/engine-setup/
  • BZ 1557770 Webadmin-imageIO - 'Cancel' option should be removed from download disk
  • BZ 1573865 [WebAdmin] Move disk dialog displays orange container for warning message even when it is empty
  • BZ 1585454 [downstream clone - 4.2.4] Uploaded image: Virtual Size of qcow2 image is not reflected at guest OS level
  • BZ 1573913 upload image dialog - test connection button should be displayed for any DC
  • BZ 1571154 vdsm reports to engine the local host network address IPv4 and IPv6 during the VM launch
  • BZ 1571323 Create template fail sometimes
  • BZ 1566393 When registering a VM that has disks on detached SD, error appears in engine.log, showing null as the SD name
  • BZ 1572067 can't search in external providers

VDSM

  • BZ 1583045 Failed to add a second host after a successful deployment due to a name clash on vdsm python module
  • BZ 1570349 After upgrade from 4.1 to 4.2.3 vm disk is inactive and vm nic is un-plugged
  • BZ 1591667 [downstream clone - 4.2.4] Live storage migration completes but leaves volume un-opened.
  • BZ 1534197 After updating to current RHV-H, vdsmd consistently fails to start on startup.
  • BZ 1585030 [downstream clone - 4.2.4] RAW-Preallocated disk is converted to RAW-sparse while cloning a VM in file based storage domain
  • BZ 1568696 Failed to convert app: [[Ljava.lang.Object;] warning appear in engine.log
  • BZ 1567603 [CodeChange] Cleanup create snapshot code after requiring qemu > 2.10
  • BZ 1579909 Cannot start VM with QoS IOPS after host&engine upgrade from 4.1 to 4.2
    Vdsm uses the domain metadata section to store extra data which is required to configure a VM but not properly represented on the standard libvirt domain.
    This always happens when a VM starts.
    Vdsm tried to store the drive IO tune settings in the metadata, which was redundant because the IO tune has already a proper representation.
    Furthermore the implementation of the store operation of the IO tune settings had an implementation bug, which made it not possible to succesfully start the VM.
    This bug appears only if IO tune settings are enabled.
  • BZ 1580478 Vdsm should support hotunplug by Alias
  • BZ 1565002 Check vdsmd status before starting rpm upgrade

oVirt Engine Metrics

  • BZ 1585963 Error in collectd 05-global-configuration.conf file - missing end of line
  • BZ 1573784 Deprecation warning in fluentd forward plugin

ovirt-engine-dwh

  • BZ 1586011 ovirt-engine-provisiondb should not try to connect to databases
  • BZ 1573145 Update hosts and vms receive_rate_percent and transmit_rate_percent network statistics precision
    Cause:
    The precision of the rx_rate, tx_rate of virtual and host network interfaces has been increased on the engine db.

    Consequence:
    This requires updating the dwh precision for better reporting.

    Fix:
    Update hosts and vms receive_rate_percent and transmit_rate_percent network statistics precision

    Result:
    Hosts and vms receive_rate_percent and transmit_rate_percent network statistics precision was increased on DWH.

oVirt Hosted Engine HA

  • BZ 1585028 [downstream clone - 4.2.4] RHV-H 4.2.3: hosted-engine agent fails to start after upgrade due to Permission denied: '/var/log/ovirt-hosted-engine-ha/broker.log' '/var/log/ovirt-hosted-engine-ha/agent.log'

oVirt Hosted Engine Setup

  • BZ 1578418 Checks on bond mode are not effective
  • BZ 1594024 [HE] Failed to deploy hosted engine over NFS on updated rhel7.5 with ansible 2.6
  • BZ 1578404 Fetch engine logs from the engine VM
  • BZ 1573074 The deployment fails on create_storage_domain stage when using generated answers
  • BZ 1576451 ovirt-hosted-engine-cleanup must undefine the HostedEngine VM

cockpit-ovirt

  • BZ 1582579 Using a new device for creating non vdo volume is being blocked
  • BZ 1583637 HE Wizard - General error message displayed with no field-specific errors

oVirt Engine SDK 4 Java

oVirt Log Collector

OTOPI

  • BZ 1574433 "Invalid data received during bootstrap" errors do not log the invalid data

oVirt Provider OVN

  • BZ 1580254 removing routers external_gateway by port leaks static_routes
  • BZ 1559056 Provider does not check if generated port MAC address is already assigned

imgbased

  • BZ 1585028 [downstream clone - 4.2.4] RHV-H 4.2.3: hosted-engine agent fails to start after upgrade due to Permission denied: '/var/log/ovirt-hosted-engine-ha/broker.log' '/var/log/ovirt-hosted-engine-ha/agent.log'
  • BZ 1589544 [HE] host-deploy fails to start vdsmd on node/rhel-h
  • BZ 1534197 After updating to current RHV-H, vdsmd consistently fails to start on startup.

oVirt Node

  • BZ 1534197 After updating to current RHV-H, vdsmd consistently fails to start on startup.

No Doc Update

VDSM JSON-RPC Java

  • BZ 1571768 Connections shouldn't be closed after the connection to the host was recovered

oVirt Engine

  • BZ 1422428 [fr-FR] Admin portal->Quota: measurements units are mixed up (GB in English and Go in French all mixed up).
  • BZ 1542341 [fr, de, es] A button label on administration ->quota -> add page is getting truncated.
  • BZ 1542880 [fr, es, pt_BR, ja] Text alignment correction needed on compute -> virtual machines -> affinity groups -> new page
  • BZ 1541309 [ja_JP] Text Positioning needs to be adjusted on Administration -> Quota -> add screen.
  • BZ 1541348 [ja, zh_CN, ko] Text positioning needs to be adjusted on Administration - Configure -> scheduling policy -> new page
  • BZ 1576752 Number of "Prestarted VMs" is ignored and all VMs of Pool starts after editing existing Pool.
  • BZ 1582356 UI hangs with NPE while trying to migrate VM in Powering Up status

oVirt Hosted Engine HA

  • BZ 1571119 [HE] - Engine complaining that the 'VM HostedEngine is down with error. Exit message: resource busy: Failed to acquire lock: Lease is held by another host.'
  • BZ 1582489 Memory leak, at least 7.31 KB per minute

oVirt Hosted Engine Setup

  • BZ 1572542 argument vlan_tag is of type <type 'str'> and we were unable to convert to int: invalid literal for int() with base 10: '8000\\n1'"}"