From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 4F515C2D0E4 for ; Mon, 23 Nov 2020 15:42:35 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 91CEB2080A for ; Mon, 23 Nov 2020 15:42:34 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 91CEB2080A Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=bugs.launchpad.net Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Received: from localhost ([::1]:54646 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khDz6-0003qk-Vw for qemu-devel@archiver.kernel.org; Mon, 23 Nov 2020 10:42:33 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:59460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khDxp-0002uA-Qg for qemu-devel@nongnu.org; Mon, 23 Nov 2020 10:41:13 -0500 Received: from indium.canonical.com ([91.189.90.7]:55248) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khDxm-0006uu-HN for qemu-devel@nongnu.org; Mon, 23 Nov 2020 10:41:13 -0500 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1khDxi-0001OX-AQ for ; Mon, 23 Nov 2020 15:41:06 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 272212E8184 for ; Mon, 23 Nov 2020 15:41:05 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Mon, 23 Nov 2020 15:30:29 -0000 From: sean mooney <1761798@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=nova; status=Confirmed; importance=Medium; assignee=None; X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Tags: libvirt live-migration X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: balazs-gibizer dgilbert-h dsutyagin kashyapc melwitt mriedem sean-k-mooney X-Launchpad-Bug-Reporter: Matt Riedemann (mriedem) X-Launchpad-Bug-Modifier: sean mooney (sean-k-mooney) References: <152303245198.3233.1033096993665779324.malonedeb@wampee.canonical.com> Message-Id: <160614542931.15552.11882143602350060958.malone@wampee.canonical.com> Subject: [Bug 1761798] Re: live migration intermittently fails in CI with "VQ 0 size 0x80 Guest index 0x12c inconsistent with Host index 0x134: delta 0xfff8" X-Launchpad-Message-Rationale: Subscriber (QEMU) @qemu-devel-ml X-Launchpad-Message-For: qemu-devel-ml Precedence: bulk X-Generated-By: Launchpad (canonical.com); Revision="c35ff22711d15549e2303ae18ae521fd91f6bf00"; Instance="production" X-Launchpad-Hash: ce47786eb1fadcee0a39622dfbd444204bc492b6 Received-SPF: none client-ip=91.189.90.7; envelope-from=bounces@canonical.com; helo=indium.canonical.com X-Spam_score_int: -65 X-Spam_score: -6.6 X-Spam_bar: ------ X-Spam_report: (-6.6 / 5.0 requ) BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.249, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.23 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1761798 <1761798@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" in the new case we have the same qemu/libvirt version in both nodes 4.2.1Debian 1:4.2-3ubuntu6.7~cloud0 and in this cae its failng for the virtio-blk device not the memroy ballon before the migration starts we see -sandbox on,obsolete=3Ddeny,elevateprivileges=3Ddeny,spawn=3Ddeny,resourcec= ontrol=3Ddeny \ -msg timestamp=3Don char device redirected to /dev/pts/2 (label charserial0) virtio: bogus descriptor or out of resources 2020-11-20 14:25:39.911+0000: initiating migration on the destination https://zuul.opendev.org/t/openstack/build/d50877ae15db4022b82f4bb1d1d52cea= /log/logs/subnode-2/libvirt/qemu/instance-0000001a.txt then on the source we see char device redirected to /dev/pts/1 (label charserial0) 2020-11-20T14:25:40.720757Z qemu-system-x86_64: VQ 0 size 0x80 Guest index = 0xb8 inconsistent with Host index 0xe0: delta 0xffd8 2020-11-20T14:25:40.720785Z qemu-system-x86_64: Failed to load virtio-blk:v= irtio 2020-11-20T14:25:40.720790Z qemu-system-x86_64: error while loading state f= or instance 0x0 of device '0000:00:04.0/virtio-blk' 2020-11-20T14:25:40.720824Z qemu-system-x86_64: load of migration failed: O= peration not permitted when it fails https://zuul.opendev.org/t/openstack/build/d50877ae15db4022b82f4bb1d1d52cea= /log/logs/libvirt/qemu/instance-0000001a.txt -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1761798 Title: live migration intermittently fails in CI with "VQ 0 size 0x80 Guest index 0x12c inconsistent with Host index 0x134: delta 0xfff8" Status in OpenStack Compute (nova): Confirmed Status in QEMU: New Bug description: Seen here: http://logs.openstack.org/37/522537/20/check/legacy-tempest-dsvm- multinode-live- migration/8de6e74/logs/subnode-2/libvirt/qemu/instance-00000002.txt.gz 2018-04-05T21:48:38.205752Z qemu-system-x86_64: -chardev pty,id=3Dcharser= ial0,logfile=3D/dev/fdset/1,logappend=3Don: char device redirected to /dev/= pts/0 (label charserial0) warning: TCG doesn't support requested feature: CPUID.01H:ECX.vmx [bit 5] 2018-04-05T21:48:43.153268Z qemu-system-x86_64: VQ 0 size 0x80 Guest inde= x 0x12c inconsistent with Host index 0x134: delta 0xfff8 2018-04-05T21:48:43.153288Z qemu-system-x86_64: Failed to load virtio-blk= :virtio 2018-04-05T21:48:43.153292Z qemu-system-x86_64: error while loading state= for instance 0x0 of device '0000:00:04.0/virtio-blk' 2018-04-05T21:48:43.153347Z qemu-system-x86_64: load of migration failed:= Operation not permitted 2018-04-05 21:48:43.198+0000: shutting down, reason=3Dcrashed And in the n-cpu logs on the other host: http://logs.openstack.org/37/522537/20/check/legacy-tempest-dsvm- multinode-live- migration/8de6e74/logs/screen-n-cpu.txt.gz#_Apr_05_21_48_43_257541 There is a related Red Hat bug: https://bugzilla.redhat.com/show_bug.cgi?id=3D1450524 The CI job failures are at present using the Pike UCA: ii libvirt-bin 3.6.0-1ubuntu6.2~cloud0 ii qemu-system-x86 1:2.10+dfsg-0ubuntu3.5~cloud0 To manage notifications about this bug go to: https://bugs.launchpad.net/nova/+bug/1761798/+subscriptions