Bug 1948376
Summary: | Failed to migrate vm when migration encryption is enabled - new deployments | ||
---|---|---|---|
Product: | [oVirt] ovirt-engine | Reporter: | Qin Yuan <qiyuan> |
Component: | General | Assignee: | Milan Zamazal <mzamazal> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Qin Yuan <qiyuan> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 4.4.6.3 | CC: | ahadas, bugs, fjin, mzamazal, ymankad |
Target Milestone: | ovirt-4.4.6 | Keywords: | Automation, Regression |
Target Release: | 4.4.6.5 | Flags: | pm-rhel:
ovirt-4.4+
pm-rhel: blocker? |
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ovirt-engine-4.4.6.5 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-05-05 05:35:56 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: | 1949134 | ||
Bug Blocks: |
Description
Qin Yuan
2021-04-12 06:18:40 UTC
I can reproduce the bug. QEMU on the destination complains: qemu-kvm: Verify failed: No certificate was found. It looks like some change in RHEL/AV 8.4, I must look into it further. Encrypted migrations work when migrating on 8.3 or when migrating from 8.4 to 8.3. But encrypted migrations to 8.4 don't. It looks like a change or regression on the platform, I filed a libvirt bug: BZ 1949134 The problem is caused, as explained in BZ 1949134, by a change in the default libvirt configuration. libvirt requires now not only server migration certificates, but also client migration certificates, for good reasons. The simplest way to remedy the problem is to reuse migration server certificates as migration client certificates, by making the corresponding links in libvirt-migrate certificate directory on the host. Unless anybody objects to this solution, I'll make a patch implementing it. Verified with: ovirt-engine-4.4.6.5-0.17.el8ev.noarch vdsm-4.40.60.5-1.el8ev.x86_64 libvirt-7.0.0-13.module+el8.4.0+10604+5608c2b4.x86_64 host kernel: kernel-4.18.0-304.el8.x86_64 guest kernel: kernel-4.18.0-240.el8.x86_64 Steps: 1. Create a Data Center with Compatibility Version 4.6 on ovirt-engine-4.4.6.5 2. Add a new Cluster 3. Add two RHEL 8.4 hosts 4. Create and run a VM: - Template latest-rhel-guest-image-8.3-infra - enable migration encryption 5. Migrate the VM Result: Migrating VM with migration encryption enabled from RHEL 8.4 host to RHEL 8.4 host succeeds. This bug report has Keywords: Regression or TestBlocker. Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP. This bugzilla is included in oVirt 4.4.6 release, published on May 4th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.6 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report. |