Commit Graph

169 Commits

Author SHA1 Message Date
Sami Wagiaalla
66c905d63e Distinguish normal mount from format and mount in SafeFormatAndMount 2015-12-02 11:16:00 -05:00
Paul Morie
911757486d Refactor volume.Builder.IsReadOnly() to volume.Builder.GetAttributes() 2015-11-13 23:34:48 -05:00
Sami Wagiaalla
1d352a16b8 Support volume relabling for pods which specify an SELinux label 2015-10-28 09:26:58 -04:00
Paul Morie
3cd12f5e05 FSGroup implementation 2015-10-22 16:40:59 -04:00
Huamin Chen
de41fd3960 rbd: no more remount.
remount was originally needed to ensure rw/ro is set correctly. There is no such need since mount is using exec interface

Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-10-08 13:50:41 -04:00
Huamin Chen
8dbbcefdec rbd: don't use /dev/rbd/pool/image; use sysfs to find rbd device instead
rbd: if rbd image is not formatted, format it to the designated filesystem type

rbd: update example README.md and include instructions to get base64 encoded Ceph secret

if rbd fails to lock image, unmap the image before exiting

Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-09-29 10:13:01 -04:00
Filip Grzadkowski
7fe34f2050 Introduce nsenter writer for volume plugins 2015-09-17 16:40:29 +02:00
markturansky
0e7f73ad67 expand volume.Spec to include full Volume and PV 2015-09-03 08:57:32 -04:00
Rohith
bb31cd29ea - fixed the defencing of the rbd lock 2015-08-10 23:33:25 +01:00
Mike Danese
17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
markturansky
fae6759490 IsReadOnly bool on builder 2015-07-29 14:35:37 -04:00
markturansky
124bb22f92 Honor ReadOnly flag from persistent-volume plugin 2015-07-29 14:34:15 -04:00
jiangyaoguo
72e899e1b5 refector rbd volume to seperate builder and cleaner 2015-07-26 01:11:25 +08:00
Huamin Chen
fa8a2ef81d fencing off multiple rbd mount
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-07-24 11:49:32 -04:00
markturansky
fe6399a689 Changed plugin name from exported to private 2015-06-29 13:07:22 -04:00
Jan Safranek
d2b4ae4df4 Fix persistent volumes.
Check Spec.PersistentVolumeSource in NFS, RBD, Gluster and iSCSI volume
plugins.
2015-06-02 09:19:28 -04:00
markturansky
3ad583cf2d Fixed spotty CanSupport for PV and added more unit tests for same 2015-05-23 09:59:05 -04:00
Huamin Chen
4a800fd10e add rados block device(rbd) volume plugin
Signed-off-by: Huamin Chen <hchen@redhat.com>
2015-05-21 14:51:31 -04:00