-
Notifications
You must be signed in to change notification settings - Fork 555
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
cephfs: remove subvolumegroup creation #4195
cephfs: remove subvolumegroup creation #4195
Conversation
@iPraveenParihar You also need to modify docs asking users to create subvolumegroup before hand. |
e50088f
to
cd580d8
Compare
@@ -241,24 +233,6 @@ func (s *subVolumeClient) CreateVolume(ctx context.Context) error { | |||
return err | |||
} | |||
|
|||
// create subvolumegroup if not already created for the cluster. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apart of documentation update, You might also need below changes/testing
- Upgrade testing to ensure existing PVC works without any problem
- E2E tests to create the subvolumegroup
- Remove extra in-memory check for subvolumegroup
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Upgrade testing to ensure existing PVC works without any problem
@Madhu-1 existing PVC are already in a subvolumegroup. So, I guess there won't be any problem.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes thats correct just need to test and ensure it works fine, This is already part of upgrade testing i believe
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have tested it, It works fine
cd580d8
to
eade799
Compare
/test ci/centos/mini-e2e/k8s-1.27 |
eade799
to
5d08144
Compare
/test ci/centos/mini-e2e/k8s-1.27 |
5d08144
to
d75d0fa
Compare
/test ci/centos/mini-e2e/k8s-1.27 |
@Rakshith-R, will add a Note section here - docs/deploy-cephfs.md ? |
78eb7a9
to
9d21a67
Compare
/test ci/centos/mini-e2e/k8s-1.27 |
/test ci/centos/upgrade-tests-cephfs |
238a88e
to
106b745
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
small nits.
deploy/csi-config-map-sample.yaml
Outdated
@@ -20,6 +20,7 @@ kind: ConfigMap | |||
# NOTE: Make sure you don't add radosNamespace option to a currently in use | |||
# configuration as it will cause issues. | |||
# The field "cephFS.subvolumeGroup" is optional and defaults to "csi". | |||
# NOTE: The given subvolumeGroup must already exists in the pool. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
# NOTE: The given subvolumeGroup must already exists in the pool. | |
# NOTE: The given subvolumeGroup must already exist in the filesystem. |
docs/deploy-cephfs.md
Outdated
@@ -241,3 +241,10 @@ However, not all KMS are supported in order to be compatible with | |||
[fscrypt](https://github.com/google/fscrypt). In general KMS that | |||
either store secrets to use directly (Vault), or allow access to the | |||
plain password (Kubernetes Secrets) work. | |||
|
|||
## CephFS Volume Provisioning |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
## CephFS Volume Provisioning | |
## CephFS PVC Provisioning |
106b745
to
d85a26e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, lets wait and get this added to #4222?
d85a26e
to
ff8a4eb
Compare
Added to PendingReleaseNotes.md |
ff8a4eb
to
cc0a8f1
Compare
/test ci/centos/mini-e2e/k8s-1.27 |
c20158d
to
1bd8aed
Compare
Pull request has been modified.
@Mergifyio queue |
🛑 The pull request has been removed from the queue
|
@Mergifyio rebase |
Signed-off-by: Praveen M <[email protected]>
Signed-off-by: Praveen M <[email protected]>
Signed-off-by: Praveen M <[email protected]>
✅ Branch has been successfully rebased |
1bd8aed
to
c5c7709
Compare
@Mergifyio queue |
✅ The pull request has been merged automaticallyThe pull request has been merged automatically at cbc8210 |
/test ci/centos/k8s-e2e-external-storage/1.26 |
/test ci/centos/k8s-e2e-external-storage/1.28 |
/test ci/centos/mini-e2e-helm/k8s-1.26 |
/test ci/centos/k8s-e2e-external-storage/1.27 |
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/mini-e2e/k8s-1.26 |
/test ci/centos/mini-e2e-helm/k8s-1.28 |
/test ci/centos/mini-e2e-helm/k8s-1.27 |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/mini-e2e/k8s-1.28 |
/test ci/centos/mini-e2e/k8s-1.27 |
Describe what this PR does
This commit remove the creation of subvolumegroup.
Is there anything that requires special attention
Is the change backward compatible? Yes
Are there concerns around backward compatibility? No
Fixes: #4185