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 <satoru.takeuchi@gmail.com>
This commit is contained in:
Satoru Takeuchi
2020-05-28 06:18:59 +09:00
parent 206e45facd
commit 43296ef36a
+1 -2
View File
@@ -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"
}