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 6EOILXp8MmNRAAAAbAwnHQ (envelope-from ) for ; Tue, 27 Sep 2022 06:30:50 +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 uOaDLXp8MmMnTwEAauVa8A (envelope-from ) for ; Tue, 27 Sep 2022 06:30:50 +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 3C3DAF0E9 for ; Tue, 27 Sep 2022 06:30:50 +0200 (CEST) Received: from localhost ([::1]:44232 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1od2F7-0007eO-Bh for larch@yhetil.org; Tue, 27 Sep 2022 00:30:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:35770) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1od2Eb-0007c6-CO for help-guix@gnu.org; Tue, 27 Sep 2022 00:30:18 -0400 Received: from box.catsu.it ([46.232.250.231]:58369) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1od2EY-0001xi-Tq for help-guix@gnu.org; Tue, 27 Sep 2022 00:30:17 -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 41C2560FE5; Tue, 27 Sep 2022 06:30:05 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=catsu.it; s=mail; t=1664253007; bh=jY0xmdiln+c9Vuf6/p8GC+TaCfDbuXVMnPiYW/mj/9Q=; h=References:From:To:Cc:Subject:Date:In-reply-to:From; b=NY2N6VZmheDOCf10FUBvo5x6Fo6dOPM/VY++gAAqy+f+aqg77W5favCmTAQ1MRvFT lMQgZdL5znz03kabFN+Els5WMhR/3SpMe3pkfzUqZwIJayy1nmxvW/dJJvalj+GkYi 9xMoyxhDckPixhJI/lgWFcaObbZlHTMY3f3NXGt4E2U0t/XkKzHiHNTdtCGhU0BBCD /tY2x+GsEjkASp9vHo4v6qMUwBxF8emErfHTQ8pie28jqgm+UnsEL+BP8QbM3HuRG4 9/UIrvkMMtorDImSNDDRwWG6ojqIUgjvUoo9ccUH7aB1I2Wc/14nVuL09/dcontLWo AXAfNGsNfp8WA== References: To: Gottfried Cc: help-guix@gnu.org Subject: Re: Virtualisation: Network problems Date: Tue, 27 Sep 2022 06:26:17 +0200 In-reply-to: Message-ID: <86r0zxphgz.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=1664253050; 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=krI9ev4/KTCtzrAmYc5TfYRWNzSRSnKTRV9vW2bnwsY=; b=KmmgBcNcYfGAWeFqOxKKgBc0b672c3xT8U8JtaoZXyhDDIDvDLtb7zPXt/rEUk0y8e6hCL 28K37LOUdOx4wHJf13Y7BNj3i+PpilP9xXA3qFNZEBCnYCsPBz/g89CVIb2Ai9A2xX4Pzc gRViBJlk0Vrq4HbDpN7quwnV15DEf6V6blQ1qdUItmniYgzofrlbwR/bdyrWZx3+HbLmV+ a7/X2Nq3ztQr8f8qKIZNqL4FjgNF1rf9hh9ae7XUnameuiShXxZKY6TzGzHT0/ah87NXBs gAS/VQ/mmzuEOYO8MSo9lQRUMI9j87ei+xjMAbQg0cyMw2+sCnQOVrYuX21q5Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664253050; a=rsa-sha256; cv=none; b=dEXegPHyeTE+5MwHv+hXpgbq+TaxcXcOftOeTkGtmYruMJvSHGJbaXjs5DJ/zTGB1A6YNn D1UkiHGBzqEBNzdkQB07yHJh7nE0tC4UoSVN7bp/JFLALqQVD7vtEptjiCef04zmQdg7VY SzRpPaaz8/lfJetizjF6i0Rx3p1Nory6Kxymsev5bH8/6GSES/8xw37YGK/0Nl0ghbgcAX oywvGXLByVEtTULGybzOEF5Gw2scblV5sDl7hN1eS4BpWPxGVFEaBjZ92uCinjc7/KCLoP 6iovmksvF2zT1yM/gjVs/yDAQdlJiBzMzMdmGBDIxYdzGqPxuA+btr+dmOTEZA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=catsu.it header.s=mail header.b=NY2N6VZm; 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.64 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=catsu.it header.s=mail header.b=NY2N6VZm; 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: 3C3DAF0E9 X-Spam-Score: -1.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: H2ibG7QaDbKL =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi Gottfried, I just looked at your system config again and compared it to mine. You are missing the virtlog service. See =3DVirtlog daemon=3D[1] #+begin_src scheme (service virtlog-service-type (virtlog-configuration (max-clients 1000))) #+end_src [1] https://guix.gnu.org/manual/en/html_node/Virtualization-Services.html 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]] =2D----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEJeJoXz7yKQFBopzYUzV95hT0vZUFAmMyfEwACgkQUzV95hT0 vZW2kgv/X6GFKBd1+u5o/E3kSFiaSzNUPacetGdhIJQAgoJ1OCMl/Krk0D1wD5lc VE32SZk8jtjzAc0gWgG7PqVoutOcki7d/yICeDifhu3S55wR9BmMpHv0m2ck1E48 gOYW2/3exK3Z5DlQiVE13UuC8ZLiQhaYVM8NYh6qtvagYY8dC7PjI9iwxRdsDiSK cXAYBs56SazXH9+tVZj65hp1XuMBZSNsSYYKo9IygtnJ8gbE3IHX0727IJrQB+Gj oi8yseYejpOX+1SgaIO+yKTpeZ8qsx5ZyjV6uc/1HshzShDR7TZ/WCkpP83bUvgu hK8Zct7EOzjQbbH3oARkQNpCKXUwY/Bd+gZSiMF6PZZ2/atfweZwbGfLWDOdvH5y DJi3HUIXvLDBKutyrbC3X52Tgieg4VxuuKGwwDFRa4JFgf9VgbNCprTDdGyceYxt kLRWzaH05VIT6o54YzLE0aTJjxVSAybhNIz4bfnTeHwCKcJ8LDEGn1veo4irQXYo g7gMIo1T =3Dn8UF =2D----END PGP SIGNATURE-----