GNU bug report logs - #63602
guix deploy verbose option

Previous Next

Package: guix;

Reported by: Artur Wroblewski <wrobell <at> riseup.net>

Date: Sat, 20 May 2023 08:13:03 UTC

Severity: wishlist

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Artur Wroblewski <wrobell <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: guix deploy verbose option
Date: Fri, 19 May 2023 23:06:47 +0100
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/




This bug report was last modified 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.