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=-0.9 required=3.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_PASS autolearn=ham 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 85BACC10F0E for ; Sun, 7 Apr 2019 08:26:45 +0000 (UTC) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5289821738 for ; Sun, 7 Apr 2019 08:26:45 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5289821738 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 ([127.0.0.1]:36002 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hD38W-0002Yh-LZ for qemu-devel@archiver.kernel.org; Sun, 07 Apr 2019 04:26:44 -0400 Received: from eggs.gnu.org ([209.51.188.92]:35055) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hD37j-0002He-W3 for qemu-devel@nongnu.org; Sun, 07 Apr 2019 04:25:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hD37i-0001mU-8M for qemu-devel@nongnu.org; Sun, 07 Apr 2019 04:25:55 -0400 Received: from indium.canonical.com ([91.189.90.7]:59864) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hD37g-0001kJ-6i for qemu-devel@nongnu.org; Sun, 07 Apr 2019 04:25:54 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1hD37c-0002C3-AO for ; Sun, 07 Apr 2019 08:25:48 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 4AA0E2E80CC for ; Sun, 7 Apr 2019 08:25:48 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 07 Apr 2019 08:17:32 -0000 From: sles <1807073@bugs.launchpad.net> To: qemu-devel@nongnu.org X-Launchpad-Notification-Type: bug X-Launchpad-Bug: product=qemu; status=New; importance=Undecided; assignee=None; X-Launchpad-Bug-Information-Type: Public X-Launchpad-Bug-Private: no X-Launchpad-Bug-Security-Vulnerability: no X-Launchpad-Bug-Commenters: slesru zhuhq X-Launchpad-Bug-Reporter: Hongquan Zhu (zhuhq) X-Launchpad-Bug-Modifier: sles (slesru) References: <154406426264.32667.2616897072259419283.malonedeb@chaenomeles.canonical.com> Message-Id: <155462505297.21252.8956715668662426160.malone@soybean.canonical.com> 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="18920"; Instance="launchpad-lazr.conf" X-Launchpad-Hash: 5aea8c7fa9483840bb61f3e30c66fd0ce4bf4213 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 91.189.90.7 Subject: [Qemu-devel] [Bug 1807073] Re: qemu-guest-agent stop work when fsfreeze X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bug 1807073 <1807073@bugs.launchpad.net> Errors-To: qemu-devel-bounces+qemu-devel=archiver.kernel.org@nongnu.org Sender: "Qemu-devel" Message-ID: <20190407081732.AzPYxYdmMwljWo2ie-YHkmvRMTmwlSB5cn9686NY5jY@z> Just got almost the same Ubuntu 16.04 as guest on Centos 7 host, all will latest updates. Execute of virsh qemu-agent-command inetgw2 '{"execute":"guest-fsfreeze-freeze"}' failed with agent not available ( or something like this), but fsfreeze exe= cuted in OS Apr 7 02:28:54 inetgw2 qemu-ga: info: guest-fsfreeze called snapshot was created = after this = virsh qemu-agent-command inetgw2 '{"execute":"guest-fsfreeze-thaw"}' failed too with agent not available So Ubuntu 16.04 VM stuck in freezed i/o state. qemu-guest-age 1:2.5+dfsg-5 Same version... Thank you! -- = You received this bug notification because you are a member of qemu- devel-ml, which is subscribed to QEMU. https://bugs.launchpad.net/bugs/1807073 Title: qemu-guest-agent stop work when fsfreeze Status in QEMU: New Bug description: Create a live snapshot, we should first to fsfreeze the file system. We d= o have only one disk mounted to /: Filesystem Size Used Avail Use% Mounted on udev 48G 0 48G 0% /dev tmpfs 9.5G 8.7M 9.5G 1% /run /dev/vda1 485G 1.5G 484G 1% / tmpfs 48G 0 48G 0% /dev/shm tmpfs 5.0M 0 5.0M 0% /run/lock tmpfs 48G 0 48G 0% /sys/fs/cgroup tmpfs 9.5G 0 9.5G 0% /run/user/0 snapshot action is OK, when we restore the snapshot, the file system beca= me read-only, and syslog seems stop writing until we fsck /dev/vda1 and mou= nt -o rw,remount /: Dec 5 00:39:16 systemd[1]: Started Session 180 of user root. Dec 5 00:45:05 qemu-ga: info: guest-fsfreeze called Dec 5 07:00:45 kernel: [ 114.623823] EXT4-fs (vda1): re-mounted. Opts: = (null) So after snapshoting, wo do fsthaw the file system, maybe the qga dose not respond or stop work, this action dose not execute successfully and there is no log to show the status of qemu-guest- agent. Version: libvirt 1.2.17 qemu 2.3.0 qemu-guest-agent 2.5 To manage notifications about this bug go to: https://bugs.launchpad.net/qemu/+bug/1807073/+subscriptions