all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#63602: guix deploy verbose option
@ 2023-05-19 22:06 Artur Wroblewski
  0 siblings, 0 replies; only message in thread
From: Artur Wroblewski @ 2023-05-19 22:06 UTC (permalink / raw)
  To: 63602

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/




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-05-20 18:52 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-05-19 22:06 bug#63602: guix deploy verbose option Artur Wroblewski

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.