Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
I do tunnelled migration with 1024 round and since about 500 round it will report an error
# virsh migrate --live --p2p --tunnelled kvm-rhel6-i386 qemu+ssh://10.66.85.231/system
error: internal error Cannot extract Qemu version from '/usr/libexec/qemu-kvm'
Version-Release number of selected component (if applicable):
# rpm -qa libvirt qemu-kvm kernel
kernel-2.6.32-131.0.5.el6.x86_64
qemu-kvm-0.12.1.2-2.161.el6.x86_64
libvirt-0.8.7-18.el6.x86_64
How reproducible:
always
Steps to Reproduce:
1. Prepare 2 hosts and prepare a nfs which is mounted on both hosts, and setting the virt_use_nfs boolean on both sides
# setsebool -P virt_use_nfs 1
and close the iptable on both sides
# iptables -F
2. start a domain on source host using nfs
3. sh migrate.sh <guestname> <source_host_ip> <target_host_ip>
cat migrate.sh
#!/bin/bash
GUEST=$1
HOST1=$2
HOST2=$3
OPTIONS="--live --p2p --tunnelled"
TRANSPORT="ssh"
date
for i in `seq 1 1024`;
do
echo "Loop ${i}: Migrating ${GUEST} from ${HOST1} to ${HOST2}"
echo "COMMAND: virsh migrate ${OPTIONS} ${GUEST} qemu+${TRANSPORT}://${HOST2}/system"
time virsh migrate ${OPTIONS} ${GUEST} qemu+${TRANSPORT}://${HOST2}/system >> /tmp/mig_result 2>&1 >> /tmp/mig_result
echo "Loop ${i}: Migrating ${GUEST} back from ${HOST2} to ${HOST1}"
echo "COMMAND: virsh -c qemu+${TRANSPORT}://${HOST2}/system migrate ${OPTIONS} ${GUEST} qemu+${TRANSPORT}://${HOST1}/system"
time virsh -c qemu+${TRANSPORT}://${HOST2}/system migrate ${OPTIONS} ${GUEST} qemu+${TRANSPORT}://${HOST1}/system 2>&1 >> /tmp/mig_result
done
date
4. see screen output and /tmp/mig_result file
Actual results:
in the end, there will be errors when doing migration from target to source
error: internal error Cannot extract Qemu version from '/usr/libexec/qemu-kvm'
Expected results:
all 1024 round migration will succeed with no error
Additional info:
I you restart the test, do you get the same error ? And is it failing
more or less after the same number of migrations ?
If yes that smells like running out of file descriptors because I don't
see what else could be failing in that code ...
Daniel
(In reply to comment #1)
> I you restart the test, do you get the same error ? And is it failing
> more or less after the same number of migrations ?
>
> If yes that smells like running out of file descriptors because I don't
> see what else could be failing in that code ...
>
> Daniel
I do more than 2 times and still can get the error info.
(In reply to comment #5)
> Is this still reproducible on the latest 0.9.8 builds?
I can not reproduce on
qemu-kvm-0.12.1.2-2.211.el6.x86_64
kernel-2.6.32-223.el6.x86_64
libvirt-0.9.8-1.el6.x86_64
(In reply to comment #6)
> (In reply to comment #5)
> > Is this still reproducible on the latest 0.9.8 builds?
>
> I can not reproduce on
> qemu-kvm-0.12.1.2-2.211.el6.x86_64
> kernel-2.6.32-223.el6.x86_64
> libvirt-0.9.8-1.el6.x86_64
Ok, I'll close, but of course don't hesitate to reopen if the problem reappears.
Description of problem: I do tunnelled migration with 1024 round and since about 500 round it will report an error # virsh migrate --live --p2p --tunnelled kvm-rhel6-i386 qemu+ssh://10.66.85.231/system error: internal error Cannot extract Qemu version from '/usr/libexec/qemu-kvm' Version-Release number of selected component (if applicable): # rpm -qa libvirt qemu-kvm kernel kernel-2.6.32-131.0.5.el6.x86_64 qemu-kvm-0.12.1.2-2.161.el6.x86_64 libvirt-0.8.7-18.el6.x86_64 How reproducible: always Steps to Reproduce: 1. Prepare 2 hosts and prepare a nfs which is mounted on both hosts, and setting the virt_use_nfs boolean on both sides # setsebool -P virt_use_nfs 1 and close the iptable on both sides # iptables -F 2. start a domain on source host using nfs 3. sh migrate.sh <guestname> <source_host_ip> <target_host_ip> cat migrate.sh #!/bin/bash GUEST=$1 HOST1=$2 HOST2=$3 OPTIONS="--live --p2p --tunnelled" TRANSPORT="ssh" date for i in `seq 1 1024`; do echo "Loop ${i}: Migrating ${GUEST} from ${HOST1} to ${HOST2}" echo "COMMAND: virsh migrate ${OPTIONS} ${GUEST} qemu+${TRANSPORT}://${HOST2}/system" time virsh migrate ${OPTIONS} ${GUEST} qemu+${TRANSPORT}://${HOST2}/system >> /tmp/mig_result 2>&1 >> /tmp/mig_result echo "Loop ${i}: Migrating ${GUEST} back from ${HOST2} to ${HOST1}" echo "COMMAND: virsh -c qemu+${TRANSPORT}://${HOST2}/system migrate ${OPTIONS} ${GUEST} qemu+${TRANSPORT}://${HOST1}/system" time virsh -c qemu+${TRANSPORT}://${HOST2}/system migrate ${OPTIONS} ${GUEST} qemu+${TRANSPORT}://${HOST1}/system 2>&1 >> /tmp/mig_result done date 4. see screen output and /tmp/mig_result file Actual results: in the end, there will be errors when doing migration from target to source error: internal error Cannot extract Qemu version from '/usr/libexec/qemu-kvm' Expected results: all 1024 round migration will succeed with no error Additional info: