Pin ceph to the currently deployed versions
This commit is contained in:
parent
f936258a54
commit
0000008c13
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -67,6 +67,7 @@
|
||||||
keyfile = config.sops.secrets."ceph/osd.4/keyfile".path;
|
keyfile = config.sops.secrets."ceph/osd.4/keyfile".path;
|
||||||
deviceClass = "ssd";
|
deviceClass = "ssd";
|
||||||
} ];
|
} ];
|
||||||
|
skyflake.storage.ceph.package = pkgs.ceph_17_2;
|
||||||
|
|
||||||
system.stateVersion = "21.11"; # Did you read the comment?
|
system.stateVersion = "21.11"; # Did you read the comment?
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -57,6 +57,7 @@
|
||||||
keyfile = config.sops.secrets."ceph/osd.6/keyfile".path;
|
keyfile = config.sops.secrets."ceph/osd.6/keyfile".path;
|
||||||
deviceClass = "ssd";
|
deviceClass = "ssd";
|
||||||
} ];
|
} ];
|
||||||
|
skyflake.storage.ceph.package = pkgs.ceph_16_2;
|
||||||
|
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -89,6 +89,7 @@
|
||||||
keyfile = config.sops.secrets."ceph/osd.2/keyfile".path;
|
keyfile = config.sops.secrets."ceph/osd.2/keyfile".path;
|
||||||
deviceClass = "hdd";
|
deviceClass = "hdd";
|
||||||
} ];
|
} ];
|
||||||
|
skyflake.storage.ceph.package = pkgs.ceph_17_2;
|
||||||
|
|
||||||
system.stateVersion = "22.11";
|
system.stateVersion = "22.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
@ -58,6 +58,7 @@
|
||||||
keyfile = config.sops.secrets."ceph/osd.3/keyfile".path;
|
keyfile = config.sops.secrets."ceph/osd.3/keyfile".path;
|
||||||
deviceClass = "hdd";
|
deviceClass = "hdd";
|
||||||
} ];
|
} ];
|
||||||
|
skyflake.storage.ceph.package = pkgs.ceph_17_2;
|
||||||
|
|
||||||
system.stateVersion = "21.11";
|
system.stateVersion = "21.11";
|
||||||
|
|
||||||
|
|
|
@ -8,6 +8,14 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
config = {
|
config = {
|
||||||
|
# TODO: activate when we fixed the ceph
|
||||||
|
# assertions = [
|
||||||
|
# {
|
||||||
|
# assertion = config.skyflake.storage.ceph.package != 17;
|
||||||
|
# message = "Please pin ceph to major version 17!";
|
||||||
|
# }
|
||||||
|
# ];
|
||||||
|
|
||||||
# just all the microvms from this flake that are supposed to run on the server
|
# just all the microvms from this flake that are supposed to run on the server
|
||||||
microvm.autostart =
|
microvm.autostart =
|
||||||
builtins.filter (name:
|
builtins.filter (name:
|
||||||
|
|
|
@ -18,6 +18,8 @@ with final; {
|
||||||
lua = lua5_4;
|
lua = lua5_4;
|
||||||
}).ceph;
|
}).ceph;
|
||||||
|
|
||||||
|
ceph_17 = assert (lib.versions.majorMinor ceph.version) == "17.2"; prev.ceph;
|
||||||
|
|
||||||
dex-oidc = prev.dex-oidc.override {
|
dex-oidc = prev.dex-oidc.override {
|
||||||
buildGoModule = let
|
buildGoModule = let
|
||||||
ver = lib.versions.majorMinor prev.dex-oidc.version;
|
ver = lib.versions.majorMinor prev.dex-oidc.version;
|
||||||
|
|
Loading…
Reference in New Issue