From 43296ef36acdf38d5bc3d524d70ce3a92c8eeee3 Mon Sep 17 00:00:00 2001 From: Satoru Takeuchi Date: Wed, 27 May 2020 05:43:06 +0900 Subject: [PATCH] ceph: make OSD on PVC test work again OSD on PVC test doesn't work at all because "manual" storage class doesn't exist here. It's a regression caused by the following commit. https://github.com/rook/rook/commit/e96009c26dab8d06e6d3e45efe55b9783028b359 Signed-off-by: Satoru Takeuchi --- tests/integration/ceph_multi_cluster_test.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/tests/integration/ceph_multi_cluster_test.go b/tests/integration/ceph_multi_cluster_test.go index 9c6a0f9d8..321f4b9b4 100644 --- a/tests/integration/ceph_multi_cluster_test.go +++ b/tests/integration/ceph_multi_cluster_test.go @@ -142,8 +142,7 @@ func NewMCTestOperations(t func() *testing.T, namespace1 string, namespace2 stri i := installer.NewCephInstaller(t, kh.Clientset, false, "", installer.VersionMaster, installer.NautilusVersion, cleanupHost) op := &MCTestOperations{i, kh, t, namespace1, namespace2, installer.SystemNamespace(namespace1), "", false} - present, err := kh.IsStorageClassPresent("manual") - if present && kh.VersionAtLeast("v1.13.0") { + if kh.VersionAtLeast("v1.13.0") { op.testOverPVC = true op.storageClassName = "manual" }