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
GC online volume expansion #1136
GC online volume expansion #1136
Conversation
Hi @kavyashree-r. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
5029056
to
5c11eb0
Compare
be64021
to
2a50106
Compare
2a50106
to
e37009d
Compare
/* Verify Online block volume expansion triggered when SVC CSI pod is down succeeds once SVC CSI pod comes up. | ||
Steps: | ||
1. Create a SC with allowVolumeExpansion set to 'true' in GC. | ||
2. create a PVC using the SC created in step 1 in GC and wait for binding | ||
with PV. | ||
3. create a pod using the pvc created in step 2 in GC and wait FS init. | ||
4. bring CSI-controller pod down in SVC. | ||
5. Resize PVC with new size in GC. | ||
6. check for retries in GC. | ||
7. PVC in GC is in "Resizing" state and PVC in SVC has no state related | ||
to expansion. | ||
8. bring the CSI-controller pod up in SVC. | ||
9. wait for PVC Status Condition changed to "FilesystemResizePending" | ||
in GC. | ||
10. Check Size from CNS query is same as what was used in step 7. | ||
11. wait for new size of PVC in GC and compare with SVC PVC size for | ||
equality. | ||
12. delete the pod, pvc,sc | ||
*/ |
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.
Please correct the formatting
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.
done
equality. | ||
12. delete the pod, pvc,sc | ||
*/ | ||
ginkgo.It("verify online block volume expansion triggered when SVC CSI pod is down succeeds once SVC CSI pod comes up", func() { |
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.
This test should be marked destructive test so that the test runs before any other tests in e2e.
Please check with Chethan about the tag to use
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.
For now, We have the respective change to handle destructive test in case of block "csi-block-vanilla-destructive"
Same is not available for GC . We need to take that in separate PR.
Till that I will make a TODO point in this test to add it for destructive test
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.
/ok-to-test
|
e37009d
to
7c38d0a
Compare
Started WCP block pre-checkin pipeline... Build Number: 99 |
|
Started WCP block pre-checkin pipeline... Build Number: 100 |
|
Failures are not related to the tests added added in this PR |
/approve |
1 similar comment
/approve |
/approve |
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.
/ok-to-test
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.
/approve
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: chethanv28, kavyashree-r, marunachalam, rpanduranga The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What this PR does / why we need it: GC Online volume expansion - set4
Which issue this PR fixes (optional, in fixes #(, fixes #<issue_number>, ...) format, will close that issue when PR gets merged): fixes #
Release notes:
Online volume expansion test cases for GC
Special notes for your reviewer:
1.Verify online volume expansion when PV with reclaim policy is reused to create PVC
2.verify online block volume expansion triggered when SVC CSI pod is down succeeds once SVC CSI pod comes up
3.Verify online volume expansion when POD is deleted and re-created
4.Verify online volume expansion when PVC is deleted
5.Volume expansion on shared VVOL, shared NFS and shared VMFS datastores
6.Verify online volume expansion on deployments
Logs : https://gist.github.com/kavyashree-r/bf25b80ed6dc02497721a367e485b961#file-gc-onlineresize-logs
https://gist.github.com/kavyashree-r/4ccaca23b858a2ae67ebc462cbf74ef1