From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:36266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hD3H5-0003PA-QQ for qemu-devel@nongnu.org; Sun, 07 Apr 2019 04:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hD3H4-0007tT-R0 for qemu-devel@nongnu.org; Sun, 07 Apr 2019 04:35:35 -0400 Received: from indium.canonical.com ([91.189.90.7]:35644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hD3H4-0007tG-J0 for qemu-devel@nongnu.org; Sun, 07 Apr 2019 04:35:34 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1hD3H3-0004MU-IM for ; Sun, 07 Apr 2019 08:35:33 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 5DAB62E80CB for ; Sun, 7 Apr 2019 08:35:33 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 07 Apr 2019 08:23:49 -0000 From: sles <1807073@bugs.launchpad.net> Reply-To: Bug 1807073 <1807073@bugs.launchpad.net> Sender: bounces@canonical.com References: <154406426264.32667.2616897072259419283.malonedeb@chaenomeles.canonical.com> Message-Id: <155462542989.20581.12967786214444318389.malone@chaenomeles.canonical.com> Errors-To: bounces@canonical.com Subject: [Qemu-devel] [Bug 1807073] Re: qemu-guest-agent stop work when fsfreeze List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org btw,I run OEL7 VM on the same host and Ubuntu 18.04 VM, both have newer qemu-guest-agent: 18.04: qemu-guest-age 1:2.11+dfsg- OEL7: rpm -qi qemu-guest-agent Name : qemu-guest-agent Epoch : 10 Version : 2.12.0 Release : 2.el7 Never had this problem on both oh these. -- = 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 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 556B2C10F0E for ; Sun, 7 Apr 2019 08:36:30 +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 1C9EF21738 for ; Sun, 7 Apr 2019 08:36:30 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 1C9EF21738 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]:36074 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hD3Hx-0003jw-9u for qemu-devel@archiver.kernel.org; Sun, 07 Apr 2019 04:36:29 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hD3H5-0003PA-QQ for qemu-devel@nongnu.org; Sun, 07 Apr 2019 04:35:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hD3H4-0007tT-R0 for qemu-devel@nongnu.org; Sun, 07 Apr 2019 04:35:35 -0400 Received: from indium.canonical.com ([91.189.90.7]:35644) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hD3H4-0007tG-J0 for qemu-devel@nongnu.org; Sun, 07 Apr 2019 04:35:34 -0400 Received: from loganberry.canonical.com ([91.189.90.37]) by indium.canonical.com with esmtp (Exim 4.86_2 #2 (Debian)) id 1hD3H3-0004MU-IM for ; Sun, 07 Apr 2019 08:35:33 +0000 Received: from loganberry.canonical.com (localhost [127.0.0.1]) by loganberry.canonical.com (Postfix) with ESMTP id 5DAB62E80CB for ; Sun, 7 Apr 2019 08:35:33 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Date: Sun, 07 Apr 2019 08:23:49 -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: <155462542989.20581.12967786214444318389.malone@chaenomeles.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: 1fa0d6ae46f9c0e826afd39c01d15dedd79d81f8 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: <20190407082349.rIBTjLAiS7t9FZ9AP7jSUGI9AKC29vMUFu1BhfFG470@z> btw,I run OEL7 VM on the same host and Ubuntu 18.04 VM, both have newer qemu-guest-agent: 18.04: qemu-guest-age 1:2.11+dfsg- OEL7: rpm -qi qemu-guest-agent Name : qemu-guest-agent Epoch : 10 Version : 2.12.0 Release : 2.el7 Never had this problem on both oh these. -- = 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