Justin Santa Barbara
c465e91681
AWS: Log all calls at V(4), using a handler
...
Fixes #12122
2015-10-19 18:54:59 -04:00
k8s-merge-robot
a6634adc1c
Merge pull request #15435 from zhengguoyong/adjust_package_name_pkgcloudprovider
...
Auto commit by PR queue bot
2015-10-16 08:30:32 -07:00
combk8s
59b392c4fa
Capitalize the first letter in some log files
2015-10-15 11:03:56 +08:00
eulerzgy
8b174f7f33
adjust package name for pkg/cloudprovider
2015-10-10 16:44:54 +08:00
Trevor Pounds
5d5013a722
Remove unreachable panic statement.
...
The availability zone always exist since it is retrieved
from the instance's EC2 metadata service during cloud
provider construction.
2015-10-09 10:19:56 -07:00
Trevor Pounds
4407ca9a64
Remove unused method.
2015-10-09 10:19:56 -07:00
Trevor Pounds
f71533ce20
Remove unnecessary describe VPC call.
...
The external DescribeVPCs call is unnecessary since only the VPC ID
is used and it is retrieved from the EC2 metadata service.
2015-10-09 10:19:56 -07:00
Trevor Pounds
326dd7c1c0
Remove private struct field. It is only used at construction.
2015-10-09 10:19:56 -07:00
Michael Schmidt
48776f3feb
Fix for Invalidation of DeviceMapping-Cache
2015-10-06 09:58:04 +02:00
Alex Robinson
d578e7738d
Merge pull request #14242 from simonswine/fix_mulitple_subnets_per_az
...
aws: fixes ELB creation with multiple subnets per AZ
2015-10-05 13:06:19 -07:00
k8s-merge-robot
a34855e0d1
Merge pull request #14657 from justinsb/aws_more_regions
...
Auto commit by PR queue bot
2015-10-02 03:48:25 -07:00
Christian Simon
c1a14bd163
aws: fixes ELB creation with multiple subnets per AZ
...
Only takes the first available subnet in a AZ, ignore other subnets
and log warning about this.
Removes AWS region comparison for subnet AZs. A VPC is only in a single
AWS region.
Fixes #12381
2015-10-01 21:38:11 +01:00
eulerzgy
4c588d771c
ent
2015-09-30 14:49:19 +08:00
eulerzgy
71b96422f4
set capital in some files
2015-09-30 14:46:20 +08:00
Justin Santa Barbara
fda6243c5e
AWS: Recognize cn-north-1 & us-gov-west-1 regions
...
These two regions were accidentally omitted. This list now matches the
list we use elsewhere (e.g. when choosing an AMI).
Fixes #14420
2015-09-28 07:01:45 -07:00
Trevor Pounds
9cd91d111d
Use AWS SDK EC2 metadata client.
2015-09-25 17:03:22 -07:00
Trevor Pounds
df0718caa1
Migrate source to aws-sdk-go v0.9.9.
...
Upgrading to aws-sdk-go >= v0.9.0 requires a
source migration via awsmigrate-renamer tool.
see: http://aws.amazon.com/releasenotes/2948141298714307
2015-09-25 17:03:22 -07:00
Christopher Eck
511e3e1be9
Fix for issue #14466 . Don't use tag filtering when looking up which VPC an AWS node is attached to.
2015-09-24 09:51:35 -07:00
Trevor Pounds
1a7f8dc30c
Check load balancer and cluster have the same region.
2015-09-21 12:38:00 -07:00
Trevor Pounds
4775a8a5bb
Remove superfluous ELB region lookup logic.
...
The ELB client lookup isn't necessary because the service
does not operate across regions. Instead the client should
be built like the others by querying for the region from
the master node's metadata service.
2015-09-21 12:38:00 -07:00
Trevor Pounds
ed8748a6b6
Remove obsolete TCPLoadBalancer interface method.
2015-09-21 12:38:00 -07:00
liguangbo
4df68f03a3
change iff to if and only if to improve annotation readability
2015-09-16 08:29:36 +00:00
Abhi Shah
b8179eae24
Merge pull request #13467 from simonswine/feature_enhanced_vpc_detection
...
Enhanced detection of VPC for cloudprovider AWS
2015-09-03 15:47:28 -07:00
Christian Simon
1bfba8a590
Enhanced detection of VPC for cloudprovider AWS
...
* use metadata of instance rather than hardcoded VPC name
* test coverage for retrieval of network metadata
2015-09-02 16:28:55 +01:00
Daniel Smith
e25540c955
Merge pull request #9663 from swagiaal/aws-add-shared-credentials-provider
...
Add SharedCredentials Provider to AWS
2015-09-01 15:24:29 -07:00
Edward Muller
63207741de
go fmt these
2015-08-31 11:29:33 -07:00
Edward Muller
69da77c6b0
s:code.google.com/p:github.com/scalingdata:
...
Because code.google.com is going away. Probably #1 of several.
2015-08-31 11:29:33 -07:00
Sami Wagiaalla
4a33c9cb44
Add SharedCredentials Provider to AWS
...
This will allows authentication with the AWS API using the
~/.aws/credentials file which is created by runnign 'aws configure' on
a node.
Signed-off-by: Sami Wagiaalla <swagiaal@redhat.com>
2015-08-31 11:20:46 -04:00
Yu-Ju Hong
d839ab2024
Merge pull request #12940 from Miciah/Warning-to-Warningf
...
glog.Warning -> glog.Warningf
2015-08-26 13:36:05 -07:00
Miciah Masters
8aa299da90
glog.Warning -> glog.Warningf
...
Fix three places where glog.Warning is used with a formatted string.
2015-08-19 16:22:28 -04:00
Justin Santa Barbara
08e904ad96
AWS: Configure LoadBalancer health checks
...
ELB will automatically create a health check, but if we update the
listeners the old health check port sticks around, and all the instances
are marked offline.
Update the health-checks to match the listeners: we just check the first
valid service port, with some hard-coded options for timeouts / retries etc.
2015-08-17 08:58:46 -04:00
Justin Santa Barbara
924350d5f6
AWS: Make load balancer creation idempotent on AWS
...
This turned out to be a little convoluted, but is needed because deleting an ELB on AWS
is a painful UX - it won't have the same endpoint when it is recreated.
Also started splitting the provider into files, but only for new functions (so far!)
2015-08-17 08:58:46 -04:00
Justin Santa Barbara
87df1d6fb6
Change CreateTCPLoadBalancer -> EnsureTCPLoadBalancer; implementations auto-delete if already exists
...
Previously the servicecontroller would do the delete, but by having the cloudprovider
take that task on, we can later remove it from the servicecontroller, and the
cloudprovider can do something more efficient.
2015-08-17 08:58:45 -04:00
CJ Cullen
e20467afcb
Clean up GCE metadata calls. Remove GetNodeResources from all providers.
2015-08-14 07:29:52 -07:00
Bryan Stenson
9541414742
create cloudprovider "providers" package
...
move all providers into new package
update all references to old package path
2015-08-11 22:36:51 -07:00