-
Notifications
You must be signed in to change notification settings - Fork 547
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 snapshot creation, deletion and restore from snapshot, Clone from PVC support for CephFS volumes. #394
Commits on Aug 7, 2020
-
deploy: add csi-cephfsplugin provisioner deployment and role
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for fe74c03 - Browse repository at this point
Copy the full SHA fe74c03View commit details -
helm: add deployment charts for cephfs csi snapshotter and roles
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2d86457 - Browse repository at this point
Copy the full SHA 2d86457View commit details -
e2e: add/modify deployment files for cephfs snapshot/clone tests
Add snapshot class, snapshot, restore, clone PVC and pod yamls for e2e test to consume Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6259a4b - Browse repository at this point
Copy the full SHA 6259a4bView commit details -
deploy: update external provisioner version to v1.6.0 from v1.4.0
update helm chart and deploy yaml for version upgrade Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 340a15d - Browse repository at this point
Copy the full SHA 340a15dView commit details -
e2e: introduce writeDataInPod() to write data to an attached PVC
writeDataInPod() write data to the attached PVC using `dd` command It leave the pod and pvc state as it is. Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 038071e - Browse repository at this point
Copy the full SHA 038071eView commit details -
e2e: introduce createCephFSSnapshotClass creation
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e0def3c - Browse repository at this point
Copy the full SHA e0def3cView commit details -
e2e: add test cases for cephfs snapshot creation,deletion and restore
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d243e97 - Browse repository at this point
Copy the full SHA d243e97View commit details -
cephfs: make use of expand operation lock in ControllerExpandVolume
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b3d1d90 - Browse repository at this point
Copy the full SHA b3d1d90View commit details -
cephfs: add snapshotlock and operationlock to controllerserver
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e1ea1ac - Browse repository at this point
Copy the full SHA e1ea1acView commit details -
cephfs: change createBackingVolume to accomodate clone operations
adjust createBackingVolume() to create a subvolume from snapshot or existing subvolume by taking restore or clone operation locks Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3460375 - Browse repository at this point
Copy the full SHA 3460375View commit details -
cephfs: add checkContentSource() to validate the data source
checkContentSource() validate the data source in the request and then populate volumeOptions or snapshotshot identifier in case of snapshot source. If the data source is volume, then parentVolumeOption and pvID are populated. Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for bf03614 - Browse repository at this point
Copy the full SHA bf03614View commit details -
cephfs: add various error strings for command validation
Compared to previous version of the error strings, this change depend on error strings like ENOENT, EEXIST, EINVAL..etc The format of the error strings change in different cluster versions and the error code return should not change. This also add extra error strings for snapshot and clone operation outputs Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 0268a8c - Browse repository at this point
Copy the full SHA 0268a8cView commit details -
cephfs: retrieve NewCSISnapshotJournal with namespace set
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 62fa5ef - Browse repository at this point
Copy the full SHA 62fa5efView commit details -
cephfs: introduce newSnapshotOptionsFromID to generate volOpt and sid
From provided CSI volume ID this populate volumeOptions and snapshot identifier after connecting to the snapJournal. Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ab71114 - Browse repository at this point
Copy the full SHA ab71114View commit details -
cephfs: add snapshot create/delete capabilities in controllerserver
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8fe1b0 - Browse repository at this point
Copy the full SHA b8fe1b0View commit details -
cephfs: use delete operation lock in delete volume
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7e84873 - Browse repository at this point
Copy the full SHA 7e84873View commit details -
cephfs: change createvolume for snapshot/clone workflow
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 7d59196 - Browse repository at this point
Copy the full SHA 7d59196View commit details -
cephfs: add snapshot and clone helper functions
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 13885cb - Browse repository at this point
Copy the full SHA 13885cbView commit details -
cephfs: Change checkVolExist for snapshot and clone workflow
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9daa0ea - Browse repository at this point
Copy the full SHA 9daa0eaView commit details -
cephfs: validate create volume request
Also add functionality to generate snap from request and to get mon and clusterID from the request Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3bb069a - Browse repository at this point
Copy the full SHA 3bb069aView commit details -
cephfs: add snap reserve/unreserve and snap exist functionalities
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c820f3a - Browse repository at this point
Copy the full SHA c820f3aView commit details -
cephfs: remove inValidCommmand and errNotFoundString
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 211ca6f - Browse repository at this point
Copy the full SHA 211ca6fView commit details -
cephfs: add subvolume struct and getSubvolumeInfo calls
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 09b9db8 - Browse repository at this point
Copy the full SHA 09b9db8View commit details -
cephfs: getVolumeRootPathCeph and purgeVolume use new error strings
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cc2c616 - Browse repository at this point
Copy the full SHA cc2c616View commit details -
cephfs: add snapshot create and delete functionalilies
It also add helper routines like parsetime,doSnapshot..etc Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1fa7308 - Browse repository at this point
Copy the full SHA 1fa7308View commit details -
cephfs: introduce parsetime() to parse createdAt field in snap return
Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9f65173 - Browse repository at this point
Copy the full SHA 9f65173View commit details -
e2e: remove volume populate test case and also change writeDataInPod()
As we are populating the volume in other two test cases for clone and snapshot operation, we dont need a specific test case now. WriteDataInPod() function is also changed to take the pod spec and write some data to it Signed-off-by: Humble Chirammal <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 36babba - Browse repository at this point
Copy the full SHA 36babbaView commit details