From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.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 YEDZJoIqMWM6RAAAbAwnHQ (envelope-from ) for ; Mon, 26 Sep 2022 06:28: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 mp11.migadu.com with LMTPS id IOXiJoIqMWMNbwEA9RJhRA (envelope-from ) for ; Mon, 26 Sep 2022 06:28: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 3E85CD0B2 for ; Mon, 26 Sep 2022 06:28:50 +0200 (CEST) Received: from localhost ([::1]:43524 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ocfjd-0008UA-Fi for larch@yhetil.org; Mon, 26 Sep 2022 00:28:49 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47472) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ocfip-0008Sy-5k for help-guix@gnu.org; Mon, 26 Sep 2022 00:27:59 -0400 Received: from box.catsu.it ([46.232.250.231]:60297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ocfin-0005Gc-5S for help-guix@gnu.org; Mon, 26 Sep 2022 00:27:58 -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 803473426B for ; Mon, 26 Sep 2022 06:27:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=catsu.it; s=mail; t=1664166471; bh=9tBeIpToyhi3UEEKnxo8z20jxEKN4MCV188sm4ePtw8=; h=References:From:To:Subject:Date:In-reply-to:From; b=SiKTKkjPOEUx8m2pAE4p90ZGhPZe0Lh/uAgS7Z8dqaMuHj4VSr/ktgrQklgLuiRt3 I1RFObkzd1PkiEN5CTvYFp2Lb3rmRDmRN939o7xrA8It0kxvVlGS5uxAzng+LVgrBh ehGvCtWtwOGI0lnyq+mlqm+3JHJdAMioHT9N2lv1Q4VLbnVF1OjIfMpQR6MbU/BnqN pp0T5SknKxp4ODU1KrkSIMeesjaV8IXeGzu0Zp5BLmmGJawTia172CzUgps3v1hBoa 42GCxiGt8p8q7D7BYir3i8a/L2pK5HmAMiTFJDhi0p1VFqYHRsjSUV8fqB3s1J4nbT vPXeUnFV068Ug== References: <72e14f2a-2a87-ff22-5240-ebc57150fc47@posteo.de> To: help-guix@gnu.org Subject: Re: Virtualisation: Network problems Date: Mon, 26 Sep 2022 06:19:33 +0200 In-reply-to: <72e14f2a-2a87-ff22-5240-ebc57150fc47@posteo.de> Message-ID: <8635celpyy.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=1664166530; h=from:from:sender:sender:reply-to: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:dkim-signature; bh=UURF5AJylN3lnWFDCPs5lht/xyOT9UGf4NgvaVVCKAk=; b=r/Ub5Ua+WyEMyXoGY+l24qgizn6932nE64FFbb6TSboCnTuNbvc65jc+I5MmCMtYi0Ful1 5zhu/znlCbnxvYopHl02Y3byNBvH0/M6jXY4Yxxu9aXIQv1eN2mp74krKVrO2RhnKi7LY7 fMopxwGp5IBomzmHQ0vq9McCh4Ftt4fLnOMeVsgbRDBmbiBqICMciSoeIpRl07rEHHA7ug TbGr6mGgT/tIiiv994tXT9kpEhNrcRUjbTtSJ7xKTQKl6yE19G0tWQ9ajFpKJ+FqEwZXZD JUkKAeObKkpI7sBSqhWEe52N/eTe803TfDbQ1BA+f1NJjr90hVtiB7wTpvpI2g== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1664166530; a=rsa-sha256; cv=none; b=g+FVOhSLW54PTNnX+EUq1oZCL3dSg+VUu0UdSykC1YMwceAp5ng338SamM9HgY+Mj615Q7 /tN6htGgqnp7I68igw5UbsHTKc6cFy8rNlI8LdlgwthRXbsmq8IPE2g0aSPWrtgV6xpEQg aI/RENRYYcqn+H/rvp3YyDNmX5vbRAR+uUSRQEVtKO6na5l7JNxn6nyLD1VFxsgjGH+4tS FDTTi7bgnuy8jCc88p1J6sO+g5Bl7PH/BP4tkDYmlZUD8MtYzX6OY5L30oCOluP/QCbvpZ fv1ihqYeBT3+UZ753ajZ29Of3DeKoeF1aR3okWYhJ7pH7ZhzFoCchyT/aPxmGg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=catsu.it header.s=mail header.b=SiKTKkjP; 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=SiKTKkjP; 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: 3E85CD0B2 X-Spam-Score: -1.64 X-Migadu-Scanner: scn1.migadu.com X-TUID: ZclpVRX2Z3Sb =2D----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 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 connect > 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/v= irt-manager/virtManager/asyncjob.py", > line 65, in cb_wrapper > callback(asyncjob, *args, **kwargs) > File > "/gnu/store/n3gyjzsylh2abc3ykxz9kf5335azgacr-virt-manager-3.2.0/share/v= irt-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/v= irt-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/v= irt-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/p= ython3.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_0x61FAF349C9FB7F= 94.asc]... > > [[End of PGP Signed Part]] Hello, does ~sudo virsh net-list~ show a network? I remember having some issues wh= ich 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/qemu/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 =2D----BEGIN PGP SIGNATURE----- iQGzBAEBCAAdFiEEJeJoXz7yKQFBopzYUzV95hT0vZUFAmMxKkUACgkQUzV95hT0 vZVSCgv/cxOBEs9flfan+Q/f8/EprnD2aJ4Win7Z+v09Y32vuL3wtpXPX0qzknxJ gSryiE74zhJe3PY7djg+I07saAVZ7oC+GqMv3Sy10Co/csb5EsPIrGezDlsI7roE wmwlMaWkjXzIHqrkwC+CNIFId5mBgoXlzPH5/IMJlESCyBnQe6FyBCJ+xZzOuQkw WCne6c9zGZyHJxmLtN7k8WxeG2Gzk9OaSewh3EsBr6ib6QSDIB/QgCDVMGRXa+bP NlwsDGmCwYNWh8g2bwiBEAoK0X8DfhbHDEnhcQzdkGbSLQg8Z7lnLu93entQon3j 0w8siVDnOrISv9w9fRFnF8Jhhrl7zLvJFQnzc6y4YljPhvBV+6F9fFz7JYljTcat H0Za/otKKUn7PYKXek9J14NY0RIj9oBomnqPfmFiJU+feYx4yF44W6r1Rt3DHAEG X9LwhrBwk23j8rqGtKUBY3pllMMZNsGJNyigW/1HgKVPXKmDtrMCvSkojDOeaTCT YmzUe7GZ =3DwRh2 =2D----END PGP SIGNATURE-----