Skip to content
New issue

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

Fresh nixops deploy on hetzner fails because of broken build2Packages.nixpart0 #36

Open
kolloch opened this issue Apr 30, 2020 · 4 comments

Comments

@kolloch
Copy link

kolloch commented Apr 30, 2020

See NixOS/nixpkgs#86403.

I am also filing it here for visibility and because, potentially, it could be fixed in nixops by using a newer nixpart version.

build2Packages.nixpart works.

❯ nixops deploy -d dont-touch-hetzner-new
warning: unknown setting 'experimental-features'
warning: unknown setting 'experimental-features'
webserver2> installing machine...
webserver.> installing machine...
webserver2> rebooting machine ‘webserver2’ (116.202.241.221) into rescue system
webserver.> rebooting machine ‘webserver’ (136.243.104.225) into rescue system
webserver.> sending hard reset to robot... 
webserver2> sending reboot command... 
webserver2> bash: warning: setlocale: LC_TIME: cannot change locale ()
webserver.> done.
webserver.> waiting for rescue system...[down]Connection to 116.202.241.221 closed by remote host.

webserver2> done.
webserver2> waiting for rescue system...
webserver.> ..
webserver2> [down]
[...]
webserver2> .[up]
webserver2> building Nix bootstrap installer... 

webserver.> .these derivations will be built:
  /nix/store/bn9dnb20l41szdwycpbbrafqpvps8pk5-cryptsetup-1.6.3.drv
  /nix/store/np3r9xm0196kkj1630jic5hkdd8s9qhi-lvm2-2.02.106.drv
  /nix/store/cbif25ga724sbaf9dgj1zqp293km8q6q-multipath-tools-0.4.9.drv
  /nix/store/lp6b2k48yp01ymb9lyxcg441jk0j00hc-dmraid-1.0.0.rc15.drv
  /nix/store/hnfnbxiw7n5k2q10d6fdsf0lf53xmsi7-pyblock-0.53.drv
  /nix/store/bzab2pafnr9p34skyg07wv386q32kild-parted-3.1.drv
  /nix/store/zs49fplg5jk022f29az94pdhr2lkhaqj-pyparted-3.10.drv
  /nix/store/qzfcy012f6zknw0nd1mq750957j41fby-blivet-0.17-1.drv
  /nix/store/a589gqvazqrn2adk1f78jlfgw7pk97rn-nixpart-0.4.1.drv
  /nix/store/kcajq35nsrij1a9bf90chx37yhwx8hzk-hetzner-nixops-installer.drv
[...]
builder for '/nix/store/bn9dnb20l41szdwycpbbrafqpvps8pk5-cryptsetup-1.6.3.drv' failed with exit code 2
cannot build derivation '/nix/store/qzfcy012f6zknw0nd1mq750957j41fby-blivet-0.17-1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/a589gqvazqrn2adk1f78jlfgw7pk97rn-nixpart-0.4.1.drv': 1 dependencies couldn't be built
cannot build derivation '/nix/store/kcajq35nsrij1a9bf90chx37yhwx8hzk-hetzner-nixops-installer.drv': 1 dependencies couldn't be built
error: build of '/nix/store/kcajq35nsrij1a9bf90chx37yhwx8hzk-hetzner-nixops-installer.drv' failed
...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................^Cerror: interrupted

It is also probably not ideal to still depend on a very old cryptsetup here.

@pbogdan
Copy link
Member

pbogdan commented Jun 15, 2020

Just a note this has been fixed in nixpkgs with:

@pbogdan
Copy link
Member

pbogdan commented Jun 18, 2020

Would you consider this issue to be solved or do you feel it hasn't been addressed in a satisfactory manner?

@pbogdan
Copy link
Member

pbogdan commented Jun 23, 2020

Sorry if I'm being a nuisance, just wanted to check if you had a chance to take another look at this issue?

@tolbrino
Copy link

I ran into the same issue and the patch solved it for me. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants