We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Doing a Hetzner deployment with the follow config:
{ deployment.targetEnv = "hetzner"; deployment.hetzner.mainIPv4 = "46.4.66.184"; deployment.hetzner.createSubAccount = false; deployment.hetzner.robotUser = "..."; deployment.hetzner.robotPass = "..."; deployment.hetzner.partitions = '' clearpart --all --initlabel --drives=nvme0n1,nvme1n1 part raid.1 --grow --ondisk=nvme0n1 part raid.2 --grow --ondisk=nvme1n1 raid / --level=1 --device=md0 --fstype=ext4 --label=root raid.1 raid.2 ''; }
fails with:
ceres........> installing machine... ceres........> rebooting machine ‘ceres’ (46.4.66.184) into rescue system ceres........> sending reboot command... Connection to 46.4.66.184 closed by remote host. done. ceres........> waiting for rescue system....[down]................................................[up] ceres........> building Nix bootstrap installer... done. (/nix/store/mn0amqn0cds0l4krrd07y3ywambpzal5-hetzner-nixops-installer/bin/hetzner-bootstrap) ceres........> creating nixbld group in rescue system... done. ceres........> checking if tmpfs in rescue system is large enough... yes: 32142 MB ceres........> copying bootstrap files to rescue system... done. ceres........> partitioning disks... ceres........> Traceback (most recent call last): ceres........> File "/nix/store/x1vq5bkfvnn8gm8pl889y1b14glhl3qz-nixpart-0.4.1/bin/.nixpart-wrapped", line 166, in <module> ceres........> main() ceres........> File "/nix/store/x1vq5bkfvnn8gm8pl889y1b14glhl3qz-nixpart-0.4.1/bin/.nixpart-wrapped", line 152, in main ceres........> storage = ks.run(init=False) ceres........> File "/nix/store/x1vq5bkfvnn8gm8pl889y1b14glhl3qz-nixpart-0.4.1/lib/python2.7/site-packages/nixkickstart.py", line 1040, in run ceres........> self.partition() ceres........> File "/nix/store/x1vq5bkfvnn8gm8pl889y1b14glhl3qz-nixpart-0.4.1/lib/python2.7/site-packages/nixkickstart.py", line 990, in partition ceres........> errors, warnings = self.storage.sanityCheck() ceres........> File "/nix/store/sksb9401xv98b9g010j7m2kh1m33pfil-blivet-0.17-1/lib/python2.7/site-packages/blivet/__init__.py", line 1556, in sanityCheck ceres........> required = Size(spec="%s kb" % isys.EARLY_SWAP_RAM) ceres........> AttributeError: 'NoneType' object has no attribute 'EARLY_SWAP_RAM' Traceback (most recent call last): File "/nix/store/fhhrm6nm71risrkp383nzdx1zviycfq6-nixops-1.7/bin/..nixops-wrapped-wrapped", line 991, in <module> args.op() File "/nix/store/fhhrm6nm71risrkp383nzdx1zviycfq6-nixops-1.7/bin/..nixops-wrapped-wrapped", line 412, in op_deploy max_concurrent_activate=args.max_concurrent_activate) File "/nix/store/fhhrm6nm71risrkp383nzdx1zviycfq6-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/fhhrm6nm71risrkp383nzdx1zviycfq6-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 1052, in run_with_notify f() File "/nix/store/fhhrm6nm71risrkp383nzdx1zviycfq6-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/fhhrm6nm71risrkp383nzdx1zviycfq6-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 996, in _deploy nixops.parallel.run_tasks(nr_workers=-1, tasks=self.active_resources.itervalues(), worker_fun=worker) File "/nix/store/fhhrm6nm71risrkp383nzdx1zviycfq6-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/fhhrm6nm71risrkp383nzdx1zviycfq6-nixops-1.7/lib/python2.7/site-packages/nixops/deployment.py", line 969, in worker r.create(self.definitions[r.name], check=check, allow_reboot=allow_reboot, allow_recreate=allow_recreate) File "/nix/store/fhhrm6nm71risrkp383nzdx1zviycfq6-nixops-1.7/lib/python2.7/site-packages/nixops/backends/hetzner.py", line 633, in create self.reboot_rescue(install=True, partitions=defn.partitions) File "/nix/store/fhhrm6nm71risrkp383nzdx1zviycfq6-nixops-1.7/lib/python2.7/site-packages/nixops/backends/hetzner.py", line 366, in reboot_rescue self._bootstrap_rescue(install, partitions) File "/nix/store/fhhrm6nm71risrkp383nzdx1zviycfq6-nixops-1.7/lib/python2.7/site-packages/nixops/backends/hetzner.py", line 287, in _bootstrap_rescue stdin_string=partitions) File "/nix/store/fhhrm6nm71risrkp383nzdx1zviycfq6-nixops-1.7/lib/python2.7/site-packages/nixops/backends/__init__.py", line 337, in run_command return self.ssh.run_command(command, self.get_ssh_flags(), **kwargs) File "/nix/store/fhhrm6nm71risrkp383nzdx1zviycfq6-nixops-1.7/lib/python2.7/site-packages/nixops/ssh_util.py", line 291, in run_command raise SSHCommandFailed(exc.message, exc.exitcode) nixops.ssh_util.SSHCommandFailed: command ‘['ssh', '-oControlPath=/tmp/nixops-ssh-tmp6CR2Q2/master-socket', '-p', '22', '-o', 'LogLevel=quiet', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'GlobalKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=accept-new', '-p', '22', '-o', 'LogLevel=quiet', '-o', 'UserKnownHostsFile=/dev/null', '-o', 'GlobalKnownHostsFile=/dev/null', '-o', 'StrictHostKeyChecking=accept-new', '-x', '[email protected]', '--', 'export LANG= LC_ALL= LC_TIME=; nixpart -p -']’ failed on machine ‘ceres’ (exit code 1)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Doing a Hetzner deployment with the follow config:
fails with:
The text was updated successfully, but these errors were encountered: