From: Artur Wroblewski <wrobell@riseup.net>
To: 63602@debbugs.gnu.org
Subject: bug#63602: guix deploy verbose option
Date: Fri, 19 May 2023 23:06:47 +0100 [thread overview]
Message-ID: <ZGfy9_es9yZXjX7J@greymatter.whale> (raw)
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/
reply other threads:[~2023-05-20 18:52 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZGfy9_es9yZXjX7J@greymatter.whale \
--to=wrobell@riseup.net \
--cc=63602@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.