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:
qemu refuse to migrate when host ram over committed : error while loading state for instance 0x0 of device 'ram'
Version-Release number of selected component (if applicable):
kernel-3.10.0-12.el7.x86_64
qemu-kvm-1.5.3-2.el7.x86_64
spice-server-0.12.4-1.el7.x86_64
seabios-bin-1.7.2.2-2.el7.noarch
seavgabios-bin-1.7.2.2-2.el7.noarch
sgabios-bin-0.20110622svn-3.el7.noarch
ipxe-roms-qemu-20130517-1.gitc4bce43.el7.noarch
How reproducible:
8/10
Steps to Reproduce:
1.on a 8GB Ram host boot a 4GB guest(src),
2.then boot a incoming vm for migrate(dest) -incoming tcp:0:5200
3.on src: migrate -d tcp:0:5200
Actual results:
dest:
QEMU 1.5.3 monitor - type 'help' for more information
(qemu) info status
VM status: paused (inmigrate)
(qemu) qemu: warning: error while loading state for instance 0x0 of device 'ram'
load of migration failed
Expected results:
migrate success even host has little RAM over commitment.
Additional info:
1) host has swap enabled
[root@dhcp-8-232 ~]# free -m
total used free shared buffers cached
Mem: 7607 6283 1324 0 42 2106
-/+ buffers/cache: 4133 3474
Swap: 7951 7929 22
2) same test can pass on rhel6 host
It is not little RAM overcommit. You are running 2 4GB Guests + the host OS on the same host, that is quite a bit of overcommit. just do a "free" after launching the source guest. As if it works on RHEL6.6 host, it uses memory diferently (it appears differently enough to make this work). Notice from the free command that you have got without swap, and without swap you just have used too much RAM.
Could you do a ps -auxm while migration is happening? It appears that there is a memory leak somewhere.
(In reply to Juan Quintela from comment #3)
>
> Could you do a ps -auxm while migration is happening? It appears that there
> is a memory leak somewhere.
Will do, but currently that origin host is doing Windows timer device tests,
I would setup testbed for this BZ later.
Best Regards,
Xiaoqing Wei.
Hmmm, tried several rounds of migration, no luck to reproduce....
I searched my test run history, it was happen in a test loop which has hundreds of cases, I will re-submit one to see if reproducible now.
Regards,
Xiaoqing.
Description of problem: qemu refuse to migrate when host ram over committed : error while loading state for instance 0x0 of device 'ram' Version-Release number of selected component (if applicable): kernel-3.10.0-12.el7.x86_64 qemu-kvm-1.5.3-2.el7.x86_64 spice-server-0.12.4-1.el7.x86_64 seabios-bin-1.7.2.2-2.el7.noarch seavgabios-bin-1.7.2.2-2.el7.noarch sgabios-bin-0.20110622svn-3.el7.noarch ipxe-roms-qemu-20130517-1.gitc4bce43.el7.noarch How reproducible: 8/10 Steps to Reproduce: 1.on a 8GB Ram host boot a 4GB guest(src), 2.then boot a incoming vm for migrate(dest) -incoming tcp:0:5200 3.on src: migrate -d tcp:0:5200 Actual results: dest: QEMU 1.5.3 monitor - type 'help' for more information (qemu) info status VM status: paused (inmigrate) (qemu) qemu: warning: error while loading state for instance 0x0 of device 'ram' load of migration failed Expected results: migrate success even host has little RAM over commitment. Additional info: 1) host has swap enabled [root@dhcp-8-232 ~]# free -m total used free shared buffers cached Mem: 7607 6283 1324 0 42 2106 -/+ buffers/cache: 4133 3474 Swap: 7951 7929 22 2) same test can pass on rhel6 host