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

Initial failure domain support; Initial function cancellation support; CSI improvements; Google Regional Disk Support; #167

Merged
merged 57 commits into from
Apr 26, 2019

Conversation

SupriyaKasten
Copy link
Contributor

No description provided.

DeepikaDixit and others added 30 commits March 12, 2019 17:00
* Add new interface Mapper for RegionToZones

* Fix EOF

* Fix params

* Change func name

* Address review comments
Adds helper function to create and manipulate VolumeSnapshots.

* Create takes snapshot of PVC by posting a VolumeSnapshot
* Clone copies a VolumeSnapshot to another namespace
* Delete deletes VolumeSnapshot
* CreatePVCFromSnapshot will create a PVC by using the content of VolumeSnapshot
* Add GCP multi-zone support

* Fix imports
This PR will fix the problem with non-nil restore size argument in the function.

* Fix missing dereferencing in CreatePVCFromSnapshot
* Add a test case for the problem
* Fix error checking
* Reduce volume size
* Add package to discover API resources.

* Change package name discover -> discovery
* Get failure domain region from Nodes

* Address review comments

* Change test

* Refactor nodeZoneRegion to mock cli

* Add test for nodeZoneAndRegion

* Modify test for refactor

* Change var from zone to z to avoid conflict

* Address review comments
* Add restic-forget commands

* Address review comments
* Upgrade google.golang.org/api in glide

* Use release version instead of commit hash
1. Clean up the functions
2. Generate `backupTag` inside the `BackupData` function
3. Use `backupTag` as the identifier during restore.
* Change func name

* Add Kanister DeleteData

* Address review comments

* Add delete to data_test
* Update Kanister Docs for DeleteData

* Fix typo

* Add namespace to example

* Adjust spaces
* Add snapshotsByTag command

* Add parsing snapID from snapshots

* Add parsing snapID test

* Address review comments

* Address review comments

* Combine result length checks

* Export getSnapshotIDFromTag

* Add BackupDelete integration_test

* Renaming func and variables

* Fix imports
* Refactor restic GetSnapshotIDFromLog

* Add restic_test

* [K10-2133] Refactor snapshot id from log func (#5324)

* Refactor GetSnapshotIDFromLog funcs

* Check backupID is same for all operations
* Create actionSet func with tomb

* Fix imports

* Fix imports

* Fix imports

* Adress review comments
* Save actionSet tomb to map

* Fix typo

* Address review comments

* Fix imports

* Make var lowerCase

* Address review comments

* Address Tom's comment

* Store tomb as a pointer
* Add tomb cancel onDelete ActionSet

* Address review comments

* Address review comments

* Refactor variable

* Refactor based on commits

* Remove log msg
* Add cancelFunc to testutil

* Refactor tests

* Remove unused var
* Pass child context to ActionSets

* Add cancelFunc chan

* Add ActionSet Delete: cancelFunc

* Remove TODO comment

* Address review comments
…ns (#5277)

* Add Google regional disk support in Vol funcs

* Address reviews

* update test

* update unit tests and address reviews

* Address review comments

* Address review comments

* update WaitWithBackoff func
DeepikaDixit and others added 19 commits April 17, 2019 09:34
* Add podOptions to closure func

* Address review comments

* Remove podOptions from closure func

* Add check for PodRunner init
* Add podOptions to closure func

* Address review comments

* Remove podOptions from closure func

* Modify copyVolumeData to use PodRunner

* Change podFunc name
…ions (#5377)

* Add Google regional disk support in Vol funcs

* update test

* update unit tests and address reviews

* Address review comments

* Address review comments

* Add google regional disk support in blockstorage/gcepd snapshot functions (#5289)

* Add google regional disk support in snapshot funcs

* Address reviews

* Remove extra newline

* address errors after rebase

* Address review suggestions

* Correct rebase error
* Remove waitForPodReady out of PodRunner

* Add waitForPodReady to copy_volume_data
* Modify delete_data to use PodRunner:

* Add waitForPodReady to delete_data
* Add a default ResourceMatcher for in-tree resources

* Move default matchers into k10

* Fix lint error
* Modify kube_task to use PodRunner

* Fix imports
* Fix the wrong empty string value for PVC name
…(#5465)

* Add Interface to kube for  write to file in pod

* Address review suggestions

* Nit fix
* Add cancellation of ActionSet to docs

* Change wording to maintain consistency
@SupriyaKasten SupriyaKasten requested review from pavannd1, vkamra, tdmanv and depohmel and removed request for pavannd1 and vkamra April 26, 2019 18:10
@SupriyaKasten SupriyaKasten merged commit 99ebec3 into master Apr 26, 2019
@SupriyaKasten SupriyaKasten deleted the sync branch April 26, 2019 18:15
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.

None yet

6 participants