guix deploy verbose option

  • Open
  • quality assurance status badge
Details
2 participants
  • Artur Wroblewski
  • Simon Tournier
Owner
unassigned
Submitted by
Artur Wroblewski
Severity
wishlist

Debbugs page

Artur Wroblewski wrote 2 years ago
(address . bug-guix@gnu.org)
ZGfy9_es9yZXjX7J@greymatter.whale
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

--
Simon Tournier wrote 6 months ago
control message for bug #63602
(address . control@debbugs.gnu.org)
87frq7czeh.fsf@gmail.com
severity 63602 wishlist
quit
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 63602@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 63602
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help