From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id iK6TOlvVMWNlNQEAbAwnHQ (envelope-from ) for ; Mon, 26 Sep 2022 18:37:48 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id gGKSOlvVMWM4GgAAauVa8A (envelope-from ) for ; Mon, 26 Sep 2022 18:37:47 +0200 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 aspmx1.migadu.com (Postfix) with ESMTPS id 9A66E3B63F for ; Mon, 26 Sep 2022 18:37:47 +0200 (CEST) Received: from localhost ([::1]:37796 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocr74-0008Kh-BB for larch@yhetil.org; Mon, 26 Sep 2022 12:37:46 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34814) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocr4L-0008Im-0t for help-guix@gnu.org; Mon, 26 Sep 2022 12:34:57 -0400 Received: from box.catsu.it ([46.232.250.231]:35187) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocr4H-0007ly-Sh for help-guix@gnu.org; Mon, 26 Sep 2022 12:34:56 -0400 Received: from authenticated-user (box.catsu.it [46.232.250.231]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.catsu.it (Postfix) with ESMTPSA id 277CE30F02; Mon, 26 Sep 2022 18:34:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=catsu.it; s=mail; t=1664210088; bh=bCWQ9dnX2FrHR1sh9Wgy/XO6UFUO02z62xKFNO6b6w0=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=x5uma0XgpWQ9rxGArMzkywBnpp+IN5SFaMsUVdBljcKv3GPp+1JPyEwELnLDuiJNs LtEfnhpaS2dV2hlVmowAg3ET751T11wpD0I7zyWN8kiejZdSWidzreSYdQrDeLKZ+u dwbXkXRMjsmnxTcYnTgk1JOZGv2xpUOXjqiQY1NFF5X+BSph/wqQA4lwma0aVFhhI1 DW/+x7xKPL0zb/+O4H9T1fpdzZVnKMnNda1PGRDUSwMueoVKOcMQzwF9e00zA0AAf1 Ts+ZIRFJris136Yf8KFEs5vdU5SgEGTQXCucsyC13kUdp4B9+bOOArswEHqatbLdwl s7+3tD/JzOpeg== References: To: Gottfried Cc: help-guix@gnu.org Subject: Re: Virtualisation: Network problems Date: Mon, 26 Sep 2022 18:29:57 +0200 In-reply-to: Message-ID: <8635cep00o.fsf@catsu.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=46.232.250.231; envelope-from=chris@catsu.it; helo=box.catsu.it X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_FAIL=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" Reply-to: Chris Keschnat From: Chris Keschnat via X-Migadu-Flow: FLOW_IN X-Migadu-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664210267; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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:dkim-signature; bh=BCaGc+USZvNRjBKYjlLF8VZmE/sYnhJ+ARcyBJiYjJ4=; b=POLlpuiKi+SfY4UfF5+RhCpmQrHRQ4r2a6ZNUpxvVS3ZekqUs2i4i6d7ZNNCF6wIbFmEJ8 VpPI5iAy+vmKHlFw0JNXDf+ZcczlNHSqR8IXpx4rTrozDRs21Mokg2T7WmEq1wPVLFxe6N 4CXb/2en5Pt2STZRJll2kcRzm0PkTmy7fOtfXwUOYmeqjtOp8bRm+KdSGeRQrMi51KxFpi HxA4+U6iHwivNpRoAMTYM4R+9YGVqLrl/oCqxowbVYmISv0Xeyme/MPY5wdlc1f/CeD9j8 iTprS/oI6qK+7n50JOOq2rrXRSK5FgVw4kTcqV4GI9009RWyRlGdRDhyh67hhg== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664210267; a=rsa-sha256; cv=none; b=RVPc1FSeqxcKgwi4ayOj+qF76SDInzcdW+/H/T5LG0LLsFrJkDW2EBDzQmtyh4DFi6NATg q/xLwUibaEH0aEKcY191KcUOeuSakxp0SITLb+t0asB6We8FSunMPzk7xUGf3nh/f2jpFo HdDFdaYPjhI6wjENLtU68MdpfJHdu74GEd6ZvfK0FX8TR3Lii59JIo1+z3kIm31Who2AFg 0eAq+MsUCk6K7UtrsDDB8KUbBNggvOYKS/fCZgVJ0/1LOugH8UAUek2G1NvxOEatIBAivL 2MtptYhDBC4dii53q5tzSDswrRQgrH+pr3HZm+mG4DT8+8F0MW5e9CyIAooGtg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=catsu.it header.s=mail header.b=x5uma0Xg; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -1.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=catsu.it header.s=mail header.b=x5uma0Xg; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of "help-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="help-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 9A66E3B63F X-Spam-Score: -1.65 X-Migadu-Scanner: scn1.migadu.com X-TUID: M0bQ0ui3OExt =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Gottfried writes: > [[PGP Signed Part:Undecided]] > Hi Chris, > > thanks for your answer > > does: >> ~sudo virsh net-list~ show a network? > > yes, it shows a network: ("ja" means yes) > > gfp@Tuxedo ~$ sudo virsh net-list > Name Status Automatischer Start Bleibend > ---------------------------------------------------- > network Aktiv ja ja > > > Gottfried > > > > ---------------------------------------------------- > From: Chris Keschnat > To: help-guix@gnu.org > Subject: Re: Virtualisation: Network problems > Message-ID: <8635celpyy.fsf@catsu.it> > Content-Type: text/plain; charset=3Dutf-8 > > > Gottfried writes: > > > [[PGP Signed Part:Undecided]] > > Hi Guixers, > > > > Basic details of my Virtualisation setup: > > > > Name: QEUMU/KVM > > Libvirt URL: qemu:///System > > Autoconnect yes > > ------------------------------------- > > Network selection > > It gives me 3 options: > > > > 1. I added a virtual network > > Name: network > > Device: virbr0 is there > > IPv4 configuration is there > > > > Details: > > > > > > network > > e324aabf-6ad4-4407-9028-82c96be96e0c > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > 2. Bridge device > > 3. Macvtap device > > > > I guess the 1. option is the one I need. May be I made a mistake in > > adding a virtual network > > ------------------------------------------------------------------- > > > > When I want to set up the QEMU/KVM network connection for the VM > > and I want to run the last step(the 5/5 step) of installing an iso > > it says: > > > > Installation konnte nicht fertiggestellt werden/ > > Installation could not be completed: > > Failed connect socket to > > '/var/run/libvirt/virtlogd-sock': > > No such file or directory > > ------------------------------------------------------------------- > > Installation konnte nicht fertiggestellt werden: =C2=ABFailed to conne= ct > > socket to '/var/run/libvirt/virtlogd-sock': No such file or directory= =C2=BB > > > > Traceback (most recent call last): > > File > > > "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/vir= t-manager/virtManager/asyncjob.py", > > line 65, in cb_wrapper > > callback(asyncjob, *args, **kwargs) > > File > > > "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/vir= t-manager/virtManager/createvm.py", > > line 2001, in _do_async_install > > installer.start_install(guest, meter=3Dmeter) > > File > > > "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/vir= t-manager/virtinst/install/installer.py", > > line 701, in start_install > > domain =3D self._create_guest( > > File > > > "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/vir= t-manager/virtinst/install/installer.py", > > line 649, in _create_guest > > domain =3D self.conn.createXML(install_xml or final_xml, 0) > > File > > > "/gnu/store/anh3nz3qr46f0ds5i1pswisrc9s3cf3f-python-libvirt-8.6.0/lib/pyt= hon3.9/site-packages/libvirt.py", > > line 4442, in createXML > > raise libvirtError('virDomainCreateXML() failed') > > libvirt.libvirtError: Failed to connect socket to > > '/var/run/libvirt/virtlogd-sock': No such file or directory > > -------------------------------------------------------------------- > > > > > > But running the last step: > > > > Failed to find a suitable default network > > ----------------------------------------------- > > > > What are the problems here? > > Any suggestions? > > > > Gottfried > > > > [2. OpenPGP public key --- application/pgp-keys; > OpenPGP_0x61FAF349C9FB7F94.asc]... > > > > [[End of PGP Signed Part]] > -------------------------------------------------------------------------= ------ > Hello, > does ~sudo virsh net-list~ show a network? I remember having some issues > which I never solved "the guix way", only > manually. > > If virsh doesn't show a network, you can try (locate a > =3Ddefault.xml=3D on your machine): > > #+begin_src sh > > sudo virsh net-define > /gnu/store/47s1cs65izld791m38aa461s02q5ngb7-libvirt-8.6.0/etc/libvirt/qem= u/networks/default.xml > sudo virsh net-autostart default > sudo virsh net-start default > > #+end_src > > > Obviously I would prefer a cleaner way, but I haven't looked further > into this yet. If anyone knows the answer, I would appreciate it. > > PS: Just for completeness, the =3Ddefault.xml=3D looks like this: > > #+begin_src conf > > > default > > > > > > > > > > #+end_src > > [5. OpenPGP public key --- application/pgp-keys; OpenPGP_0x61FAF349C9FB7F= 94.asc]... > > [[End of PGP Signed Part]] Hi Gottfried, is virtlogd running? I am not sure how it is/was started, but it is running on my system. #+begin_src sh ck@beehive ~ $ ps -ef | grep virtlog root 986 1 0 17:34 ? 00:00:00 /gnu/store/v53l9k5badh84mf6arhhk76f0pa6ly46-libvirt-8.6.0/sbin/virtlogd =2D -f /gnu/store/7sd588q79rhdwvq8wypx5n2finsn8gsf-virtlogd.conf #+end_src PS: I too am German, so I understand. PPS: I even use a Tuxedo too! Aura 15 Gen2, pretty happy with it (: =2D----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEJeJoXz7yKQFBopzYUzV95hT0vZUFAmMx1KcACgkQUzV95hT0 vZWxtQv+OnNpPrHFLCvylZQnnT9GzHCsKSxXLchXuHDZSG6V8XAlvtsV5Z7iddSP WRUjYIAYohlWf3Yl9Qcd0kqSn2S2NT4j5nmPUDhr17r2eHhEHYcD9WduC6RPs3pN uZkKpflacHVknN5/utVJBM/MtNv6NDjgsBm+VvkH3A+Q6aEK3fzyMYR4mhMmCPdZ Ft9azdTmr2yf4Gtp4Gx1u+m67LT0nHNWU6x6e7A+FPhcLie9LmWmJAV6wMU3ouEB Q/hfPDS6pGhNcM8f/NiPSY7q2G25OK6T7PcLV0ljrSS57nP1JjOur2kNWEoGCT+o AduLjbx0ZnKwTwS6EqLGDN/TtI7akQMQdiVhNSMIzERMCuAz7go+jdJFf9mORx0p R2rVsXfo5O+GKVqAde4Q6qm0TgVEH+2FGBa9Eyns/AIPEdN1vzsS8dWw5SKk7tqn PQDtwPrPEGAnLU3FHABa/gKD8nYEhh2oVsk0GFXudMkmIFOTwC3g4Nj7rLTuoU9+ DOHDFGdc =3DquL4 =2D----END PGP SIGNATURE-----