g5k-image with 23.05 is broken
Hello, It seems that nixpkgs-23.05 breaks the flavour g5k-image. Here the compose I used (note that it works with ramdisk and nfs store).
The command I used to build the compo:
oarsub -I
ncx build -f g5k-image
and to deploy:
oarsub -I -l "nodes=1" -t deploy
nxc start
# >> N
# >> Y
And the error:
---
Deployment status (655s):
[KO]
dahu-20.grenoble.grid5000.fr
---
End of deployment on cluster dahu after 650s
Deployment #D-f188a31a-3ec8-4aa5-8524-1488dd048e3b done
The deployment failed on nodes
dahu-20.grenoble.grid5000.fr (BootNewEnvHardReboot-wait_reboot: Unreachable after the reboot)
files to reproduce:
{
description = "nixos-compose - basic setup";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/23.05";
nxc.url = "git+https://gitlab.inria.fr/nixos-compose/nixos-compose.git?ref=2305";
nxc.inputs.nixpkgs.follows = "nixpkgs";
};
outputs = { self, nixpkgs, nxc }:
let
system = "x86_64-linux";
in {
packages.${system} = nxc.lib.compose {
inherit nixpkgs system;
composition = ./composition.nix;
};
defaultPackage.${system} =
self.packages.${system}."composition::vm";
devShell.${system} = nxc.devShells.${system}.nxcShell;
};
}
{ pkgs, ... }: {
roles = {
foo = { pkgs, ... }:
{
environment.systemPackages = with pkgs; [ hello ];
};
};
# I originally wanted to test the roleDistribution feature
# rolesDistribution = { foo = 2; };
testScript = ''
foo.succeed("true")
toto.succeed("true")
'';
}
Edited by FAURE Adrien