Commit Graph

25303 Commits

Author SHA1 Message Date
Justin Santa Barbara
22d719018a AWS: Recover if tags missing on security group
In the AWS API (generally) we tag things we create, and then we filter
to find them.  However, creation & tagging are typically two separate
calls.  So there is a chance that we will create an object, but fail to
tag it.

We fix this (done here in the case of security groups, but we can do
this more generally) by retrieving the resource without a tag filter.
If the retrieved resource has the correct tags, great.  If it has the
tags for another cluster, that's a problem, and we raise an error.  If
it has no tags at all, we add the tags.

This only works where the resource is uniquely named (or we can
otherwise retrieve it uniquely).  For security groups, the SG name comes
from the service UUID, so that's unique.

Fixes #11324
2016-02-20 14:58:19 -05:00
k8s-merge-robot
807344da0b Merge pull request #21235 from davidopp/affinity-docs
Auto commit by PR queue bot
2016-02-20 11:15:02 -08:00
k8s-merge-robot
be9dfcaec4 Merge pull request #21210 from mqliang/hasSync-early
Auto commit by PR queue bot
2016-02-20 09:54:12 -08:00
k8s-merge-robot
423215fdc6 Merge pull request #21612 from mesosphere/jdef_scheduler_uses_libprocess_ip
Auto commit by PR queue bot
2016-02-20 09:24:34 -08:00
k8s-merge-robot
330f484c17 Merge pull request #21174 from deads2k/make-patch-more-predictable
Auto commit by PR queue bot
2016-02-20 05:56:41 -08:00
k8s-merge-robot
3639e43df2 Merge pull request #21016 from hongchaodeng/cache
Auto commit by PR queue bot
2016-02-20 02:47:53 -08:00
k8s-merge-robot
6f2b88cb2a Merge pull request #21516 from nikhiljindal/limitRangee2e
Auto commit by PR queue bot
2016-02-20 02:20:17 -08:00
Marek Grabowski
06a6aaca2d Merge pull request #21616 from gmarek/startup
enormous startup fix
2016-02-20 10:52:38 +01:00
gmarek
70bb358e12 enormous startup fix 2016-02-20 10:51:51 +01:00
k8s-merge-robot
783074eded Merge pull request #21596 from caesarxuchao/linkcheck-golang-path
Auto commit by PR queue bot
2016-02-20 01:51:09 -08:00
k8s-merge-robot
a6d855bf64 Merge pull request #21149 from mwielgus/hpa-rescale
Auto commit by PR queue bot
2016-02-20 01:51:08 -08:00
Marek Grabowski
93eb6d1fc1 Merge pull request #21615 from gmarek/startup
fix enormous startup take 2
2016-02-20 10:30:30 +01:00
gmarek
503a2e66a2 fix enormous startup take 2 2016-02-20 10:29:39 +01:00
k8s-merge-robot
81366c85c7 Merge pull request #21009 from caesarxuchao/unversioned-discovery
Auto commit by PR queue bot
2016-02-20 01:23:29 -08:00
k8s-merge-robot
f08a8f23c1 Merge pull request #20959 from justinsb/fix_20911
Auto commit by PR queue bot
2016-02-20 00:56:53 -08:00
Marek Grabowski
77d30e393b Merge pull request #21614 from gmarek/startup
fix enormous startup
2016-02-20 09:42:31 +01:00
gmarek
328a41675d fix enormous startup 2016-02-20 09:41:58 +01:00
k8s-merge-robot
900ab8d2b1 Merge pull request #21597 from spxtr/remove-verify-jobs
Auto commit by PR queue bot
2016-02-20 00:29:47 -08:00
k8s-merge-robot
fe18055adc Merge pull request #21165 from justinsb/aws_master_pd_in_fstab
Auto commit by PR queue bot
2016-02-20 00:29:46 -08:00
k8s-merge-robot
6c5bf89ed3 Merge pull request #21160 from justinsb/aws_bigger_master
Auto commit by PR queue bot
2016-02-20 00:29:45 -08:00
James DeFelice
d367eff8c9 derive drivers published address from LIBPROCESS_IP, if present 2016-02-20 07:55:33 +00:00
Daniel Smith
ca35f96b0e Merge pull request #21611 from kubernetes/revert-21326-cbr0_promisc
Revert "Put the container bridge in promiscuous mode."
2016-02-19 23:15:25 -08:00
Daniel Smith
a8b943dddd Revert "Put the container bridge in promiscuous mode." 2016-02-19 23:14:53 -08:00
Brian Grant
9a12c0a5ea Merge pull request #21598 from janetkuo/log-available-pods
Log pods of RS when deployment e2e test fails
2016-02-19 19:18:48 -08:00
Prashanth B
b36e046fc8 Merge pull request #21326 from bprashanth/cbr0_promisc
Put the container bridge in promiscuous mode.
2016-02-19 17:52:34 -08:00
Daniel Smith
3fb020b28d Fix a locking bug in the cacher. 2016-02-19 17:45:02 -08:00
Janet Kuo
b267ede42c Address comments 2016-02-19 15:58:33 -08:00
Eric Tune
bab89e95ce Fix jobs integration test. 2016-02-19 15:56:40 -08:00
Janet Kuo
6ceb221f8e Log pods of RS when deployment e2e test fails 2016-02-19 15:55:22 -08:00
k8s-merge-robot
5918967a86 Merge pull request #21590 from ixdy/jenkins-job-configs
Auto commit by PR queue bot
2016-02-19 15:48:32 -08:00
Joe Beda
11c7068b74 Merge pull request #21142 from justinsb/install_git_package
Salt: Make sure git is installed, for gitRepo volumes
2016-02-19 15:42:00 -08:00
Chao Xu
cdb6fb9a67 add golang to path to run on jenkins 2016-02-19 15:18:38 -08:00
Joe Finney
06899b23ac Remove PR E2E config. 2016-02-19 15:10:57 -08:00
Chao Xu
39838745e5 Strip version when encoding discovery API objects at endpoints that exist since release 1.1 2016-02-19 15:05:20 -08:00
Joe Finney
0c8403b266 Remove hack/verify-jenkins-jobs.sh. 2016-02-19 15:03:01 -08:00
Brian Grant
6766f11a5b Merge pull request #21586 from janetkuo/retry-update-e2e
Retry all Update in deployment e2e tests
2016-02-19 15:02:28 -08:00
Prashanth Balasubramanian
a694a7ae4b Teach the kubelet about --hairpin-mode=promiscuous-bridge. 2016-02-19 14:59:16 -08:00
Prashanth B
6a1156d7a3 Merge pull request #21573 from pmorie/configmap-flake
Make flake in configMap update e2e easier to debug
2016-02-19 14:44:13 -08:00
Joe Finney
1fa1b1aac9 Merge pull request #21592 from spxtr/fix-enormous
Properly set provider-env in an enormous cluster job.
2016-02-19 14:43:19 -08:00
Joe Finney
2cc07f1c6f Properly set provider-env in an enormous cluster job. 2016-02-19 14:39:43 -08:00
Joe Finney
6fef6bc977 Merge pull request #21524 from spxtr/yaml-env
Move most E2E environment variables into YAML.
2016-02-19 14:30:43 -08:00
Joe Finney
27369806b5 Move e2e environment variables for most jobs into YAML. 2016-02-19 14:25:54 -08:00
Jeff Grafton
81e15e8b55 Upload build log after running custom GCS scripts 2016-02-19 14:20:44 -08:00
Janet Kuo
98a1eaf245 Retry all Update in deployment e2e tests 2016-02-19 13:45:57 -08:00
Brendan Burns
8bda033ef1 Merge pull request #21444 from dchen1107/test1
Log daemons' failure reasons to supervisord log files
2016-02-19 13:08:19 -08:00
k8s-merge-robot
d37060d4f0 Merge pull request #21061 from mqliang/deployment-e2e-IntPtr
Auto commit by PR queue bot
2016-02-19 13:07:25 -08:00
Brian Grant
f56ed88463 Merge pull request #21576 from janetkuo/fix-flake-scale
Fix a bug when getting deployments for RS
2016-02-19 12:15:49 -08:00
k8s-merge-robot
9274783d62 Merge pull request #20965 from olivierlemasle/vagrant-bearertoken
Auto commit by PR queue bot
2016-02-19 12:08:08 -08:00
k8s-merge-robot
94ad715f90 Merge pull request #21470 from deads2k/fix-limit-ranger
Auto commit by PR queue bot
2016-02-19 12:08:06 -08:00
Brian Grant
d9635b5e3e Merge pull request #21572 from janetkuo/fix-flake-rollback-norevision
Retry Update in DeploymentReaper.Stop
2016-02-19 12:06:09 -08:00