Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new SC Names and Pools for Ceph-FS #1770

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

rakeshgm
Copy link
Member

@rakeshgm rakeshgm commented Jan 27, 2025

These commit adds a new storage classes and pools for Cephfs, which
allows the ramen code base to exercise the filtering logic when there
are multiple storage classes in the environment. This also prepares the
environment for scenarios where more than two workloads use different
storage classes.

The older Ceph-FS names have been renamed and accordingly the
changes have been made to the other test files like drenv-self-tests
and e2e

The commit adds a new storage classes and pools for Cephfs, which
allows the ramen code base to exercise the filtering logic when there
are multiple storage classes in the environment. This also prepares the
environment for scenarios where more than two workloads use different
storage classes.

The older Ceph-FS names have been renamed and  accordingly the
changes have been made to the other test files

Signed-off-by: rakeshgm <[email protected]>
@rakeshgm rakeshgm requested a review from nirs January 27, 2025 12:14
@rakeshgm rakeshgm marked this pull request as ready for review January 27, 2025 12:16
@rakeshgm
Copy link
Member Author

With this change in the coming in, we will need changes in ocm-ramen-samples for ceph-fs sc name

@@ -12,4 +12,4 @@ spec:
resources:
requests:
storage: 1Gi
storageClassName: rook-cephfs
storageClassName: rook-cephfs-test-fs1
Copy link
Member

@ELENAGER ELENAGER Jan 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe also pass filesystem name as parameter, like rook-cephfs-$fsname?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i had thought about it earlier. I was thinking it would spin more changes. but then again it's just one file. I will make the change.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

made the changes

Signed-off-by: rakeshgm <[email protected]>
"--kustomize",
"provision-test",
context=cluster,
f"--namespace={NAMESPACE}", "--filename=-", input=yaml, context=cluster
)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not keep the code as is, and modify the pvc to use "test-fs1"?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants