Open
Description
In order to speed up kernel compilation, I've disabled autoModules which made nixops fail to deploy libvirt based modules. Maybe nixops should add some extraConfig to guarantee that kernels can launch.
server> modprobe: FATAL: Module virtio_rng not found in directory /nix/store/inzzilwcgsz234g8mvbsplm64cd6bqqa-linux-4.9.65/lib/modules/4.9.65
server> builder for ‘/nix/store/60q39d4qmr6rk25yixa3aslq4p4xxym1-linux-4.9.65-shrunk.drv’ failed with exit code 1
server> cannot build derivation ‘/nix/store/fslsxkzna6hs5lkpazzc8wk5hwwkd465-vm-run-stage1.drv’: 1 dependencies couldn't be built
server> cannot build derivation ‘/nix/store/b82lifnk58gga1l1l1jvkjs4ddlybxry-initrd.drv’: 1 dependencies couldn't be built
server> cannot build derivation ‘/nix/store/8b310ccq8impzsl7z1h7mc27q7i8hcyj-vm-run.drv’: 1 dependencies couldn't be built
server> cannot build derivation ‘/nix/store/pni0r72g3lrskb3w9m1sy4gn3ngqm8nl-libvirtd-ssh-image.drv’: 1 dependencies couldn't be built
server> error: build of ‘/nix/store/pni0r72g3lrskb3w9m1sy4gn3ngqm8nl-libvirtd-ssh-image.drv’ failed
client> building path(s) ‘/nix/store/aj1qhazh6nvf06gc9d6k810ym5f51xml-firmware’
client> building path(s) ‘/nix/store/62d4jd5qpnr7bbq5vhk2m015zm5agvj5-kernel-modules’
client> building path(s) ‘/nix/store/gr6p74n746wdjddnjfwpjfapz1mpqd2r-linux-4.9.65-shrunk’
client> kernel version is 4.9.65
client> root module: virtio_pci
client> root module: virtio_mmio
client> root module: virtio_blk
client> root module: virtio_balloon
client> root module: virtio_rng
client> modprobe: FATAL: Module virtio_rng not found in directory /nix/store/inzzilwcgsz234g8mvbsplm64cd6bqqa-linux-4.9.65/lib/modules/4.9.65
client> builder for ‘/nix/store/60q39d4qmr6rk25yixa3aslq4p4xxym1-linux-4.9.65-shrunk.drv’ failed with exit code 1
client> cannot build derivation ‘/nix/store/fslsxkzna6hs5lkpazzc8wk5hwwkd465-vm-run-stage1.drv’: 1 dependencies couldn't be built
client> cannot build derivation ‘/nix/store/b82lifnk58gga1l1l1jvkjs4ddlybxry-initrd.drv’: 1 dependencies couldn't be built
client> cannot build derivation ‘/nix/store/8b310ccq8impzsl7z1h7mc27q7i8hcyj-vm-run.drv’: 1 dependencies couldn't be built
client> cannot build derivation ‘/nix/store/xm367kapfhkny8zkcsndfyika5bmqxz8-libvirtd-ssh-image.drv’: 1 dependencies couldn't be built
client> error: build of ‘/nix/store/xm367kapfhkny8zkcsndfyika5bmqxz8-libvirtd-ssh-image.drv’ failed
error: Multiple exceptions: command ‘['nix-build', '--show-trace', '-I', 'nixops=/home/teto/nixops/nixops/../