Skip to content

Instantly share code, notes, and snippets.

@Avaq
Created March 1, 2020 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Avaq/30bce4a05a512256f2be68f3bab806ef to your computer and use it in GitHub Desktop.
Save Avaq/30bce4a05a512256f2be68f3bab806ef to your computer and use it in GitHub Desktop.
nixops deploy error log
$ nixops deploy
building all machine configurations...
pi> copying closure...
pi> warning: unable to download 'https://cache.nixos.org/17mh5f205km864xfxvq96g54dqp3s8ys.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 299 ms
pi> warning: unable to download 'https://cache.nixos.org/0x29hz37032v62px7kda3nksc4pcb5x9.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 325 ms
pi> warning: unable to download 'https://cache.nixos.org/09sjyy57f3b507qibq89aifybb9dwpf7.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 271 ms
pi> warning: unable to download 'https://cache.nixos.org/1cf7h4g4ld2ywpv1p25xk7vsgpsb15qh.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 278 ms
pi> warning: unable to download 'https://cache.nixos.org/17mh5f205km864xfxvq96g54dqp3s8ys.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 594 ms
pi> warning: unable to download 'https://cache.nixos.org/0x29hz37032v62px7kda3nksc4pcb5x9.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 627 ms
pi> warning: unable to download 'https://cache.nixos.org/09sjyy57f3b507qibq89aifybb9dwpf7.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 630 ms
pi> warning: unable to download 'https://cache.nixos.org/1cf7h4g4ld2ywpv1p25xk7vsgpsb15qh.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 535 ms
pi> warning: unable to download 'https://cache.nixos.org/17mh5f205km864xfxvq96g54dqp3s8ys.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 1299 ms
pi> warning: unable to download 'https://cache.nixos.org/0x29hz37032v62px7kda3nksc4pcb5x9.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 1297 ms
pi> warning: unable to download 'https://cache.nixos.org/1cf7h4g4ld2ywpv1p25xk7vsgpsb15qh.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 1163 ms
pi> warning: unable to download 'https://cache.nixos.org/09sjyy57f3b507qibq89aifybb9dwpf7.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 1248 ms
pi> warning: unable to download 'https://cache.nixos.org/17mh5f205km864xfxvq96g54dqp3s8ys.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 2589 ms
pi> warning: unable to download 'https://cache.nixos.org/1cf7h4g4ld2ywpv1p25xk7vsgpsb15qh.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 2474 ms
pi> warning: unable to download 'https://cache.nixos.org/0x29hz37032v62px7kda3nksc4pcb5x9.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 2330 ms
pi> warning: unable to download 'https://cache.nixos.org/09sjyy57f3b507qibq89aifybb9dwpf7.narinfo': SSL peer certificate or SSH remote key was not OK (60); retrying in 2724 ms
pi> error (ignored): unable to download 'https://cache.nixos.org/1cf7h4g4ld2ywpv1p25xk7vsgpsb15qh.narinfo': SSL peer certificate or SSH remote key was not OK (60)
pi> error (ignored): unable to download 'https://cache.nixos.org/17mh5f205km864xfxvq96g54dqp3s8ys.narinfo': SSL peer certificate or SSH remote key was not OK (60)
pi> error (ignored): unable to download 'https://cache.nixos.org/09sjyy57f3b507qibq89aifybb9dwpf7.narinfo': SSL peer certificate or SSH remote key was not OK (60)
pi> error: unable to download 'https://cache.nixos.org/0x29hz37032v62px7kda3nksc4pcb5x9.narinfo': SSL peer certificate or SSH remote key was not OK (60)
pi> error: unexpected end-of-file
Traceback (most recent call last):
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/bin/..nixops-wrapped-wrapped", line 991, in <module>
args.op()
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/bin/..nixops-wrapped-wrapped", line 412, in op_deploy
max_concurrent_activate=args.max_concurrent_activate)
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1063, in deploy
self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1052, in run_with_notify
f()
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1063, in <lambda>
self.run_with_notify('deploy', lambda: self._deploy(**kwargs))
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1010, in _deploy
max_concurrent_copy=max_concurrent_copy)
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 694, in copy_closures
tasks=self.active.itervalues(), worker_fun=worker)
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/lib/python2.7/site-packages/nixops/parallel.py", line 44, in thread_fun
result_queue.put((worker_fun(t), None, t.name))
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 690, in worker
m.copy_closure_to(m.new_toplevel)
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/lib/python2.7/site-packages/nixops/backends/__init__.py", line 367, in copy_closure_to
env=env)
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/lib/python2.7/site-packages/nixops/backends/__init__.py", line 324, in _logged_exec
return nixops.util.logged_exec(command, self.logger, **kwargs)
File "/nix/store/yf3bcb6g9a8df3346dx3q6g23kdb1ma5-nixops-1.7/lib/python2.7/site-packages/nixops/util.py", line 152, in logged_exec
raise CommandFailed(err, res)
nixops.util.CommandFailed: command ‘['nix-copy-closure', '--to', 'root@192.168.178.42', u'/nix/store/5vmnniacx31qpp3ipwqzg5jv46pm5xay-nixos-system-nixos-avaq-pi-20.09pre215333.42f0be81ae0', '--use-substitutes']’ failed on machine ‘pi’ (exit code 1)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment