Commit Graph

23946 Commits

Author SHA1 Message Date
k8s-merge-robot
8bab0022ad Merge pull request #20000 from erictune/disable-flaky
Auto commit by PR queue bot
2016-02-02 11:29:34 -08:00
Jeff Lowdermilk
8050715725 Merge pull request #20440 from roberthbailey/liveness-logging
Add timestamps to the liveness e2e test
2016-02-02 11:08:12 -08:00
k8s-merge-robot
635cf5877f Merge pull request #12802 from yujuhong/kubelet_proposal
Auto commit by PR queue bot
2016-02-02 10:26:44 -08:00
k8s-merge-robot
072bfd40ca Merge pull request #18556 from mqliang/podValidation
Auto commit by PR queue bot
2016-02-02 10:26:43 -08:00
k8s-merge-robot
e78834ab62 Merge pull request #20337 from yifan-gu/rkt_empty_isolator
Auto commit by PR queue bot
2016-02-02 09:56:04 -08:00
k8s-merge-robot
5a099308f5 Merge pull request #20325 from mwielgus/hpa-cm-impl
Auto commit by PR queue bot
2016-02-02 09:22:50 -08:00
Jeff Lowdermilk
449e708aa5 Merge pull request #20359 from ihmccreery/timeouts
Knock down the timeouts for gce, gce-slow, gke, and gke-slow
2016-02-02 09:20:16 -08:00
k8s-merge-robot
23c64ec103 Merge pull request #20233 from yifan-gu/rkt_fix_user_group
Auto commit by PR queue bot
2016-02-02 08:47:08 -08:00
k8s-merge-robot
b731d8275e Merge pull request #19707 from jsafrane/devel/fix-cinder-teardown
Auto commit by PR queue bot
2016-02-02 07:05:54 -08:00
k8s-merge-robot
74c62aecc5 Merge pull request #20186 from lavalamp/import-boss
Auto commit by PR queue bot
2016-02-02 06:21:50 -08:00
k8s-merge-robot
c5260c8c71 Merge pull request #20145 from mqliang/quorum-read
Auto commit by PR queue bot
2016-02-02 05:50:41 -08:00
Jan Safranek
220163f67d Fixed races in Cinder volume attach/detach.
Add a mutex to guard SetUpAt() and TearDownAt() calls - they should not
run in parallel.  There is a race in these calls when there are two pods
using the same volume, one of them is dying and the other one starting.

TearDownAt() checks that a volume is not needed by any pods and detaches the
volume. It does so by counting how many times is the volume mounted
(GetMountRefs() call below).

When SetUpAt() of the starting pod already attached the volume and did not mount
it yet, TearDownAt() of the dying pod will detach it - GetMountRefs() does not
count with this volume.

These two threads run in parallel:

 dying pod.TearDownAt("myVolume")          starting pod.SetUpAt("myVolume")
   |                                       |
   |                                       AttachDisk("myVolume")
   refs, err := mount.GetMountRefs()       |
   Unmount("myDir")                        |
   if refs == 1 {                          |
   |  |                                    Mount("myVolume", "myDir")
   |  |                                    |
   |  DetachDisk("myVolume")               |
   |                                       start containers - OOPS! The volume is detached!
   |
   finish the pod cleanup


Also, add some logs to cinder plugin for easier debugging in the future, add
a test and update the fake mounter to know about bind mounts.
2016-02-02 14:38:49 +01:00
k8s-merge-robot
d082357259 Merge pull request #20138 from jetsanix/fix-ubuntu
Auto commit by PR queue bot
2016-02-02 05:20:31 -08:00
Filip Grzadkowski
f7cab1fd3e Fix link in releasing.md
Remove additional space which broke http link.
2016-02-02 13:58:47 +01:00
k8s-merge-robot
d8047e7632 Merge pull request #20118 from erictune/chmod
Auto commit by PR queue bot
2016-02-02 04:50:54 -08:00
k8s-merge-robot
df4d50a7ac Merge pull request #20098 from brendandburns/flake2
Auto commit by PR queue bot
2016-02-02 04:22:45 -08:00
k8s-merge-robot
bf9523a03a Merge pull request #20195 from bprashanth/fix_zone_url
Auto commit by PR queue bot
2016-02-02 03:50:05 -08:00
k8s-merge-robot
ac24a68801 Merge pull request #20094 from mesosphere/jdef_mesos_026_godeps
Auto commit by PR queue bot
2016-02-02 03:19:25 -08:00
k8s-merge-robot
78eaa6635e Merge pull request #20080 from nagarjung/flocker_feature
Auto commit by PR queue bot
2016-02-02 02:45:14 -08:00
k8s-merge-robot
71727385e8 Merge pull request #20069 from BugRoger/cephfs_subtree_mount_master
Auto commit by PR queue bot
2016-02-02 02:15:35 -08:00
k8s-merge-robot
c0fd002fbb Merge pull request #20019 from thockin/dont-cni-hostnet-pods
Auto commit by PR queue bot
2016-02-02 01:43:24 -08:00
k8s-merge-robot
17a5058e83 Merge pull request #19893 from janetkuo/kubectl-rollout-history
Auto commit by PR queue bot
2016-02-02 01:13:15 -08:00
k8s-merge-robot
71ae2736c0 Merge pull request #19889 from yujuhong/replace_cache
Auto commit by PR queue bot
2016-02-02 00:41:06 -08:00
k8s-merge-robot
126f798699 Merge pull request #19942 from yujuhong/mirror_creation
Auto commit by PR queue bot
2016-02-01 22:55:38 -08:00
k8s-merge-robot
5a6cf15c09 Merge pull request #19874 from justinsb/aws_fix_findinstancesbynodenames
Auto commit by PR queue bot
2016-02-01 21:38:46 -08:00
Yu-Ju Hong
ff04de4fc0 Remove RuntimeCache from sync path
This change removes RuntimeCache in the pod workers and the syncPod() function.
Note that it doesn't deprecate RuntimeCache completely as other components
still rely on the cache.
2016-02-01 21:32:41 -08:00
k8s-merge-robot
32ab64ce5b Merge pull request #19778 from resouer/runtime
Auto commit by PR queue bot
2016-02-01 21:05:05 -08:00
k8s-merge-robot
f7bc0c1fc7 Merge pull request #19608 from ihmccreery/skip-1.0
Auto commit by PR queue bot
2016-02-01 20:33:25 -08:00
k8s-merge-robot
2d8068e53e Merge pull request #20450 from mikedanese/bool-string-ptr-conversion
Auto commit by PR queue bot
2016-02-01 20:02:46 -08:00
k8s-merge-robot
ec1f5d03c1 Merge pull request #19934 from gmarek/fix-test
Auto commit by PR queue bot
2016-02-01 20:02:45 -08:00
k8s-merge-robot
6f94afb68d Merge pull request #20390 from pra85/patch-1
Auto commit by PR queue bot
2016-02-01 17:41:28 -08:00
k8s-merge-robot
ba13454430 Merge pull request #19855 from mitake/remove-v
Auto commit by PR queue bot
2016-02-01 17:18:42 -08:00
Isaac Hollander McCreery
14e6910364 Skip kubectl tests that don't work before v1.1 when running against a pre-v1.1 cluster; fixes #18581 2016-02-01 16:56:19 -08:00
k8s-merge-robot
348858061d Merge pull request #20258 from smarterclayton/get_logs_for_any_container
Auto commit by PR queue bot
2016-02-01 16:24:20 -08:00
k8s-merge-robot
64a055307e Merge pull request #20449 from freehan/esexample
Auto commit by PR queue bot
2016-02-01 16:14:16 -08:00
Mike Danese
c5ab2cae15 autogenerated 2016-02-01 16:01:19 -08:00
Mike Danese
896c670fb9 conversion: add default conversion for {string,bool} ptr to {string,bool}
This is useful because it allows defaulting to infer wheter a
string,bool value was provided by the user while still having the field
represented as a non pointer type in the internal representation.
2016-02-01 16:01:19 -08:00
Brendan Burns
2aa5dc317b Try harder to delete cloud resources in service tests 2016-02-01 15:34:55 -08:00
Isaac Hollander McCreery
a61361b3df Knock down the timeouts for gce, gce-slow, gke, and gke-slow now that they run in parallel 2016-02-01 15:33:06 -08:00
Janet Kuo
8fb86a3d3b Add kubectl rollout history 2016-02-01 15:32:43 -08:00
k8s-merge-robot
5275c9421c Merge pull request #20401 from gmarek/fix-kubemark
Auto commit by PR queue bot
2016-02-01 15:18:59 -08:00
k8s-merge-robot
4eaffd2477 Merge pull request #19900 from vishh/kubelet-cpu-cfs
Auto commit by PR queue bot
2016-02-01 15:18:30 -08:00
Minhan Xia
05e63d5967 fix es example 2016-02-01 14:50:38 -08:00
k8s-merge-robot
30375b21d6 Merge pull request #19776 from justinsb/aws_sync_kubeup_gce
Auto commit by PR queue bot
2016-02-01 14:44:18 -08:00
k8s-merge-robot
2746b5e43d Merge pull request #20320 from caesarxuchao/add-discovery
Auto commit by PR queue bot
2016-02-01 14:35:27 -08:00
k8s-merge-robot
feb4b4857c Merge pull request #19890 from vishh/0-nodes
Auto commit by PR queue bot
2016-02-01 14:09:06 -08:00
Robert Bailey
404d0696a9 Add timestamps to the liveness e2e test by changing By -> Logf
in places where the statement is for debugging rather than
describing what the test is doing.
2016-02-01 13:44:31 -08:00
k8s-merge-robot
7e158006c0 Merge pull request #19940 from yujuhong/fix_update
Auto commit by PR queue bot
2016-02-01 13:35:54 -08:00
Michael Schmidt
92d814725b add generated code 2016-02-01 22:31:44 +01:00
Michael Schmidt
1373e0139d CephFS: Add subdir Option for Changing Mounted Root Directory 2016-02-01 22:01:19 +01:00