From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id 2CMgEfoWaWS2kQAASxT56A (envelope-from ) for ; Sat, 20 May 2023 20:52:42 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id OEhBEfoWaWRzLAEAauVa8A (envelope-from ) for ; Sat, 20 May 2023 20:52:42 +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 D491D30187 for ; Sat, 20 May 2023 20:52:41 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1q0Rgv-0004cs-8y; Sat, 20 May 2023 14:52:33 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q0Hi4-00029b-CY for bug-guix@gnu.org; Sat, 20 May 2023 04:13:04 -0400 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1q0Hi4-0000JT-40 for bug-guix@gnu.org; Sat, 20 May 2023 04:13:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1q0Hi3-0001L3-V1 for bug-guix@gnu.org; Sat, 20 May 2023 04:13:03 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#63602: guix deploy verbose option Resent-From: Artur Wroblewski Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Sat, 20 May 2023 08:13:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 63602 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 63602@debbugs.gnu.org X-Debbugs-Original-To: bug-guix@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16845703715096 (code B ref -1); Sat, 20 May 2023 08:13:03 +0000 Received: (at submit) by debbugs.gnu.org; 20 May 2023 08:12:51 +0000 Received: from localhost ([127.0.0.1]:57806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q0Hhq-0001K3-Dt for submit@debbugs.gnu.org; Sat, 20 May 2023 04:12:51 -0400 Received: from lists.gnu.org ([209.51.188.17]:52988) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1q08FU-0000bb-OE for submit@debbugs.gnu.org; Fri, 19 May 2023 18:06:57 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q08FU-0002hs-I6 for bug-guix@gnu.org; Fri, 19 May 2023 18:06:56 -0400 Received: from mx0.riseup.net ([198.252.153.6]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1q08FS-0006iH-PX for bug-guix@gnu.org; Fri, 19 May 2023 18:06:56 -0400 Received: from fews01-sea.riseup.net (fews01-sea-pn.riseup.net [10.0.1.109]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mail.riseup.net", Issuer "R3" (not verified)) by mx0.riseup.net (Postfix) with ESMTPS id 4QNLXq43jBz9t2L for ; Fri, 19 May 2023 22:06:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1684534011; bh=cHtXYAL8FcCjgsZtyyK2hbtFokacKSrVwJhlcxN3Rsw=; h=Date:From:To:Subject:From; b=pzvvX0rtCGdcsvuMNY1QN/4OSOIwQLBHhzWfQUgnASpU2bPoft/3sDYEUEzo34HUe lqTxu7s3dSNXWqf8XgqCIu579DxqqU19GcphjgjbBIw2doMl+zAI2uG5PcECDRij6Z oltIGgd/fSBpboAaJZ8pDnmr4jYAAiERWA2x5xKg= X-Riseup-User-ID: 8F17811687D7CA04466907F52019CBAE42048C50B5455D562FEB694C89BA1733 Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews01-sea.riseup.net (Postfix) with ESMTPSA id 4QNLXp5WJNzJq6L for ; Fri, 19 May 2023 22:06:50 +0000 (UTC) Date: Fri, 19 May 2023 23:06:47 +0100 From: Artur Wroblewski Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Received-SPF: pass client-ip=198.252.153.6; envelope-from=wrobell@riseup.net; helo=mx0.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Sat, 20 May 2023 04:12:47 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-Mailman-Approved-At: Sat, 20 May 2023 14:52:31 -0400 X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: bug-guix-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Seal: i=1; s=key1; d=yhetil.org; t=1684608761; a=rsa-sha256; cv=none; b=hZCg2wDpRVe8tkDAsWoK23nLlGhJfyuyWYGZX417cyz15AyTEso0j44j4scGlqZjtmkNQF t42ro5X500KIVg12mwK5JQc0HtUxmwKenj6nHAEo8+DLQAmNIKIe1W01AmKwDCozZR4d3y nYcsBUNXjmOZD/nBbLDBhyYtAKQjira7JS1W8kPeQ/Z+pMxpnW/2041OEFBK2AdeCPV4SH uBdoLMLlsd0uV28GvU70x4STEnb/ozb3BjcSUycXaO+m64e6IGkcdHGWy8OacyAdu6Sj+5 3/Q9c3Yd0DoFW3JOG7WekJIuZeE85x9kCGaT0uRZ67AmHJFPvS/hk0nE0G3BbQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=pzvvX0rt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1684608761; 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:resent-cc:resent-from:resent-sender: resent-message-id:list-id:list-help:list-unsubscribe:list-subscribe: list-post:dkim-signature; bh=jdJqMi9S9wJTWoPg8KS+rZzzSJ0k+f4Ndqangbd4/A0=; b=bUnnKXBqFBzk+toHeZkc0NIq67lsHENZgkoot9xV/0hp5W0DkJcoJWq1koDAGsH5MDHh6A HQ/L9odk0D6u/rO7ugUejQr6T4eYmPTNO1FOPBQROy9f9OrVSKF8sU2V82o/y+qMyaZC+m JW+0AyG2nC/LD4RmOS884OpImBkqQf53X9eYiXk6vga1SWN4nN1WPV4no07rSQKrRLLOta nNd3Ye7zInfVQ3sfabG2otQWpoMlvxm53+rOcuCrLURpkHE4Hi3rGwEOmVUmBkL9joWVhi Fe9UJuawJGQqBuV5WK8vENEwD7SpkzaFlLSEIyq/GQqj0mb1DwKPuSWoJf94cA== X-Migadu-Scanner: scn1.migadu.com Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=pzvvX0rt; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (policy=none); spf=pass (aspmx1.migadu.com: domain of "bug-guix-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="bug-guix-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 7.02 X-Spam-Score: 7.02 X-Migadu-Queue-Id: D491D30187 X-TUID: /XwrIZoudPGJ Hi, It would be great if verbose/debug option printed more useful information when running "guix deploy". At the moment, when deploying to a VM run with Qemu on my laptop (the same with --debug=3) $ GUILE_LOAD_PATH=. guix deploy --verbosity=3 iotpx.scm The following 1 machine will be deployed: iotpx guix deploy: deploying to iotpx... guix deploy: warning: without a 'host-key' is deprecated guix deploy: error: failed to deploy iotpx: SSH connection to 'localhost' failed: Connection refused It took me 2 days to figure this out... The problem was that the Qemu forwarded SSH port over ipv4, but Guix was resolving localhost to ipv6 address. After replacing "localhost" with "127.0.0.1" in `iotpx.scm` file, everything works like a charm. IMHO, it would be great if "guix deploy" printed hostname, its ip address, and SSH port. If not by default, then when verbosity/debug options are specified. Additionally, an option forcing Guix to use ipv4/ipv6 would be great as well. Best regards, Artur -- https://mortgage.diy-labs.eu/