Commit Graph

35096 Commits (d93456ab379564cc31705d206eec50d718ebea13)

Author SHA1 Message Date
Marcin Wielgus d93456ab37 Remove panic handling from federated test helper 2016-09-08 14:53:10 +02:00
Kubernetes Submit Queue aff7dfcaab Merge pull request #30513 from tmrts/kubelet-rkt-cri/use-image-service
Automatic merge from submit-queue

Kubelet rkt CRI use ImageService

Implements `container.ImageService` and refactors the `pkg/kubelet/rkt` to use it
2016-09-08 02:49:58 -07:00
Kubernetes Submit Queue 7a4d81ea43 Merge pull request #31271 from deads2k/self-sar
Automatic merge from submit-queue

add selfsubjectaccessreview API

Exposes the REST API for self subject access reviews.  This allows a user to see whether or not they can perform a particular action.

@kubernetes/sig-auth
2016-09-08 01:29:48 -07:00
Kubernetes Submit Queue 63495d785b Merge pull request #31045 from abrarshivani/vsphere_describe_volume
Automatic merge from submit-queue

Add kubectl describe cmd support for vSphere volume

This PR does following,
Add kubectl describe cmd support for vSphere volume

Examples:

> kubectl describe pod redis
.......
Volumes:
  vmdk-storage:
    Type:	vSphereVolume (a Persistent Disk resource in vSphere)
    VolumePath:	[Datastore] test1
    FSType:	ext4
.........

> kubectl describe pv pv0001
Name:		pv0001
Labels:		<none>
Status:		Available
Claim:
Reclaim Policy:	Recycle
Access Modes:	RWO
Capacity:	2Gi
Message:
Source:
    Type:	vSphereVolume (a Persistent Disk resource in vSphere)
    VolumePath:	[vsanDatastore] volumes/test11
    FSType:	ext4
No events.
2016-09-08 00:08:35 -07:00
Kubernetes Submit Queue 93c9b05bc9 Merge pull request #31979 from dagnello/vsphere-cleanup-controller-nil-check
Automatic merge from submit-queue

vSphere Cloud provider null pointer exception

This PR addresses issue #31823.

SelectByType function in govmomi will panic if deviceType is not Array,
Chan, Map, Ptr, or Slice.  Also checking if vmDevices or vm are nil,
there is nothing to cleanup.
2016-09-07 23:30:48 -07:00
Kubernetes Submit Queue 9ae463593c Merge pull request #32212 from fraenkel/save_stderr
Automatic merge from submit-queue

Save stderr since it may become nil

fixes #32206

opts.Run() may set Err to nil
2016-09-07 22:54:03 -07:00
Kubernetes Submit Queue 962d51ec68 Merge pull request #32077 from jsafrane/provision-plugin
Automatic merge from submit-queue

Do not report warning event when an unknown provisioner is requested.

with `StorageClass.Provisioner == <unknown plugin>`, we should wait for
either external provisioner or volume admin to provide a PV for a claim
instead of reporting an error.

Fixes #31723
2016-09-07 21:05:45 -07:00
Kubernetes Submit Queue cbd2a21e63 Merge pull request #32247 from mml/evict.test
Automatic merge from submit-queue

Add eviction e2e tests.

This also disables the tests on GKE.
2016-09-07 19:56:54 -07:00
Kubernetes Submit Queue f90df2448d Merge pull request #31533 from deads2k/partial-test-integration
Automatic merge from submit-queue

choose a particular directory test-integration

Enables `make test-integration WHAT=auth` or whatever particular integration test director you want to run.
2016-09-07 19:16:07 -07:00
Matt Liggett 3163b68d01 // client-go/copy.sh 2016-09-07 17:38:38 -07:00
Matt Liggett 108a15db38 Add eviction e2e tests.
Also refactor the test a bit.
2016-09-07 17:38:38 -07:00
Kubernetes Submit Queue 7c27a2686f Merge pull request #31688 from mehdy/master
Automatic merge from submit-queue

updated client document
2016-09-07 16:25:24 -07:00
Kubernetes Submit Queue ddcbdcb8c8 Merge pull request #31535 from aveshagarwal/master-e2e-downward-api-issues
Automatic merge from submit-queue

Fix downward api tests to output node allocatable not node capacity

@kubernetes/rh-cluster-infra @derekwaynecarr
2016-09-07 16:25:19 -07:00
Kubernetes Submit Queue dec80da258 Merge pull request #32233 from jlowdermilk/scheduledjob-e2e
Automatic merge from submit-queue

tag scheduledjob e2e as [Feature:ScheduledJob]

[Feature:...] tag is recognized by most e2e suites and will prevent test from being run in suites where it should not. This pattern is used by other alpha feature tests. This change will allow #31957 to be reapplied without breaking gke tests.

Side note, I'm collecting all alpha feature e2e tests to run in the [kubernetes-e2e-gce-alpha](http://kubekins.dls.corp.google.com/job/kubernetes-e2e-gce-alpha-features/) suite. This will be run there, alongside [Feature:ExternalTrafficLocalOnly] and [Feature:PetSet].

cc @timstclair @erictune
2016-09-07 16:25:14 -07:00
Kubernetes Submit Queue 34012d7877 Merge pull request #32234 from mwielgus/fake-watch-fix
Automatic merge from submit-queue

WatcherDispatcher for federated controller tests

This PR fixes a problem when 2 informers create a watch for the same resource using the same client. Previously only one informer would receive updates.

cc: @quinton-hoole @wojtek-t @kubernetes/sig-cluster-federation

quinton-hoole: To provide some more context to those doing cherrypicking, the bug that this PR fixes makes federated unit tests fail intermittently, and generally behave very poorly.
2016-09-07 16:25:07 -07:00
Kubernetes Submit Queue 9cf0ec3ce2 Merge pull request #27783 from jianhuiz/openstack-heat-network
Automatic merge from submit-queue

Openstack heat network

add lbaas subnet and floating network configuration
support lbaas v2
add environment variable for fixed network
~~fix lb creation failed because of no 'name' for pool members according to lbaas v2 api~~ #27810

#25987 
@dagnello @lavalamp @mikedanese

[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/.github/PULL_REQUEST_TEMPLATE.md?pixel)]()
2016-09-07 16:25:02 -07:00
Michael Fraenkel fb4a466321 Save stderr since it may become nil 2016-09-07 19:01:59 -04:00
Kubernetes Submit Queue 0bd0d5571a Merge pull request #31540 from mtaufen/DockerOrDieRename
Automatic merge from submit-queue

Rename ConnectToDockerOrDie to CreateDockerClientOrDie

This function does not actually attempt to connect to the docker daemon, it just creates a client object that can be used to do so later. The old name was confusing, as it implied that a failure to touch the docker daemon could cause program termination (rather than just a failure to create the client).
2016-09-07 15:27:41 -07:00
Marcin Wielgus 961b1a94e2 WatcherDispatcher for federated controller tests 2016-09-07 23:53:37 +02:00
Kubernetes Submit Queue f61a677a4e Merge pull request #32013 from david-mcmahon/push-from-release
Automatic merge from submit-queue

Call push-ci-build.sh from the kubernetes/release repo.
2016-09-07 14:49:23 -07:00
Jeff Lowdermilk 111ac4579e tag scheduledjob e2e as [Feature:ScheduledJob]
[Feature:...] tag is recognized by most e2e suites and will prevent
test from being run in suites where it should not. This pattern is
used by other alpha feature tests.
2016-09-07 14:46:37 -07:00
Kubernetes Submit Queue 4c9ab4e856 Merge pull request #32213 from derekwaynecarr/log-an-event-when-eviction-cannot-kill-fast-enough
Automatic merge from submit-queue

Log an event when container runtime exceeds grace-period during eviction

While debugging flakes in eviction, I encountered scenarios where the container run-time did not evict a pod within the allowed grace period.  This could result in situations where a BE pod would not get killed fast enough and therefore a Bu pod was killed next (assuming there were no other BE pods)

/cc @mtaufen @vishh
2016-09-07 14:11:06 -07:00
Kubernetes Submit Queue 5b79fcc791 Merge pull request #31976 from mwielgus/delete-in-ns
Automatic merge from submit-queue

Delete resources in federated namespce

The more generic namespace cleanup will be done in 1.5. Issue to track:
https://github.com/kubernetes/kubernetes/issues/31975

cc: @quinton-hoole @wojtek-t @kubernetes/sig-cluster-federation
2016-09-07 13:31:16 -07:00
Kubernetes Submit Queue c224efa86b Merge pull request #32017 from mikedanese/readd-test
Automatic merge from submit-queue

renable hazelcast example test
2016-09-07 13:31:11 -07:00
David McMahon 329b581c78 Call push-ci-build.sh from the kubernetes/release repo. 2016-09-07 13:06:47 -07:00
Kubernetes Submit Queue d9ea088765 Merge pull request #32196 from piosz/rescheduler-e2e-gke
Automatic merge from submit-queue

Enabled Rescheduler e2e for gke
2016-09-07 12:49:51 -07:00
Kubernetes Submit Queue d1569489a3 Merge pull request #31545 from vishh/inodes-eviction
Automatic merge from submit-queue

Enable kubelet eviction whenever inodes free is < 5% on GCE

This is a pre-req for enabling inodes based evictions in GKE.
2016-09-07 12:49:46 -07:00
Kubernetes Submit Queue 184e91bbf6 Merge pull request #32182 from smarterclayton/aggregate_discovery_errors
Automatic merge from submit-queue

Use a structured error rather than an Aggregate error in discovery

Should provide more information for debugging the root cause of
discovery failures.

Exposes the true cause of #32009

@lavalamp @derekwaynecarr
2016-09-07 12:12:58 -07:00
Marcin Wielgus 091b843b4a Delete resources in federated namespce 2016-09-07 21:01:38 +02:00
Kubernetes Submit Queue c6919a0187 Merge pull request #32181 from smarterclayton/stable_flags
Automatic merge from submit-queue

Feature gate is not stable sorted - docs change each gen

Also... why are the feature flags defined *in* pkg/util/config which has nothing to do with general Kube?  Flags should be defined statically in a subpackage of the kubelet (if they are kubelet feature flags) or in pkg/kubernetes/features or something somewhere else generic.
2016-09-07 11:33:03 -07:00
Kubernetes Submit Queue 23147d30e9 Merge pull request #32197 from gmarek/gci
Automatic merge from submit-queue

Make image-puller work on GCI nodes.

Currently image-puller works only on debian nodes. This will make our test more flaky after we switch to the GCI by default. This PR ports the image-puller to the GCI-based Nodes.

cc @vishh @wonderfly @dchen1107
2016-09-07 10:54:15 -07:00
Kubernetes Submit Queue 489a1890f9 Merge pull request #32162 from ixdy/jenkins-build-script
Automatic merge from submit-queue

Don't git clean in hack/jenkins/build.sh

We go through [all the effort](https://github.com/kubernetes/test-infra/pull/521) of activating a service account but then immediately wipe it away in the build script.

We do a full workspace cleanup anyway, so we don't need the `git clean`. We could probably remove the other cleanup lines in this script, too, but I wanted to keep this change as small as possible for now.

Maybe actually fixes https://github.com/kubernetes/test-infra/issues/470?
2016-09-07 10:54:10 -07:00
Kubernetes Submit Queue 4d2a4d883b Merge pull request #32188 from mfanjie/federated-ingress
Automatic merge from submit-queue

federated ingress e2e - retry reads properly

@quinton-hoole I made this rookie mistake when I wrote the code and missed your comment in last PR.

- Corrected the reference of constant test/e2e/federated-ingress.go
- Move federation ingress query call to wait. PollImmediate()
- set private method to non-capital
2016-09-07 10:54:02 -07:00
derekwaynecarr ff017839c7 Log an event when container runtime exceeds grace-period during eviction 2016-09-07 13:28:08 -04:00
Mike Danese 4284381e74 bump hazelcast version 2016-09-07 10:22:30 -07:00
Mike Danese e67dae5130 Revert "Merge pull request #31930 from Kashomon/hazelcast"
This reverts commit 26a0da8fee, reversing
changes made to c9fda51d77.
2016-09-07 10:22:30 -07:00
Kubernetes Submit Queue d0ee9ce47e Merge pull request #31509 from ping035627/ping035627-patch-0826
Automatic merge from submit-queue

Combine the ValidateRunOptions errors

In the "ValidateRunOptions" function, it had better to show all the invalid flags, so the user can modify them at once.
2016-09-07 10:14:43 -07:00
Kubernetes Submit Queue 542e5f9c5e Merge pull request #31494 from hongchaodeng/fix3
Automatic merge from submit-queue

fix EtcdTestClientServer leaking clients

Continued on https://github.com/kubernetes/kubernetes/pull/31390#discussion_r76360860
2016-09-07 10:14:37 -07:00
Kubernetes Submit Queue 9f58a867e1 Merge pull request #31522 from krousey/path_validation
Automatic merge from submit-queue

Split path validation into a separate library

This PR splits path segment validation into it's own package. This cuts off one of the restclient's dependency paths to some docker packages, and completely eliminates its dependency on go-restful swagger validation.


cc @kubernetes/sig-api-machinery
2016-09-07 10:14:32 -07:00
Kubernetes Submit Queue 4300055405 Merge pull request #30267 from feiskyer/kuberuntime-podstatus
Automatic merge from submit-queue

Kubelet: implement GetPodStatus for new runtime API

Implement `GetPodStatus()` for new runtime API.  Part of #28789 .

CC @yujuhong @Random-Liu @dchen1107
2016-09-07 10:14:26 -07:00
Kubernetes Submit Queue a82c716e9d Merge pull request #32143 from jfrazelle/fix-upgrade
Automatic merge from submit-queue

test/e2e: fix upgrade test to not run describe cross version

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**:
Better fix for #31642 replaces #31987

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->
```release-note
NONE
```
2016-09-07 08:49:46 -07:00
Kubernetes Submit Queue e4424b8a04 Merge pull request #32194 from piosz/rescheduler-bump
Automatic merge from submit-queue

Bumped Rescheduler version
2016-09-07 08:10:53 -07:00
Clayton Coleman 88b64a7a82
Use a structured error rather than an Aggregate error in discovery
Should provide more information for debugging the root cause of
discovery failures.
2016-09-07 10:59:03 -04:00
Wojciech Tyczynski e976bc9ed2 Merge pull request #32199 from deads2k/storage-02-disable-test
skip dynamic provisision test on gke until gke enables it
2016-09-07 16:15:21 +02:00
gmarek 3e2c3a5db2 Make image-puller work on GCI nodes. 2016-09-07 15:23:39 +02:00
deads2k ec284849e1 skip dynamic provisision test on gke until gke enables it 2016-09-07 09:09:27 -04:00
Piotr Szczesniak 6653610109 Enabled Rescheduler e2e for gke 2016-09-07 14:17:16 +02:00
Piotr Szczesniak e77fe15a20 Bumped Rescheduler version 2016-09-07 14:11:48 +02:00
mfanjie d3b00dc0b1 fix the left comments for federated ingress e2e 2016-09-07 16:41:55 +08:00
Kubernetes Submit Queue dc529a03b1 Merge pull request #32118 from gmarek/empty
Automatic merge from submit-queue

Add an empty test that does nothing

Useful for checking if cluster were set up correctly.
2016-09-07 01:19:02 -07:00