guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "guix deploy" is in git master


From: Ricardo Wurmus
Subject: Re: "guix deploy" is in git master
Date: Sun, 07 Jul 2019 10:05:50 +0200
User-agent: mu4e 1.2.0; emacs 26.2

Hi Jakob,

Ricardo Wurmus <address@hidden> writes:

>> Now who's going to be the first brave soul to use this for server
>> deployment? ;)
>
> Me!  I tried to use it on ci.guix.gnu.org to upgrade a node, but it
> failed like this: […]

This is now fixed with the inclusion of gnu/machine/ssh.scm.

I tried again and it started building things but then aborted like this:


--8<---------------cut here---------------start------------->8---
…
offloading '/gnu/store/x1q848ra6lm3y0ma9n2i73k8ic1gfyz9-references.drv' to 
'141.80.167.145'...
@ build-remote /gnu/store/x1q848ra6lm3y0ma9n2i73k8ic1gfyz9-references.drv 
141.80.167.145
retrieving 1 store item from '141.80.167.145'...
importing file or directory 
'/gnu/store/1bm51aa2knvpp4b7kls0m6v19mmhb910-references'...
found valid signature for 
'/gnu/store/1bm51aa2knvpp4b7kls0m6v19mmhb910-references'
done with offloaded '/gnu/store/x1q848ra6lm3y0ma9n2i73k8ic1gfyz9-references.drv'
sending 47 store items (240 MiB) to '141.80.167.145'...
[ 1/ 2] Loading './gnu/services/herd.scm'...
[ 2/ 2] Compiling './gnu/services/herd.scm'...
sending 3 store items (0 MiB) to '141.80.167.145'...
Backtrace:
           7 (primitive-load "/home/rekado/.config/guix/current/bin/��")
In guix/ui.scm:
  1655:12  6 (run-guix-command _ . _)
In guix/store.scm:
   623:10  5 (call-with-store _)
In srfi/srfi-1.scm:
    640:9  4 (for-each #<procedure 3a8e500 at guix/scripts/deploy.s��> ��)
In guix/store.scm:
  1803:24  3 (run-with-store #<store-connection 256.99 252e3c0> _ # _ ��)
In gnu/machine/ssh.scm:
    339:2  2 (_ _)
In guix/remote.scm:
   122:20  1 (_ _)
    66:17  0 (%remote-eval _ _)

guix/remote.scm:66:17: In procedure %remote-eval:
Throw to key `srfi-34' with args `(#<inferior-object #<condition 
&action-exception-error [service: user-homes action: start key: match-error 
args: ("match" "no matching pattern" "#<<user-account> name: \"root\" password: 
\"\" uid: 0 group: \"root\" supplementary-groups: () comment: \"System 
administrator\" home-directory: #<procedure home-directory (x)> 
create-home-directory?: #t shell: 
\"/gnu/store/qn1ax1fkj16x280m1rv7mcimfmn9l2pf-bash-4.4.23/bin/bash\" system?: 
#f>")] 1837f00>>)'.
--8<---------------cut here---------------end--------------->8---

Do you know what might be wrong here?

Another thing I noticed is that an SSH authentication error prints a
backtrace.  It would be nice if a failure to authenticate would be
communicated with a clearer error message.

-- 
Ricardo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]