diff options
author | Kartik Gokte <ksgokte@gmail.com> | 2023-12-11 19:11:20 +0530 |
---|---|---|
committer | Kartik Gokte <ksgokte@gmail.com> | 2023-12-11 19:11:20 +0530 |
commit | 41b27d7f4b3d9609c5b80ca67925c5827322f00d (patch) | |
tree | 2839ba86504916b633452e76f4329345ba747859 | |
parent | 68221c35ff10c0e3f61074d97b02dc4b32164ad4 (diff) | |
download | nixlib-41b27d7f4b3d9609c5b80ca67925c5827322f00d.tar nixlib-41b27d7f4b3d9609c5b80ca67925c5827322f00d.tar.gz nixlib-41b27d7f4b3d9609c5b80ca67925c5827322f00d.tar.bz2 nixlib-41b27d7f4b3d9609c5b80ca67925c5827322f00d.tar.lz nixlib-41b27d7f4b3d9609c5b80ca67925c5827322f00d.tar.xz nixlib-41b27d7f4b3d9609c5b80ca67925c5827322f00d.tar.zst nixlib-41b27d7f4b3d9609c5b80ca67925c5827322f00d.zip |
nixosTests.ceph-single-node: remove dashboard check
Due to an [issue](https://www.spinics.net/lists/ceph-users/msg77812.html) with the cryptography python library, Ceph Dashboard and other mgr modules are currently broken, which will cause this test to always fail. Removing the check resolves this issue, and brings the test in line wit^Cthe other Ceph tests, which do not contain the dashboard check.
-rw-r--r-- | nixos/tests/ceph-single-node.nix | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/nixos/tests/ceph-single-node.nix b/nixos/tests/ceph-single-node.nix index 4a5636fac156..a3a4072365af 100644 --- a/nixos/tests/ceph-single-node.nix +++ b/nixos/tests/ceph-single-node.nix @@ -182,16 +182,19 @@ let monA.wait_until_succeeds("ceph -s | grep 'mgr: ${cfg.monA.name}(active,'") monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'") + # This test has been commented out due to the upstream issue with pyo3 + # that has broken this dashboard + # Reference: https://www.spinics.net/lists/ceph-users/msg77812.html # Enable the dashboard and recheck health - monA.succeed( - "ceph mgr module enable dashboard", - "ceph config set mgr mgr/dashboard/ssl false", - # default is 8080 but it's better to be explicit - "ceph config set mgr mgr/dashboard/server_port 8080", - ) - monA.wait_for_open_port(8080) - monA.wait_until_succeeds("curl -q --fail http://localhost:8080") - monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'") + # monA.succeed( + # "ceph mgr module enable dashboard", + # "ceph config set mgr mgr/dashboard/ssl false", + # # default is 8080 but it's better to be explicit + # "ceph config set mgr mgr/dashboard/server_port 8080", + # ) + # monA.wait_for_open_port(8080) + # monA.wait_until_succeeds("curl -q --fail http://localhost:8080") + # monA.wait_until_succeeds("ceph -s | grep 'HEALTH_OK'") ''; in { name = "basic-single-node-ceph-cluster"; |