public inbox for pve-user@lists.proxmox.com
 help / color / mirror / Atom feed
From: Stefan Reiter <s.reiter@proxmox.com>
To: Sergey Korobkov <korobkovserg@gmail.com>
Cc: Damir Chanyshev <conflict342@gmail.com>,
	Proxmox VE user list <pve-user@lists.proxmox.com>
Subject: Re: [PVE-User] Live migration fails with "Mismatched RAM page size ram-node0 (local) 2097152 != 1526773257204281392"
Date: Thu, 4 Feb 2021 17:59:26 +0100	[thread overview]
Message-ID: <71fdbe8b-6212-e355-fdd3-ae2d69908307@proxmox.com> (raw)
In-Reply-To: <9b662ee8-10c1-9a71-e598-674538535c51@gmail.com>

On 02/02/2021 15:50, Sergey Korobkov wrote:
> Hello,
> 
> Two exactly the same machines ( except ram size 380G and 1.5T ).
> 
> Upgraded on Debian 10.7 from:
> pve-manager/6.1-5/9bf06119
> Linux 5.3.13-1-pve #1 SMP PVE 5.3.13-1 (Thu, 05 Dec 2019 07:18:14 +0100)
> QEMU emulator version 4.1.1 (pve-qemu-kvm_4.1.1)
> 
> to:
> pve-manager/6.3-3/eee5f901
> Linux 5.4.78-2-pve #1 SMP PVE 5.4.78-2 (Thu, 03 Dec 2020 14:26:17 +0100)
> QEMU emulator version 5.1.0 (pve-qemu-kvm_5.1.0)
> 
> We had enabled hugepages for virtual machines( "hugepages: 2" specified 
> in virtual machine description).
> 
> Live migration fails with errors like this:
> 
> Feb 02 16:26:13 QEMU[12090]: kvm7: load of migration failed: Invalid 
> argument
> Feb 02 16:26:13 QEMU[12090]: kvm7: error while loading state for
> instance 0x0 of device 'ram'
> Feb 02 16:26:13 QEMU[12090]: kvm7: Mismatched RAM page size ram-node0
> (local) 2097152 != 1526773257204281392
> 
> We think it's some overflow issue.
> 

Hi!

After looking carefully I believe to have found the root cause of this 
issue in an upstream bug that we run into since pve-qemu-kvm 5.1.0-4, 
where we started migrating dirty bitmaps.

I have sent a potential fix to the upstream qemu-devel mailing list:
https://lists.nongnu.org/archive/html/qemu-devel/2021-02/msg01711.html

If the resident experts on there agree that this is indeed the solution, 
we will most likely ship it once we release our QEMU 5.2 build :)

Thanks for the report!




      reply	other threads:[~2021-02-04 16:59 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-02-02 14:50 Sergey Korobkov
2021-02-04 16:59 ` Stefan Reiter [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=71fdbe8b-6212-e355-fdd3-ae2d69908307@proxmox.com \
    --to=s.reiter@proxmox.com \
    --cc=conflict342@gmail.com \
    --cc=korobkovserg@gmail.com \
    --cc=pve-user@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal