Simon Tournier <zimon.toutoune@HIDDEN>
to control <at> debbugs.gnu.org.
Full text available.
Received: (at submit) by debbugs.gnu.org; 20 May 2023 08:12:51 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat May 20 04:12:51 2023
Received: from localhost ([127.0.0.1]:57806 helo=debbugs.gnu.org)
by debbugs.gnu.org with esmtp (Exim 4.84_2)
(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
id 1q0Hhq-0001K3-Dt
for submit <at> 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 <wrobell@HIDDEN>) id 1q08FU-0000bb-OE
for submit <at> 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 <wrobell@HIDDEN>)
id 1q08FU-0002hs-I6
for bug-guix@HIDDEN; 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 <wrobell@HIDDEN>)
id 1q08FS-0006iH-PX
for bug-guix@HIDDEN; 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 <bug-guix@HIDDEN>; 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 <bug-guix@HIDDEN>; Fri, 19 May 2023 22:06:50 +0000 (UTC)
Date: Fri, 19 May 2023 23:06:47 +0100
From: Artur Wroblewski <wrobell@HIDDEN>
To: bug-guix@HIDDEN
Subject: guix deploy verbose option
Message-ID: <ZGfy9_es9yZXjX7J@HIDDEN>
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@HIDDEN;
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-Spam-Score: -1.4 (-)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Sat, 20 May 2023 04:12:47 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.4 (--)
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: <machine-ssh-configuration> 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/
Artur Wroblewski <wrobell@HIDDEN>:bug-guix@HIDDEN.
Full text available.bug-guix@HIDDEN:bug#63602; Package guix.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.