lol

Merge pull request #210705 from dermetfan/ceph-dashboard

ceph: add missing python library

authored by

Martin Weinelt and committed by
GitHub
890226f9 a1e0ac49

+13
+11
nixos/tests/ceph-single-node.nix
··· 181 181 monA.wait_until_succeeds("ceph osd stat | grep -e '3 osds: 3 up[^,]*, 3 in'") 182 182 monA.wait_until_succeeds("ceph -s | grep 'mgr: ${cfg.monA.name}(active,'") 183 183 monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'") 184 + 185 + # Enable the dashboard and recheck health 186 + monA.succeed( 187 + "ceph mgr module enable dashboard", 188 + "ceph config set mgr mgr/dashboard/ssl false", 189 + # default is 8080 but it's better to be explicit 190 + "ceph config set mgr mgr/dashboard/server_port 8080", 191 + ) 192 + monA.wait_for_open_port(8080) 193 + monA.wait_until_succeeds("curl -q --fail http://localhost:8080") 194 + monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'") 184 195 ''; 185 196 in { 186 197 name = "basic-single-node-ceph-cluster";
+2
pkgs/tools/filesystems/ceph/default.nix
··· 113 113 }; 114 114 115 115 ceph-python-env = python.withPackages (ps: [ 116 + # Check .requires files below https://github.com/ceph/ceph/tree/main/debian for dependencies 116 117 ps.sphinx 117 118 ps.flask 119 + ps.routes 118 120 ps.cython 119 121 ps.setuptools 120 122 ps.virtualenv