From nobody Mon Feb 9 01:31:03 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) client-ip=205.139.110.120; envelope-from=libvir-list-bounces@redhat.com; helo=us-smtp-1.mimecast.com; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1596459789; cv=none; d=zohomail.com; s=zohoarc; b=l2F9lOHheMaJbpyJLDXKWPP0WnM8iFCQa9iSxTOppLYg3UinR7mX6PdUU3gycF8VMbdQBcKBW3vKsnI04hOUhzxMfokiQ96/+xNbHWmRbHB4Cw9urOhn7QaQZOY1zx5L9ZQcJGCvOfpotA1eiiCCPWrIISOhKpGriUw/U2P1Fm8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1596459789; h=Content-Type:Content-Transfer-Encoding:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To; bh=8S+ftfqJqsBnqVYOb7HEZ2ss/SmayRPJlBSOG9VW2Wk=; b=ACBHxOcttPOzWqfbBkju6far1/wtRsHR/vvFrR9UUymC1ThBYpQbF0SGidpQ+Rx6pOst7Q+ksqy5pilOHWy0gwKAIWpH8DCTb4ZoHfuzII9edIZgFY9n1vng/5IBHtYnin9Me1BXpKfaOWme1T2xM1rnXKreep6Q+PyB6cXIPgA= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass; spf=pass (zohomail.com: domain of redhat.com designates 205.139.110.120 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass header.from= (p=none dis=none) header.from= Return-Path: Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [205.139.110.120]) by mx.zohomail.com with SMTPS id 15964597896061005.7784844221601; Mon, 3 Aug 2020 06:03:09 -0700 (PDT) Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-102-EKPgM5q0NuC6TUGImaGUDg-1; Mon, 03 Aug 2020 09:01:04 -0400 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 15756800460; Mon, 3 Aug 2020 13:00:57 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id CE8BF8A177; Mon, 3 Aug 2020 13:00:56 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 543999A10B; Mon, 3 Aug 2020 13:00:56 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx08.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id 073D0sIq007979 for ; Mon, 3 Aug 2020 09:00:54 -0400 Received: by smtp.corp.redhat.com (Postfix) id 7315B26324; Mon, 3 Aug 2020 13:00:54 +0000 (UTC) Received: from speedmetal.redhat.com (unknown [10.40.208.38]) by smtp.corp.redhat.com (Postfix) with ESMTP id D257B19D7D for ; Mon, 3 Aug 2020 13:00:53 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596459667; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=8S+ftfqJqsBnqVYOb7HEZ2ss/SmayRPJlBSOG9VW2Wk=; b=UxxXiHiPSrWu9LtoURtgr/Z6R8exvMCfQE6STHSQL0bP5p9pgvnILBvT7oChOHmfwRlsv0 fpoJ6Tsy4OBfx+BLg0OP5v3LDRuSzVbJyKZWpt5M4uYU30c8PEmN78Lv4E/Jw/3Ii2O8Zm Qo86KsR2+08Yi8kqa1EsrEgcPT5vl7Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1596459788; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=8S+ftfqJqsBnqVYOb7HEZ2ss/SmayRPJlBSOG9VW2Wk=; b=eDtlvtTZnvFpwmf6nTVlWwSN6mMkFoe+c9hGRwa15lzUv94N5BCvTs699/DbxM0NhqQu65 vc5X4zI+Cga+pvA6/k1otHb+Sdhk5ZEaziN2GUIxNwWRHWFNWS6mdcu1OK3T9bGwCNKkeQ 1vSud2PP8Qyp+X++aM04Sq4iMvxnmnU= X-MC-Unique: EKPgM5q0NuC6TUGImaGUDg-1 From: Peter Krempa To: libvir-list@redhat.com Subject: [PATCH 1/2] kbase: debuglogs: Include more data to attach to bugreports Date: Mon, 3 Aug 2020 15:00:46 +0200 Message-Id: <519e38c852e42be85f9cdde68ef1c60195d246f1.1596459607.git.pkrempa@redhat.com> In-Reply-To: References: MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.84 on 10.5.11.23 X-loop: libvir-list@redhat.com X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=libvir-list-bounces@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Transfer-Encoding: quoted-printable X-ZohoMail-DKIM: pass (identity @redhat.com) (identity @redhat.com) Content-Type: text/plain; charset="utf-8" Promote the 'What to attach?' section to a first level heading and request also the XML config of a VM, coredump backtrace if something crashed and ask to not tear down the environment for the possibility to ask for additional data. Signed-off-by: Peter Krempa --- docs/kbase/debuglogs.rst | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/docs/kbase/debuglogs.rst b/docs/kbase/debuglogs.rst index decc53a69b..523adfcacc 100644 --- a/docs/kbase/debuglogs.rst +++ b/docs/kbase/debuglogs.rst @@ -136,13 +136,20 @@ setting which depends on the host configuration, *jou= rnald* in our case: Logging outputs: 2:journald What to attach? -~~~~~~~~~~~~~~~ +--------------- Now you should go and reproduce the bug. Once you're finished, attach: - ``/var/log/libvirt/libvirtd.log`` or whatever path you set for the daem= on logs. -- If the problem is related to a domain attach - ``/var/log/libvirt/qemu/$dom.log`` then. Or substitute ``qemu`` with wh= atever - hypervisor you are using. +- If the problem is related to a domain named ``$dom`` attach: + + - ``/var/log/libvirt/qemu/$dom.log`` (Or substitute ``qemu`` with what= ever + hypervisor you are using.) + - The XML configuration of the vm/domain obtained by ``virsh dumpxml $= dom`` + +- If the problem involves a crash of ``libvirtd`` or any other component = also + attach the core dump backtrace if possible (e.g. using ``coredumpctl``). - If you are asked for client logs, ``/tmp/libvirt_client.log``. +- Ideally don't tear down the environment in case additionall information= is + required. --=20 2.26.2