1. 25 Mar, 2017 19 commits
  2. 24 Mar, 2017 21 commits
    • Kubernetes Submit Queue's avatar
      Merge pull request #42631 from NickrenREN/pv-isVolumeBoundToClaim-1 · d585eb30
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42522, 42545, 42556, 42006, 42631)
      
      optimize the binding logic of bindClaimToVolume
      
      extract var shouldSetBoundByController and do not need to judge volumename twice
      **Release note**:
      ```release-note
      NONE
      ```
      d585eb30
    • Kubernetes Submit Queue's avatar
      Merge pull request #42006 from screeley44/error-events3 · 803369b9
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42522, 42545, 42556, 42006, 42631)
      
      Fixes MountVolume.NewMounter errors not displayed to users via describe events
      
      Fixes #42004 
      
      This fixes the problem of mount errors being eaten and not displayed to users again.  Specifically erros caught in MountVolume.NewMounter (like missing endpoints, etc...)
      
      Current behavior for any mount failure:
      
      ```
      Events:
        FirstSeen    LastSeen    Count    From            SubObjectPath    Type        Reason        Message
        ---------    --------    -----    ----            -------------    --------    ------        -------
        12m        12m        1    default-scheduler            Normal        Scheduled    Successfully assigned glusterfs-bb-pod1 to 127.0.0.1
        10m        1m        5    kubelet, 127.0.0.1            Warning        FailedMount    Unable to mount volumes for pod "glusterfs-bb-pod1_default(67c9dfa7-f9f5-11e6-aee2-5254003a59cf)": timeout expired waiting for volumes to attach/mount for pod "default"/"glusterfs-bb-pod1". list of unattached/unmounted volumes=[glusterfsvol]
        10m        1m        5    kubelet, 127.0.0.1            Warning        FailedSync    Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "default"/"glusterfs-bb-pod1". list of unattached/unmounted volumes=[glusterfsvol]
      ```
      
      New Behavior:
      
      For example on glusterfs - deliberately didn't create endpoints, now correct message is displayed:
      ```
      Events:
        FirstSeen	LastSeen	Count	From			SubObjectPath	Type		Reason		Message
        ---------	--------	-----	----			-------------	--------	------		-------
        2m		2m		1	default-scheduler			Normal		Scheduled	Successfully assigned glusterfs-bb-pod1 to 127.0.0.1
        54s		54s		1	kubelet, 127.0.0.1			Warning		FailedMount	Unable to mount volumes for pod "glusterfs-bb-pod1_default(8edd2c25-fa09-11e6-92ae-5254003a59cf)": timeout expired waiting for volumes to attach/mount for pod "default"/"glusterfs-bb-pod1". With error timed out waiting for the condition. list of unattached/unmounted volumes=[glusterfsvol]
        54s		54s		1	kubelet, 127.0.0.1			Warning		FailedSync	Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "default"/"glusterfs-bb-pod1". With error timed out waiting for the condition. list of unattached/unmounted volumes=[glusterfsvol]
        2m		6s		814	kubelet, 127.0.0.1			Warning		FailedMount	MountVolume.NewMounter failed for volume "kubernetes.io/glusterfs/8edd2c25-fa09-11e6-92ae-5254003a59cf-glusterfsvol" (spec.Name: "glusterfsvol") pod "8edd2c25-fa09-11e6-92ae-5254003a59cf" (UID: "8edd2c25-fa09-11e6-92ae-5254003a59cf") with: endpoints "glusterfs-cluster" not found
      ```
      803369b9
    • Kubernetes Submit Queue's avatar
      Merge pull request #42556 from resouer/fix-id · a4986e38
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42522, 42545, 42556, 42006, 42631)
      
      Use pod sandbox id in checkpoint
      
      **What this PR does / why we need it**: we should log out sandbox id when checkpoint error
      
      **Release note**:
      
      ```NONE
      ```
      a4986e38
    • Kubernetes Submit Queue's avatar
      Merge pull request #42545 from shiywang/e2e · 57fbbc61
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42522, 42545, 42556, 42006, 42631)
      
      add e2e test for `apply set/view last-applied` command
      
      @pwittrock  @kubernetes/sig-cli-pr-reviews
      57fbbc61
    • Kubernetes Submit Queue's avatar
      Merge pull request #42522 from NickrenREN/pv-err-print · d2175bab
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      print err message when update store failed
      
      ```release-note
      NONE
      ```
      d2175bab
    • Madhusudan.C.S's avatar
    • Jeff Grafton's avatar
      e39978e6
    • Kubernetes Submit Queue's avatar
      Merge pull request #43635 from bowei/gce-owner · bc6e77d4
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Add bowei to OWNERS of cloudproviders/gce
      
      ```release-note
      none
      ```
      bc6e77d4
    • Kubernetes Submit Queue's avatar
      Merge pull request #42551 from shashidharatd/e2e-tests · a34da764
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42237, 42297, 42279, 42436, 42551)
      
      Cleanup federation_util.go in e2e/framework
      
      The only function GetValidDNSSubdomainName in  test/e2e/framework/federation_util.go is no longer used for some time now. so cleaning it up.
      
      cc @kubernetes/sig-federation-pr-reviews @madhusudancs
      a34da764
    • Kubernetes Submit Queue's avatar
      Merge pull request #42436 from vmware/add-stateful-set-example.kerneltime · c2286b8c
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42237, 42297, 42279, 42436, 42551)
      
      Add example for how to use vSphere volumes in Stateful Sets
      
      **What this PR does / why we need it**: Examples yaml for using vSphere volumes in stateful sets.
      
      **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**:
      
      ```release-note
      ```
      c2286b8c
    • Kubernetes Submit Queue's avatar
      Merge pull request #42279 from copejon/fix-pvc-poll-error-message · 694088b3
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42237, 42297, 42279, 42436, 42551)
      
      Reword PVC polling message to log a more readable message.
      
      **What this PR does / why we need it**:
      Previous message used to report an error is misleading and poorly written.  This PR changes the log to be more readable.
      
      ```release-note
      NONE
      ```
      694088b3
    • Kubernetes Submit Queue's avatar
      Merge pull request #42297 from YuPengZTE/devErrorf · fb537762
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 42237, 42297, 42279, 42436, 42551)
      
      should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...)
      Signed-off-by: 's avataryupengzte <yu.peng36@zte.com.cn>
      
      
      
      **What this PR does / why we need it**:
      
      **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**:
      
      ```release-note
      ```
      fb537762
    • Kubernetes Submit Queue's avatar
      Merge pull request #42237 from kargakis/remove-extra-deep-copy · f22e621f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      controller: drop extra rs deep-copy
      
      @janetkuo @mwielgus
      f22e621f
    • Kubernetes Submit Queue's avatar
      Merge pull request #42157 from jsafrane/fix-zone-test · 5136922f
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      Fix test for provisioning in unmanaged zone.
      
      defer evaluates arguments of the deferred function immediately, so it actually
      deleted a storage class and a claim before the test could do anything useful.
      
      The test passed just accidentally, as the test is expected to time out. It
      timed out from wrong reasons though.
      
      @copejon @kubernetes/sig-storage-pr-reviews 
      
      ```release-note
      NONE
      ```
      5136922f
    • Bowei Du's avatar
      Add bowei to OWNERS of cloudproviders/gce · 0ab072dd
      Bowei Du authored
      0ab072dd
    • Anthony Yeh's avatar
      Update CHANGELOG.md for v1.6.0-rc.1. · 24d601b0
      Anthony Yeh authored
      24d601b0
    • Kubernetes Submit Queue's avatar
      Merge pull request #42034 from brendandburns/azure · 264c8b43
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41139, 41186, 38882, 37698, 42034)
      
      Add support for bring-your-own ip address for Services on Azure
      
      @colemickens @codablock
      264c8b43
    • Kubernetes Submit Queue's avatar
      Merge pull request #37698 from jsafrane/remove-all-filesystems · d14854fd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41139, 41186, 38882, 37698, 42034)
      
      Make kubelet never delete files on mounted filesystems
      
      With bug #27653, kubelet could remove mounted volumes and delete user data.
      The bug itself is fixed, however our trust in kubelet is significantly lower.
      Let's add an extra version of RemoveAll that does not cross mount boundary
      (rm -rf --one-file-system).
      
      It calls lstat(path) three times for each removed directory - once in
      RemoveAllOneFilesystem and twice in IsLikelyNotMountPoint, however this way
      it's platform independent and the directory that is being removed by kubelet
      should be almost empty.
      d14854fd
    • Kubernetes Submit Queue's avatar
      Merge pull request #38882 from fraenkel/configmap_env_file · 0e17e5bd
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41139, 41186, 38882, 37698, 42034)
      
      create configmap from-env-file
      
      Allow ConfigMaps to be created from Docker based env files.
      
      See proposal https://github.com/kubernetes/community/issues/165
      
      **Release-note:**
      ```release-note
      1. create configmap has a new option --from-env-file that populates a configmap from file which follows a key=val format for each line.
      2. create secret has a new option --from-env-file that populates a configmap from file which follows a key=val format for each line.
      ```
      0e17e5bd
    • Kubernetes Submit Queue's avatar
      Merge pull request #41186 from dixudx/fix_percona_aptkey · 336a7609
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue (batch tested with PRs 41139, 41186, 38882, 37698, 42034)
      
      update the signing key for percona debian and ubuntu packages
      
      **What this PR does / why we need it**:
      
      > W: GPG error: http://repo.percona.com trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9334A25F8507EFA5
      
      The signing key has already been updated. Please refer to [Update the Signing Key for Percona Debian and Ubuntu Packages](https://www.percona.com/blog/2016/10/13/new-signing-key-for-percona-debian-and-ubuntu-packages/) for detailed explanations.
      336a7609
    • Kubernetes Submit Queue's avatar
      Merge pull request #41139 from juanvallejo/jvallejo/set-cluster-api-value · 0d53679e
      Kubernetes Submit Queue authored
      Automatic merge from submit-queue
      
      config set cluster api value
      
      Related bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1420280
      
      **Release note**:
      ```release-note
      release-note-none
      ```
      
      This patch sets a specified api version if one is given while setting cluster values in kubeconfig
      
      cc @AdoHe  @pweil-
      0d53679e