1. 20 Oct, 2017 14 commits
  2. 19 Oct, 2017 26 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #53759 from anfernee/sched-test · 2523e3eb
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Make scheduler integration test faster
      
      Not to wait for 30 seconds for every negative test case. This commit
      also organizes the test code to make it more readable.
      
      It cuts the test time from 450s to 125s.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #53302
      
      **Special notes for your reviewer**:
      
      **Release note**: 
      ```release-note
      NONE
      ```
      2523e3eb
    • Kubernetes Submit Queue's avatar
      Merge pull request #53841 from crimsonfaith91/deployment-upgrade · adb7aed2
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 52794, 54243, 54248, 53491, 53841). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      revamp deployment upgrade test
      
      **What this PR does / why we need it**:
      This PR revamps existing deployment upgrade test, removing redundant steps that is covered by replicaset upgrade test.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: xref #52113
      
      **Special notes for your reviewer**:
      The replicaset upgrade test PR is here: #52449
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      adb7aed2
    • Kubernetes Submit Queue's avatar
      Merge pull request #53491 from jsafrane/fix-recycler-reuse · d98911c5
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 52794, 54243, 54248, 53491, 53841). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      PV recycler: don't reuse old recycler pod.
      
      It might be forged by user and block Kubernetes from recycling. Try to kill it instead.
      
      + report error when Kubernetes failed to delete recycler pod. PV controller will re-try recycling the PV again and delete the pod eventually.
      
      **Which issue this PR fixes**
      fixes #53413
      
      **Release note**:
      ```release-note
      None
      ```
      
      @kubernetes/sig-storage-pr-reviews 
      /assign @tallclair
      d98911c5
    • Kubernetes Submit Queue's avatar
      Merge pull request #54248 from MrHohn/gcp-ilb-skip-large-cluster · 34d5f40d
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 52794, 54243, 54248, 53491, 53841). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Skip ILB e2e test on GCP if cluster size exceeds limit
      
      **What this PR does / why we need it**: Ack https://github.com/kubernetes/kubernetes/issues/52495#issuecomment-337293615, ILB test will fail on large cluster.
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: xref https://github.com/kubernetes/kubernetes/issues/52495
      
      **Special notes for your reviewer**:
      /assign @nicksardo @bowei 
      cc @shyamjvs 
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      34d5f40d
    • Kubernetes Submit Queue's avatar
      Merge pull request #54243 from zouyee/dl · 84bad0e0
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 52794, 54243, 54248, 53491, 53841). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      fix dl.k8s.io
      
      **What this PR does / why we need it**:
      fixes [#33726](https://github.com/kubernetes/kubernetes/pull/33726)Redirect dl.k8s.io to the kubernetes-release GCS bucket
      ref :[kubernetes/k8s.io#15](https://github.com/kubernetes/k8s.io/pull/15)
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      
      **Special notes for your reviewer**:
      
      **Release note**:
      
      ```
      NONE
      ```
      84bad0e0
    • Kubernetes Submit Queue's avatar
      Merge pull request #52794 from neolit123/kubeadm_reset · 4ed44768
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      kubeadm-reset: notify about a non-default certificates directory
      
      **What this PR does / why we need it**:
      The `kubeadm reset` command requires super-user access.
      When passing non-default path to the `kubeadm reset` command via `--cert-dir `, the user should be at least warned that a non-standard directory is being cleaned completely.
      
      **Which issue this PR fixes**
      /approve no-issue
      
      **Special notes for your reviewer**:
      If you think that this can be amended (or even improved as a whole) in some way, please let me know.
      
      **Release note**:
      ```release-note
      Make sure that "kubeadm reset" notifies about cleaning the directory specified by "--cert-dir" with a warning.
      ```
      Lubomir I. Ivanov (VMWare)
      4ed44768
    • Yang Guo's avatar
      Allow absent Weight if PrioritizeVerb is empty · 1c60898b
      Yang Guo authored
      1c60898b
    • Christian Heimes's avatar
      Run hack/update-bazel.sh · 5f9d8ba5
      Christian Heimes authored
      Signed-off-by: 's avatarChristian Heimes <cheimes@redhat.com>
      5f9d8ba5
    • Kubernetes Submit Queue's avatar
      Merge pull request #54162 from deads2k/admission-07-defaultfail · 6ddaee5e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
       default admission hook failure safely
      
      Follow-up to https://github.com/kubernetes/kubernetes/pull/53823
      
       This sets the default for admission webhook to fail safely closed.  You can still set it to fail open, but it isn't the default.
      
      /assign liggitt
      /assign caesarxuchao
      
      ```release-note
      admission webhook registrations without a specific failure policy default to failing closed.
      ```
      6ddaee5e
    • Kubernetes Submit Queue's avatar
      Merge pull request #53218 from vmware/e2e-vsphere-statefulsets · 1e152dba
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Adding e2e test for statefulsets for vsphere cloud provider
      
      **What this PR does / why we need it**:
      This PR adds a new e2e test for statefulsets for vSphere cloud Provider.
      
      Test does following tasks.
      
      - Create a storage class with thin diskformat.
      - Create nginx service.
      - Create nginx statefulsets with 3 replicas.
      - Wait until all Pods are ready and PVCs are bounded with PV.
      - Verify volumes are accessible in all statefulsets pods with creating empty file.
      - Scale down statefulsets to 2 replicas.
      - Scale up statefulsets to 3 replicas.
      - Scale down statefulsets to 0 replicas and delete all pods.
      - Delete all PVCs from the test namespace.
      - Delete the storage class.
      
      
      **Which issue this PR fixes** 
      fixes # https://github.com/vmware/kubernetes/issues/275
      
      **Special notes for your reviewer**:
      Test Logs
      ```
      root@k8s-dev-vm-02:~/divyenp/kubernetes# go run hack/e2e.go --check-version-skew=false --v --test --test_args='--ginkgo.focus=vsphere\sstatefulset\stesting'
      flag provided but not defined: -check-version-skew
      Usage of /tmp/go-build247641121/command-line-arguments/_obj/exe/e2e:
        -get
          	go get -u kubetest if old or not installed (default true)
        -old duration
          	Consider kubetest old if it exceeds this (default 24h0m0s)
      2017/10/18 19:24:33 e2e.go:55: NOTICE: go run hack/e2e.go is now a shim for test-infra/kubetest
      2017/10/18 19:24:33 e2e.go:56:   Usage: go run hack/e2e.go [--get=true] [--old=24h0m0s] -- [KUBETEST_ARGS]
      2017/10/18 19:24:33 e2e.go:57:   The separator is required to use --get or --old flags
      2017/10/18 19:24:33 e2e.go:58:   The -- flag separator also suppresses this message
      2017/10/18 19:24:33 e2e.go:77: Calling kubetest --check-version-skew=false --v --test --test_args=--ginkgo.focus=vsphere\sstatefulset\stesting...
      2017/10/18 19:24:33 util.go:154: Running: ./cluster/kubectl.sh --match-server-version=false version
      2017/10/18 19:24:34 util.go:156: Step './cluster/kubectl.sh --match-server-version=false version' finished in 290.682219ms
      2017/10/18 19:24:34 util.go:154: Running: ./hack/e2e-internal/e2e-status.sh
      Skeleton Provider: prepare-e2e not implemented
      Client Version: version.Info{Major:"1", Minor:"9+", GitVersion:"v1.9.0-alpha.1.1217+8b041da0-dirty", GitCommit:"8b041da0", GitTreeState:"dirty", BuildDate:"2017-10-19T00:46:00Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
      Server Version: version.Info{Major:"1", Minor:"9+", GitVersion:"v1.9.0-alpha.1.1293+d462bac7", GitCommit:"d462bac7", GitTreeState:"clean", BuildDate:"2017-10-18T07:07:08Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
      2017/10/18 19:24:34 util.go:156: Step './hack/e2e-internal/e2e-status.sh' finished in 305.965323ms
      2017/10/18 19:24:34 util.go:154: Running: ./hack/ginkgo-e2e.sh --ginkgo.focus=vsphere\sstatefulset\stesting
      Conformance test: not doing test setup.
      Oct 18 19:24:35.808: INFO: Overriding default scale value of zero to 1
      Oct 18 19:24:35.808: INFO: Overriding default milliseconds value of zero to 5000
      I1018 19:24:36.073718    7768 e2e.go:383] Starting e2e run "a63561de-b474-11e7-8f6b-0050569c26b8" on Ginkgo node 1
      Running Suite: Kubernetes e2e suite
      ===================================
      Random Seed: 1508379875 - Will randomize all specs
      Will run 1 of 713 specs
      
      Oct 18 19:24:36.132: INFO: >>> kubeConfig: /root/.kube/config
      Oct 18 19:24:36.139: INFO: Waiting up to 4h0m0s for all (but 0) nodes to be schedulable
      Oct 18 19:24:36.177: INFO: Waiting up to 10m0s for all pods (need at least 0) in namespace 'kube-system' to be running and ready
      Oct 18 19:24:36.321: INFO: 13 / 13 pods in namespace 'kube-system' are running and ready (0 seconds elapsed)
      Oct 18 19:24:36.321: INFO: expected 4 pod replicas in namespace 'kube-system', 4 are Running and Ready.
      Oct 18 19:24:36.326: INFO: Waiting for pods to enter Success, but no pods in "kube-system" match label map[name:e2e-image-puller]
      Oct 18 19:24:36.326: INFO: Dumping network health container logs from all nodes...
      Oct 18 19:24:36.338: INFO: Client version: v1.9.0-alpha.1.1217+8b041da0-dirty
      Oct 18 19:24:36.340: INFO: Server version: v1.9.0-alpha.1.1293+d462bac7
      SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS
      ------------------------------
      [sig-storage] vsphere statefulset 
        vsphere statefulset testing
        /root/divyenp/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere_statefulsets.go:155
      [BeforeEach] [sig-storage] vsphere statefulset
        /root/divyenp/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:133
      STEP: Creating a kubernetes client
      Oct 18 19:24:36.349: INFO: >>> kubeConfig: /root/.kube/config
      STEP: Building a namespace api object
      STEP: Waiting for a default service account to be provisioned in namespace
      [BeforeEach] [sig-storage] vsphere statefulset
        /root/divyenp/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere_statefulsets.go:63
      [It] vsphere statefulset testing
        /root/divyenp/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere_statefulsets.go:155
      STEP: Creating StorageClass for Statefulset
      STEP: Creating statefulset
      Oct 18 19:24:36.489: INFO: Parsing statefulset from test/e2e/testing-manifests/statefulset/nginx/statefulset.yaml
      Oct 18 19:24:36.503: INFO: Parsing service from test/e2e/testing-manifests/statefulset/nginx/service.yaml
      Oct 18 19:24:36.514: INFO: creating web service
      Oct 18 19:24:36.527: INFO: creating statefulset e2e-tests-vsphere-statefulset-gnfmp/web with 3 replicas and selector &LabelSelector{MatchLabels:map[string]string{app: nginx,},MatchExpressions:[],}
      Oct 18 19:24:36.561: INFO: Found 0 stateful pods, waiting for 3
      Oct 18 19:24:46.567: INFO: Found 1 stateful pods, waiting for 3
      Oct 18 19:24:56.568: INFO: Found 1 stateful pods, waiting for 3
      Oct 18 19:25:06.568: INFO: Found 1 stateful pods, waiting for 3
      Oct 18 19:25:16.566: INFO: Found 1 stateful pods, waiting for 3
      Oct 18 19:25:26.567: INFO: Found 1 stateful pods, waiting for 3
      Oct 18 19:25:36.567: INFO: Found 1 stateful pods, waiting for 3
      Oct 18 19:25:46.567: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:25:56.568: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:26:06.567: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:26:16.568: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:26:26.567: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:26:36.568: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:26:46.568: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:26:56.571: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:27:06.568: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:27:16.569: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:27:26.568: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:27:36.569: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:27:46.569: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:27:56.567: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:28:06.567: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:28:16.567: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:28:26.567: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:28:36.574: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:28:46.567: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:28:56.571: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:29:06.569: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:29:16.568: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:29:26.566: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:29:36.568: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:29:46.566: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:29:56.567: INFO: Found 2 stateful pods, waiting for 3
      Oct 18 19:30:06.568: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:06.568: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:06.568: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:30:16.567: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:16.567: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:16.567: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:30:26.567: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:26.567: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:26.567: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:30:36.567: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:36.567: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:36.567: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:30:46.567: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:46.567: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:46.567: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:30:56.566: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:56.567: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:30:56.567: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:31:06.567: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:06.568: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:06.568: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:31:16.567: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:16.567: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:16.567: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:31:26.567: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:26.568: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:26.568: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:31:36.568: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:36.568: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:36.568: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:31:46.568: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:46.568: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:46.568: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:31:56.568: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:56.568: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:31:56.568: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:32:06.567: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:32:06.567: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:32:06.567: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:32:16.571: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:32:16.571: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:32:16.571: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Pending - Ready=false
      Oct 18 19:32:26.567: INFO: Waiting for pod web-0 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:32:26.567: INFO: Waiting for pod web-1 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:32:26.567: INFO: Waiting for pod web-2 to enter Running - Ready=true, currently Running - Ready=true
      Oct 18 19:32:26.567: INFO: Waiting for statefulset status.replicas updated to 3
      Oct 18 19:32:26.605: INFO: Running '/root/divyenp/kubernetes/_output/bin/kubectl --server=https://10.192.38.85 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-vsphere-statefulset-gnfmp web-0 -- /bin/sh -c ls -idlh /usr/share/nginx/html'
      Oct 18 19:32:27.170: INFO: stderr: ""
      Oct 18 19:32:27.170: INFO: stdout of ls -idlh /usr/share/nginx/html on web-0: 2 drwxr-xr-x 3 root root 4.0K Oct 19 02:25 /usr/share/nginx/html
      
      Oct 18 19:32:27.171: INFO: Running '/root/divyenp/kubernetes/_output/bin/kubectl --server=https://10.192.38.85 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-vsphere-statefulset-gnfmp web-1 -- /bin/sh -c ls -idlh /usr/share/nginx/html'
      Oct 18 19:32:27.687: INFO: stderr: ""
      Oct 18 19:32:27.688: INFO: stdout of ls -idlh /usr/share/nginx/html on web-1: 2 drwxr-xr-x 3 root root 4.0K Oct 19 02:29 /usr/share/nginx/html
      
      Oct 18 19:32:27.688: INFO: Running '/root/divyenp/kubernetes/_output/bin/kubectl --server=https://10.192.38.85 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-vsphere-statefulset-gnfmp web-2 -- /bin/sh -c ls -idlh /usr/share/nginx/html'
      Oct 18 19:32:28.177: INFO: stderr: ""
      Oct 18 19:32:28.177: INFO: stdout of ls -idlh /usr/share/nginx/html on web-2: 2 drwxr-xr-x 3 root root 4.0K Oct 19 02:32 /usr/share/nginx/html
      
      Oct 18 19:32:28.183: INFO: Running '/root/divyenp/kubernetes/_output/bin/kubectl --server=https://10.192.38.85 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-vsphere-statefulset-gnfmp web-0 -- /bin/sh -c find /usr/share/nginx/html'
      Oct 18 19:32:28.690: INFO: stderr: ""
      Oct 18 19:32:28.690: INFO: stdout of find /usr/share/nginx/html on web-0: /usr/share/nginx/html
      /usr/share/nginx/html/lost+found
      
      Oct 18 19:32:28.690: INFO: Running '/root/divyenp/kubernetes/_output/bin/kubectl --server=https://10.192.38.85 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-vsphere-statefulset-gnfmp web-1 -- /bin/sh -c find /usr/share/nginx/html'
      Oct 18 19:32:29.166: INFO: stderr: ""
      Oct 18 19:32:29.166: INFO: stdout of find /usr/share/nginx/html on web-1: /usr/share/nginx/html
      /usr/share/nginx/html/lost+found
      
      Oct 18 19:32:29.166: INFO: Running '/root/divyenp/kubernetes/_output/bin/kubectl --server=https://10.192.38.85 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-vsphere-statefulset-gnfmp web-2 -- /bin/sh -c find /usr/share/nginx/html'
      Oct 18 19:32:29.696: INFO: stderr: ""
      Oct 18 19:32:29.696: INFO: stdout of find /usr/share/nginx/html on web-2: /usr/share/nginx/html
      /usr/share/nginx/html/lost+found
      
      Oct 18 19:32:29.707: INFO: Running '/root/divyenp/kubernetes/_output/bin/kubectl --server=https://10.192.38.85 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-vsphere-statefulset-gnfmp web-0 -- /bin/sh -c touch /usr/share/nginx/html/1508380346587629054'
      Oct 18 19:32:30.171: INFO: stderr: ""
      Oct 18 19:32:30.171: INFO: stdout of touch /usr/share/nginx/html/1508380346587629054 on web-0: 
      Oct 18 19:32:30.171: INFO: Running '/root/divyenp/kubernetes/_output/bin/kubectl --server=https://10.192.38.85 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-vsphere-statefulset-gnfmp web-1 -- /bin/sh -c touch /usr/share/nginx/html/1508380346587629054'
      Oct 18 19:32:30.653: INFO: stderr: ""
      Oct 18 19:32:30.653: INFO: stdout of touch /usr/share/nginx/html/1508380346587629054 on web-1: 
      Oct 18 19:32:30.654: INFO: Running '/root/divyenp/kubernetes/_output/bin/kubectl --server=https://10.192.38.85 --kubeconfig=/root/.kube/config exec --namespace=e2e-tests-vsphere-statefulset-gnfmp web-2 -- /bin/sh -c touch /usr/share/nginx/html/1508380346587629054'
      Oct 18 19:32:31.149: INFO: stderr: ""
      Oct 18 19:32:31.150: INFO: stdout of touch /usr/share/nginx/html/1508380346587629054 on web-2: 
      STEP: Scaling down statefulsets to number of Replica: 2
      Oct 18 19:32:31.263: INFO: Scaling statefulset web to 2
      Oct 18 19:32:51.314: INFO: Waiting for statefulset status.replicas updated to 2
      STEP: Verify Volumes are detached from Nodes after Statefulsets is scaled down
      Oct 18 19:32:51.524: INFO: Waiting for Volume: "[vsanDatastore] 1874c359-f300-a0cc-fd7e-02002a623c85/kubernetes-dynamic-pvc-67b7e88c-b475-11e7-a38c-0050569c555f.vmdk" to detach from Node: "kubernetes-node2"
      Oct 18 19:33:01.657: INFO: Volume "[vsanDatastore] 1874c359-f300-a0cc-fd7e-02002a623c85/kubernetes-dynamic-pvc-67b7e88c-b475-11e7-a38c-0050569c555f.vmdk" appears to have successfully detached from "kubernetes-node2".
      STEP: Scaling up statefulsets to number of Replica: 3
      Oct 18 19:33:01.657: INFO: Scaling statefulset web to 3
      Oct 18 19:33:11.731: INFO: Waiting for statefulset status.replicas updated to 3
      Oct 18 19:33:11.747: INFO: Waiting for statefulset status.replicas updated to 3
      STEP: Verify all volumes are attached to Nodes after Statefulsets is scaled up
      Oct 18 19:33:13.823: INFO: Verify Volume: "[vsanDatastore] 1874c359-f300-a0cc-fd7e-02002a623c85/kubernetes-dynamic-pvc-a6cf15ef-b474-11e7-a38c-0050569c555f.vmdk" is attached to the Node: "kubernetes-node4"
      Oct 18 19:33:15.990: INFO: Verify Volume: "[vsanDatastore] 1874c359-f300-a0cc-fd7e-02002a623c85/kubernetes-dynamic-pvc-cfb65f92-b474-11e7-a38c-0050569c555f.vmdk" is attached to the Node: "kubernetes-node3"
      Oct 18 19:33:18.154: INFO: Verify Volume: "[vsanDatastore] 1874c359-f300-a0cc-fd7e-02002a623c85/kubernetes-dynamic-pvc-67b7e88c-b475-11e7-a38c-0050569c555f.vmdk" is attached to the Node: "kubernetes-node2"
      [AfterEach] [sig-storage] vsphere statefulset
        /root/divyenp/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:134
      Oct 18 19:33:18.323: INFO: Waiting up to 3m0s for all (but 0) nodes to be ready
      STEP: Destroying namespace "e2e-tests-vsphere-statefulset-gnfmp" for this suite.
      Oct 18 19:33:44.960: INFO: namespace: e2e-tests-vsphere-statefulset-gnfmp, resource: bindings, ignored listing per whitelist
      Oct 18 19:33:44.960: INFO: namespace e2e-tests-vsphere-statefulset-gnfmp deletion completed in 26.620223678s
      [AfterEach] [sig-storage] vsphere statefulset
        /root/divyenp/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere_statefulsets.go:67
      Oct 18 19:33:44.960: INFO: Deleting all statefulset in namespace: e2e-tests-vsphere-statefulset-gnfmp
      
      • [SLOW TEST:548.654 seconds]
      [sig-storage] vsphere statefulset
      /root/divyenp/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/framework.go:22
        vsphere statefulset testing
        /root/divyenp/kubernetes/_output/local/go/src/k8s.io/kubernetes/test/e2e/storage/vsphere_statefulsets.go:155
      ------------------------------
      SSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSOct 18 19:33:45.006: INFO: Running AfterSuite actions on all node
      Oct 18 19:33:45.006: INFO: Running AfterSuite actions on node 1
      
      Ran 1 of 713 Specs in 548.875 seconds
      SUCCESS! -- 1 Passed | 0 Failed | 0 Pending | 712 Skipped PASS
      
      Ginkgo ran 1 suite in 9m9.728218415s
      Test Suite Passed
      2017/10/18 19:33:45 util.go:156: Step './hack/ginkgo-e2e.sh --ginkgo.focus=vsphere\sstatefulset\stesting' finished in 9m10.656371481s
      2017/10/18 19:33:45 e2e.go:81: Done
      ```
      
      VMware Reviewers: @rohitjogvmw @BaluDontu @tusharnt
      **Release note**:
      
      ```release-note
      NONE
      ```
      1e152dba
    • Yassine TIJANI's avatar
    • Christian Heimes's avatar
      477aadaa
    • Christian Heimes's avatar
      Use GetByKey() in typeLister_NonNamespacedGet · d57280ef
      Christian Heimes authored
      The Get() function of non-namespace lister passes a temporary object to
      indexer.Get() in order to fetch the actual object from the indexer. This
      may cause Go to allocate the temporary object on the heap instead of the
      stack, as it is passed into interfaces. For non-namespaced objects,
      Get(&Type{ObjectMeta: v1.ObjectMeta{Name: name}}) should be equivalent
      to GetByKey(name).
      
      This could be the root cause of excessive allocations, e.g. in tests
      clusterRoleLister.Get() has trigger 4 billion allocations. See
      https://github.com/openshift/origin/issues/16954Signed-off-by: 's avatarChristian Heimes <cheimes@redhat.com>
      d57280ef
    • Robert Pothier's avatar
      Kubeadm should check for bridge-nf-call-ip6tables · 9ad3116f
      Robert Pothier authored
      With this change, Kubeadm will check that
      /proc/sys/net/bridge/bridge-nf-call-ip6tables is set to 1 in
      preflight when using IPv6. This is similar to how it currenltly checks for
      bridge-nf-call-iptables.
      9ad3116f
    • Jun Xiang Tee's avatar
      revamp deployment upgrade test · dd3b7820
      Jun Xiang Tee authored
      dd3b7820
    • Kubernetes Submit Queue's avatar
      Merge pull request #53031 from vishh/device-id · c3d47b68
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Make AllocateResponse artifacts global across all devices per container in device plugin API
      
      The current version of Device plugins returns artifacts (env vars, mounts, devices) per device, per container. This is not necessary and results in complex merging issues on kubelet side
      
      There can still be a conflict if the artifacts returned by device plugin conflicts with the pod spec. In that case, I'd recommend failing pods in kubelet. This is yet to be addressed.
      
      The go package name for device plugin apis is updated from `pkg/kubelet/apis/deviceplugin/v1alpha1` to `pkg/kubelet/apis/deviceplugin/v1alpha` (sub-version dropped) because we expect the alpha version to change until it graduates to beta and changing the go package everytime the actual alpha version changes is too tedious.
      
      ```release-note
      Device plugin Alpha API no longer supports returning artifacts per device as part of AllocateResponse.
      ```
      
      TODO:
      - [x] Bump kubelet side API version
      - [X] Post an updated device plugin image that works with the new API version
      - [ ] Stabilize e2es (This PR needs to be merged since there is a dependency on the plugin side for vendoring)
      c3d47b68
    • David McMahon's avatar
      Update CHANGELOG-1.7.md for v1.7.9. · e292da81
      David McMahon authored
      e292da81
    • Kubernetes Submit Queue's avatar
      Merge pull request #54142 from neolit123/cmdutil-01 · 7f49a2cc
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53809, 54244, 54142). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      kubeadm/cmdutil.go: improve ValidateExactArgNumber()
      
      **What this PR does / why we need it**:
      This patch makes small changes in
      ValidateExactArgNumber():
      
      - Use a variable for the length of supported arguments
      - Return an error early if the number of valid arguments
      exceeds the number of supported arguments
      
      **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #
      none
      
      **Special notes for your reviewer**:
      none
      
      **Release note**:
      
      ```release-note
      NONE
      ```
      
      Lubomir (VMware)
      7f49a2cc
    • Kubernetes Submit Queue's avatar
      Merge pull request #54244 from gnufied/fix-log-spam-from-node-status · 44f89806
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 53809, 54244, 54142). If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Fixes spam from node status updates
      
      Some of us are looking at reducing unncessary logging spam which happens in k8s.  This message is anyway logged by caller of the function and hence we should not log it again.
      
      cc @kubernetes/sig-storage-pr-reviews @eparis
      44f89806
    • Kubernetes Submit Queue's avatar
      Merge pull request #53809 from rrati/lease-reconciler-fixes · c7a1a061
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      Fixed the lease endpoint reconciler creation of kubernetes endpoint and lease file ttl. #53803
      
      Fixed the prefix used to create the kubernetes endpoint and the ttl value used for lease files.
      
      Fixes: #53803
      c7a1a061
    • Zihong Zheng's avatar
      8f216be8
    • David Eads's avatar
      default admission hook failure safely · 4e79357f
      David Eads authored
      4e79357f
    • Kubernetes Submit Queue's avatar
      Merge pull request #54156 from deads2k/admission-06-restclient · f07b359e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>.
      
      update admission webhook to accept client config
      
      Fixes https://github.com/kubernetes/kubernetes/issues/53827
      
      This plumbs a complete client through the plugin initializer for admission webhooks.  It achieves parity with our existing webhooks and provides flexibility if people want to do something special or different.  Easy things are easy, hard things are possible.  This does not change behavior for kube-apiserver.
      
      @kubernetes/sig-auth-api-reviews @kubernetes/sig-api-machinery-bugs
      f07b359e
    • Vishnu kannan's avatar
    • Vishnu kannan's avatar
    • Vishnu kannan's avatar
      Make AllocateResponse artifacts global across all devices per container in device plugin API · 18eee1ea
      Vishnu kannan authored
      There is no use case known for passing artifacts per device as it currently exists. The current API is also
      complex to use for simple clients. Hence this PR creates a flat namespace where artifacts like environment variables
      and mount points apply globally to all devices returned as part of AllocateResponse proto.
      Signed-off-by: 's avatarVishnu kannan <vishnuk@google.com>
      18eee1ea