Bug 1160212
Summary: | libvirt doesn't stop the NBD server after migration | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ján Tomko <jtomko> |
Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.0 | CC: | dyuan, rbalakri, xuzhang, zhwang, zpeng |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.2.8-7.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 07:46:50 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Ján Tomko
2014-11-04 11:01:46 UTC
Fixed upstream by: commit c3012a023f2ae5763027cafc1cf2881a3c7c4b45 Author: Weiwei Li <nuonuoli> AuthorDate: 2014-11-04 10:52:10 +0100 Commit: Ján Tomko <jtomko> CommitDate: 2014-11-04 10:54:53 +0100 qemu: stop NBD server after successful migration In qemuMigrationFinish mig->nbd can not be initialized by qemuMigrationEatCookie without the QEMU_MIGRATION_COOKIE_NBD flag. That causes qemuMigrationStopNBDServer to return early without stopping the NBD server properly. Signed-off-by: Weiwei Li <nuonuoli> Signed-off-by: Ján Tomko <jtomko> git describe: v1.2.10-14-gc3012a0 I can reproduce this bug with libvirt-1.2.8-5.el7.x86_64 steps 1.migrate guest from the source to the target with --copy-storage-all option # virsh migrate --live --copy-storage-all rhel6 qemu+ssh://10.66.100.131/system --verbose root.100.131's password: Migration: [100 %] 2.After finish migration, still could see the nbd service occupying a TCP port. # netstat -tunlp|grep qemu-kvm tcp6 0 0 :::49154 :::* LISTEN 2934/qemu-kvm Verify this bug with libvirt-1.2.8-7.el7, after finish storage migration with --copy-storage-all, the nbd service will release all ports which its occupy previous # netstat -tunlp|grep qemu-kvm tcp 0 0 0.0.0.0:5900 0.0.0.0:* LISTEN 3455/qemu-kvm 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://rhn.redhat.com/errata/RHSA-2015-0323.html |