Jing Xu
daaee085e5
Fix restore size type in snapshot content
...
Change the restore size to int64 for snapshot content. Also add the code
to update the restore size for snapshot content.
2018-09-18 12:26:18 -07:00
Jing Xu
a6748068dd
Fix updating restore size issue
...
This PR fixed the issue of not updating the snapshot restore size after
snapshot is created. Before snapshot is ready, the returned size might
not be accurate. So we need to keep updating the snapshot size during
checking the snapshot status.
2018-09-07 10:07:59 -07:00
xushiwei 00425595
ae2be6651e
remove class store since we donot update it in controller
2018-09-06 11:08:58 +08:00
Xing Yang
17c7e1b8cf
Allow new discovered error to show up
2018-08-24 16:55:57 -07:00
Xing Yang
a9dd5c8ff3
Address review comments
2018-08-23 12:17:01 -07:00
Xing Yang
7140b77f2b
Change controller to use VolumeSnapshotClassName as pointer
2018-08-22 21:18:08 -07:00
Xing Yang
d95ff46ce1
Split GetClassFromVolumeSnapshot to two functions
...
This commit splits GetClassFromVolumeSnapshot to two functions,
GetSnapshotClass and SetDefaultSnapshotClass.
2018-08-22 13:41:32 -07:00
Xing Yang
61c67ae236
Change Size to RestoreSize in snapshot controller
2018-08-21 19:37:13 -07:00
Xing Yang
84fc75e615
Modify controller to use resource.Quantity as size
2018-08-19 20:09:25 -07:00
Xing Yang
fb866ef23a
Use CreationName in CSIVolumeSnapshotSource in controller
2018-08-19 10:22:05 -07:00
Xing Yang
bfb7c69014
Set VolumeSnapshotClass in checkandBindSnapshotContent
...
go fmt fixes, detailed logging level, other small fixes
2018-08-19 09:10:21 -07:00
Jing Xu
870fd8ec8c
Handle snapshot error, get default storage class, and other small
...
changes
2018-08-17 14:19:40 -07:00
Xing Yang
1ee6dd2c21
Address review comments in controller
2018-08-15 20:56:14 -07:00
Xing Yang
afd80c565c
Add review comments in cmd and controller
2018-08-14 21:44:30 -07:00