Bug 2105296 - cannot live migrate vm from rhv-h 4.4.10 to 4.50 (4.4.11)
Summary: cannot live migrate vm from rhv-h 4.4.10 to 4.50 (4.4.11)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 4.5.0
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: ovirt-4.5.1
: ---
Assignee: Milan Zamazal
QA Contact: meital avital
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-08 12:58 UTC by Ashwani Singh
Modified: 2022-08-23 09:13 UTC (History)
4 users (show)

Fixed In Version: vdsm-4.50.1.2
Doc Type: Bug Fix
Doc Text:
Virtual machines with VNC created by earlier Manager versions sometimes failed to migrate to newer hosts because the VNC password was too long. This issue has been fixed.
Clone Of:
Environment:
Last Closed: 2022-07-14 12:54:34 UTC
oVirt Team: Virt
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-47012 0 None None None 2022-07-08 12:59:10 UTC
Red Hat Product Errata RHSA-2022:5555 0 None None None 2022-07-14 12:54:40 UTC

Description Ashwani Singh 2022-07-08 12:58:25 UTC
Description of problem:

Cu wants to upgrade his environment to RHV 4.4.11 / 4.5.0.

Migration of VMs is happening for some of the hosts between source and destination but for some hosts it failed.

But because of migration issue of VM ,he is facing difficulty in upgradation.


Version-Release number of selected component (if applicable):
ovirt-engine-4.5.0.7-0.9.el8ev.noarch
vdsm-4.50.0.13-1.el8ev.x86_64
qemu-kvm-6.2.0-11.module+el8.6.0+14707+5aa4b42d.x86_64
libvirt-8.0.0-5.module+el8.6.0+14480+c0a3aa0f.x86_64


How reproducible:
100%

Steps to Reproduce:

1. upgrade the RHV manager to 4.5 from 4.4 -successful

2. try to upgrade the hosts 

3. vm migration getting failed for some of the hosts ,so upgrade of hosts not possible.If we try to change the console type from VNC to SPICE and see if this allows the VM to migrate however it might fail if the VM isn't rebooted first to pick up the console change
4. have file this bug so that we should allow VMs with VNC consoles to migrate to newer hosts from older hosts.

Actual results:

failed to migrate VM to other running hosts when upgrading a hosts.

Expected results:

Hosts should get upgraded and VM should be migrated to other hosts
Additional info:
Initially we thought that vm are migrating only for the source and destination having same libvirt versions but later Cu confirmed us that migration is happening for hosts with different libvirt versions too

Comment 3 Milan Zamazal 2022-07-08 19:39:37 UTC
> libvirt.libvirtError: unsupported configuration: VNC password is 12 characters long, only 8 permitted

This problem happens when migrating to newer hosts, due to changes in libvirt. It has been addressed in Vdsm 4.50.1.2. Once the destination hosts exhibiting the problem are upgraded to RHV 4.4 SP1 Batch #1, VM will be able to migrate to them again.

See also BZ 2090156.

Comment 4 Michal Skrivanek 2022-07-11 08:01:25 UTC
verified in https://bugzilla.redhat.com/show_bug.cgi?id=2090156#c6

Comment 9 errata-xmlrpc 2022-07-14 12:54:34 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 (Moderate: RHV Manager (ovirt-engine) [ovirt-4.5.1] security, bug fix and update), 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/RHSA-2022:5555


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