-
-
Save Avaq/0889642443a4465c14b616f76d2672b4 to your computer and use it in GitHub Desktop.
NixOps Error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pi> copying path '/nix/store/qdnf8yp9giaqcbglfazy9s5ifinaflh5-nixos-system-pi-18.09pre-git' to 'ssh://root@192.168.178.42'... | |
home> closures copied successfully | |
pi> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 3: use: command not found | |
pi> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 4: use: command not found | |
pi> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 5: use: command not found | |
pi> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 6: use: command not found | |
pi> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 7: use: command not found | |
pi> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 8: syntax error near unexpected token `(' | |
pi> /nix/var/nix/profiles/system/bin/switch-to-configuration: line 8: `use Sys::Syslog qw(:standard :macros);' | |
pi> error: Traceback (most recent call last): | |
File "/nix/store/xsijxf4r303xz4kgm88dxp3wff5q89zh-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 743, in worker | |
raise Exception("unable to activate new configuration (exit code {})".format(res)) | |
Exception: unable to activate new configuration (exit code 2) | |
Traceback (most recent call last): | |
File "/nix/store/xsijxf4r303xz4kgm88dxp3wff5q89zh-nixops-1.7/bin/..nixops-wrapped-wrapped", line 991, in <module> | |
args.op() | |
File "/nix/store/xsijxf4r303xz4kgm88dxp3wff5q89zh-nixops-1.7/bin/..nixops-wrapped-wrapped", line 412, in op_deploy | |
max_concurrent_activate=args.max_concurrent_activate) | |
File "/nix/store/xsijxf4r303xz4kgm88dxp3wff5q89zh-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/xsijxf4r303xz4kgm88dxp3wff5q89zh-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1052, in run_with_notify | |
f() | |
File "/nix/store/xsijxf4r303xz4kgm88dxp3wff5q89zh-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/xsijxf4r303xz4kgm88dxp3wff5q89zh-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1019, in _deploy | |
dry_activate=dry_activate, max_concurrent_activate=max_concurrent_activate) | |
File "/nix/store/xsijxf4r303xz4kgm88dxp3wff5q89zh-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 775, in activate_configs | |
.format(len(failed), len(res), ", ".join(["‘{0}’".format(x) for x in failed]))) | |
Exception: activation of 1 of 1 machines failed (namely on ‘pi’) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment