With nixops being:
/run/current-system/sw/bin/nixops: symbolic link to /nix/store/nm6iyrkjxyrz2br1cv8fiap9rwpj3cqy-nixops-1.5.1/bin/nixops
using the master branch of nixpkgs, the following failure output appears with deployment target libvirtd.
keepalive.> mounting Nix store...
keepalive.> mounting host's temporary directory...
keepalive.> starting stage 2 (/nix/store/9ksdkg15y6k620xzlch8w5vkjvvlj09m-vm-run-stage2)
keepalive.> Information: You may need to update /etc/fstab.
keepalive.>
Information: You may need to update /etc/fstab.
keepalive.>
mknod: /dev/vda1: File exists
keepalive.> [ 1.087000] reboot: Power down
keepalive.> builder for ‘/nix/store/jssfngvvww49icqv9j8kvl4zwbwdxgc4-libvirtd-image.drv’ failed with exit code 1
keepalive.> cannot build derivation ‘/nix/store/qg65rxvyy6cn6hzssikdlq0lgwg5rd2w-libvirtd-ssh-image.drv’: 1 dependencies couldn't be built
keepalive.> error: build of ‘/nix/store/qg65rxvyy6cn6hzssikdlq0lgwg5rd2w-libvirtd-ssh-image.drv’ failed
When using a release branch (17.09) this problem does not exist.
A priori it's fixed on nixops dev.
@teto What do you mean? There is nixops master, but nixops dev doesn't mean anything for me.
@teto probably means the nixopsUnstable derivation.
Only the current master of nixops seems to work as verified by __red__ on IRC.
I can't update nixopsUnstable because the nixops tarball hasn't been built on Hydra for a while: https://hydra.nixos.org/jobset/nixops/master#tabs-evaluations
The reason is an evaluation error: https://hydra.nixos.org/jobset/nixops/master#tabs-evaluations
Somehow I fail to reproduce that error by evaluating release.nix from the nixops repo.
@domenkozar Do you know what's going on there?
nixops now fails because system.nixosVersion was renamed to system.nixos.version. Who is currently maintaining nixops?
I'll look into this :)
cc @rbvermaa actually can you? :)
@rbvermaa fixed this in nixops master but the jobset is still broken. We can't update nixops.
Is there a new nixops release before 18.03 planned?
@fpletz Yes, I would like to release new nixops version this week. I will update nixops in 17.09 and up once it is released.
Deploying 18.03 over 17.09 fails for me: https://github.com/NixOS/nixops/issues/907~~
This seems to have been a local weirdness of some kind. I closed the issue.
@rbvermaa was release already done? can we close this ticket?
This is a major release blocker. We need to have a working nixops version in 18.03 beta so people can test before the final.
@rbvermaa @domenkozar Could one of you please change the config of nixops:master jobset and bump the nixpkgs branch to release-18.03? I've verified that this fixes the problem on another Hydra because I lack the privileges to modify the jobset on hydra.nixos.org.
Nixops 1.6 was released. Merged the PR to fix compatibility with older nixops versions anyway to be able to deploy a 18.03 machine with 17.09.
Most helpful comment
@fpletz Yes, I would like to release new nixops version this week. I will update nixops in 17.09 and up once it is released.