Skip to content
New issue

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

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

Already on GitHub? # to your account

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

Merged
merged 1 commit into from
Feb 11, 2025

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

@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

"--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"?

Copy link
Member Author

Choose a reason for hiding this comment

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

hmm, the changes are not much. its a separate commit. i will drop it.

Copy link
Member Author

Choose a reason for hiding this comment

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

removed the commit.

Copy link
Member

@nirs nirs left a comment

Choose a reason for hiding this comment

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

Looks good, need to squash the commits (second commit seems like a fix for the first).

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 <rakeshgm@redhat.com>
Copy link
Member

@nirs nirs left a comment

Choose a reason for hiding this comment

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

Looks good but I would like another ack.

Copy link
Member

@ELENAGER ELENAGER left a comment

Choose a reason for hiding this comment

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

LGTM

@rakeshgm rakeshgm merged commit ace04e1 into RamenDR:main Feb 11, 2025
23 checks passed
@rakeshgm rakeshgm deleted the drenv-multisc-fs branch February 11, 2025 10:39
rakeshgm added a commit to rakeshgm/ramen that referenced this pull request Feb 18, 2025
In the referenced PRs [1] and [2], two StorageClasses were
created for RBD and two for CephFS. Both RBD and CephFS
StorageClasses had duplicatestorageIDs. This commit resolves
the duplicate storageID issue.

References:
[1] RamenDR#1756
[2] RamenDR#1770

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
rakeshgm added a commit to rakeshgm/ramen that referenced this pull request Feb 18, 2025
In the referenced PRs [1] and [2], two StorageClasses were
created for RBD and two for CephFS. Both RBD and CephFS
StorageClasses had duplicatestorageIDs. This commit resolves
the duplicate storageID issue.

References:
[1] RamenDR#1756
[2] RamenDR#1770

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
rakeshgm added a commit to rakeshgm/ramen that referenced this pull request Feb 19, 2025
In the referenced PRs [1] and [2], two StorageClasses were
created for RBD and two for CephFS. Both RBD and CephFS
StorageClasses had duplicatestorageIDs. This commit resolves
the duplicate storageID issue.

References:
[1] RamenDR#1756
[2] RamenDR#1770

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
rakeshgm added a commit to rakeshgm/ramen that referenced this pull request Feb 19, 2025
In the referenced PRs [1] and [2], two StorageClasses were
created for RBD and two for CephFS. Both RBD and CephFS
StorageClasses had duplicatestorageIDs. This commit resolves
the duplicate storageID issue.

References:
[1] RamenDR#1756
[2] RamenDR#1770

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
rakeshgm added a commit to rakeshgm/ramen that referenced this pull request Feb 19, 2025
In the referenced PRs [1] and [2], two StorageClasses were
created for RBD and two for CephFS. Both RBD and CephFS
StorageClasses had duplicate storageIDs. This commit resolves
the duplicate storageID issue.

References:
[1] RamenDR#1756
[2] RamenDR#1770

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
rakeshgm added a commit to rakeshgm/ramen that referenced this pull request Feb 19, 2025
In the referenced PRs [1] and [2], two StorageClasses were
created for RBD and two for CephFS. Both RBD and CephFS
StorageClasses had duplicate storageIDs. This commit resolves
the duplicate storageID issue.

References:
[1] RamenDR#1756
[2] RamenDR#1770

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
nirs pushed a commit that referenced this pull request Feb 19, 2025
In the referenced PRs [1] and [2], two StorageClasses were
created for RBD and two for CephFS. Both RBD and CephFS
StorageClasses had duplicate storageIDs. This commit resolves
the duplicate storageID issue.

References:
[1] #1756
[2] #1770

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
rakeshgm added a commit to rakeshgm/ramen that referenced this pull request Feb 19, 2025
In the referenced PRs [1] and [2], two StorageClasses were
created for RBD and two for CephFS. Both RBD and CephFS
StorageClasses had duplicate storageIDs. This commit resolves
the duplicate storageID issue.

References:
[1] RamenDR#1756
[2] RamenDR#1770

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
asn1809 pushed a commit to asn1809/ramen that referenced this pull request Feb 28, 2025
In the referenced PRs [1] and [2], two StorageClasses were
created for RBD and two for CephFS. Both RBD and CephFS
StorageClasses had duplicate storageIDs. This commit resolves
the duplicate storageID issue.

References:
[1] RamenDR#1756
[2] RamenDR#1770

Signed-off-by: rakeshgm <rakeshgm@redhat.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants