Sami Wagiaalla
ab0258f259
Support formatting and mounting GCE PD without 'safe_format_and_mount'
...
The GCE PD plugin uses safe_format_and_mount found on standard GCE images:
https://github.com/GoogleCloudPlatform/compute-image-packages/blob/master/google-startup-scripts/usr/share/google/safe_format_and_mount
On custom images where this is not available pods fail to format and
mount GCE PDs. This patch uses linux utilities in a similar way to the
safe_format_and_mount script to format and mount the GCE PD and AWS EBC
devices. That is first attempt a mount. If mount fails try to use file to
investigate the device. If 'file' fails to get any information about
the device and simply returns "data" then assume the device is not
formatted and format it and attempt to mount it again.
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-08-26 11:53:40 -04:00
Saad Ali
b05cab0bc5
Merge pull request #6945 from eparis/IsMountPoint
...
Rename IsMountPoint to IsLikelyNotMountPoint
2015-08-19 12:47:51 -07:00
Kris Rousey
ae6c64d9bb
Moving everyone to unversioned client
2015-08-18 10:23:03 -07:00
Eric Paris
f125ad88ce
Rename IsMountPoint to IsLikelyNotMountPoint
...
IsLikelyNotMountPoint determines if a directory is not a mountpoint.
It is fast but not necessarily ALWAYS correct. If the path is in fact
a bind mount from one part of a mount to another it will not be detected.
mkdir /tmp/a /tmp/b; mount --bin /tmp/a /tmp/b; IsLikelyNotMountPoint("/tmp/b")
will return true. When in fact /tmp/b is a mount point. So this patch
renames the function and switches it from a positive to a negative (I
could think of a good positive name). This should make future users of
this function aware that it isn't quite perfect, but probably good
enough.
2015-08-14 18:45:43 -04:00
Bryan Stenson
9541414742
create cloudprovider "providers" package
...
move all providers into new package
update all references to old package path
2015-08-11 22:36:51 -07:00
Kris Rousey
565189f5b8
Correcting all go vet errors
2015-08-11 13:55:37 -07:00
Rohith
dc23ded091
- fixing the complaint on the gofmt
2015-08-10 23:57:05 +01:00
Rohith
bb31cd29ea
- fixed the defencing of the rbd lock
2015-08-10 23:33:25 +01:00
Veres Lajos
9f77e49109
typofix - https://github.com/vlajos/misspell_fixer
2015-08-08 22:31:48 +01:00
Mike Danese
fe6b15ba2f
rewrite all links to issues to k8s links
2015-08-05 21:11:11 -07: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
Mike Danese
e58ea24d0b
Merge pull request #12001 from uluyol/os-exp-hack
...
Add (stopgap) support for an experimental API prefix.
2015-07-31 10:15:06 -07:00
Muhammed Uluyol
58a875ac2c
Add (stopgap) support for an experimental API prefix.
2015-07-30 18:14:29 -07:00
jiangyaoguo
8eeda24652
new builder and cleaner type for aws-ebs
2015-07-30 10:23:38 +08:00
Paul Morie
5394aa979f
Make emptyDir volumes work for non-root UIDs
2015-07-29 18:36:51 -04:00
Brendan Burns
63cf00d24f
Merge pull request #10424 from markturansky/readonly_fix
...
Auto commit by PR queue bot
2015-07-29 14:25:44 -07:00
Mike Danese
f40b970bd9
Merge pull request #11987 from markturansky/recyc_fix
...
Fixed newRecycler func for HostPath & NFS
2015-07-29 13:11:08 -07:00
markturansky
e8289ceb9d
rebased and updated
2015-07-29 14:48:06 -04:00
markturansky
8639f24374
rebased and updated
2015-07-29 14:38:40 -04:00
markturansky
920cb34b1e
rebased and updated to latest
2015-07-29 14:38:40 -04:00
markturansky
63ccfa2beb
Added unit tests for each PV using IsReadOnly
2015-07-29 14:38:40 -04: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
Mike Danese
33888ba804
Merge pull request #11575 from jiangyaoguo/new-builder-cleaner-for-host-path
...
Refactor host_path volume to seperate builder and cleaner
2015-07-29 11:24:09 -07:00
markturansky
649374ddb4
fixed newRecycler func for HostPath & NFS
2015-07-29 14:13:05 -04:00
Daniel Smith
226c950bda
Merge pull request #11409 from pmorie/secrets-bc-type
...
Refactor secrets volume plugin to separate builder and cleaner types
2015-07-27 16:22:58 -07:00
Paul Morie
918925e09d
Refactor git repo volume to separate builder and cleaner
2015-07-27 18:18:41 -04:00
Paul Morie
20ba173913
Refactor secrets volume plugin to separate builder and cleaner types
2015-07-27 18:13:39 -04:00
markturansky
e380242b16
Changed pdManager to ebsManager
2015-07-27 13:52:04 -04:00
markturansky
98ec116f3f
Improved internal naming from 'pd' to 'ebs' to match the volume
2015-07-27 13:52:04 -04:00
jiangyaoguo
72e899e1b5
refector rbd volume to seperate builder and cleaner
2015-07-26 01:11:25 +08:00
Mike Danese
39a7fc3706
Merge pull request #11552 from jiangyaoguo/new-builder-cleaner-for-gce-pd
...
Refactor gec-pd to seperate builder and cleaner
2015-07-24 12:18:21 -07:00
Mike Danese
a4a48f5849
Merge pull request #11802 from jiangyaoguo/new-builder-cleaner-for-iscis
...
Refector iscsi volume to seperate builder and cleaner
2015-07-24 11:27:36 -07: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
jiangyaoguo
ce52ae782d
refector iscsi volume to seperate builder and cleaner
2015-07-24 16:55:56 +08:00
jiangyaoguo
27524d6b36
refector gec-pd to seperate builder and cleaner
2015-07-24 16:15:37 +08:00
Vish Kannan
cc326c714b
Merge pull request #11561 from saad-ali/issue11231
...
Fix GCE PD attach/detach issues
2015-07-23 14:53:45 -07:00
saadali
234f3ed814
Make GCE PD attach block on pending detach. Retry on detach/attach errors.
2015-07-23 14:03:50 -07:00
Vish Kannan
d09d121b6c
Merge pull request #11572 from jiangyaoguo/new-builder-cleaner-for-nfs
...
Refactor nfs volume to seperate builder and cleaner
2015-07-23 13:54:46 -07:00
Vish Kannan
94bed5a426
Merge pull request #11739 from jiangyaoguo/new-builder-cleaner-for-glusterfs
...
Refector glusterfs volume to seperate builder and cleaner
2015-07-23 13:17:22 -07:00
jiangyaoguo
8bb0ae9f89
refector glusterfs volume to seperate builder and cleaner
2015-07-23 15:07:40 +08:00
Tim Hockin
6eda8f47df
Remove volumes legacy mode
2015-07-22 21:53:35 -07:00
Vish Kannan
5f79267b97
Merge pull request #10484 from markturansky/vol_iscsi_export
...
Changed ISCSI plugin name from exported to private
2015-07-22 17:07:15 -07:00
Vish Kannan
2e3841efc5
Merge pull request #10485 from markturansky/volume_rbd_export
...
Changed RBD Volume plugin name from exported to private
2015-07-22 17:02:55 -07:00
jiangyaoguo
612f68f820
reflector nfs volume to seperate builder and cleaner
2015-07-20 19:16:48 +08:00
jiangyaoguo
63560f385c
refector host_path volume to seperate builder and cleaner
2015-07-20 17:23:04 +08:00
Zach Loafman
7df8d76a93
Merge pull request #10169 from saad-ali/fixPDIssue2
...
Work around for PDs stop mounting after a few hours issue
2015-06-30 15:47:21 -07:00
saadali
c952ee23a7
Work around for PDs stop mounting after a few hours issue
2015-06-30 13:31:03 -07:00
markturansky
fe6399a689
Changed plugin name from exported to private
2015-06-29 13:07:22 -04:00