Commit Graph

8404 Commits

Author SHA1 Message Date
Andrew Phillips 418f3c59d9 [maven-release-plugin] prepare release jclouds-1.7.2-rc2 2014-04-09 22:37:56 -04:00
Everett Toews 5b9f6b7646 JCLOUDS-317: Fix NPE when ComputeService.listNodes()
Follow-up to f4aaf70
2014-04-09 14:27:37 -04:00
Andrew Phillips 19e58f62e2 Revert "[maven-release-plugin] prepare release jclouds-1.7.2-rc1"
This reverts commit 14b07712fd.
2014-04-09 14:27:15 -04:00
Andrew Phillips 14b07712fd [maven-release-plugin] prepare release jclouds-1.7.2-rc1 2014-04-07 14:26:48 -04:00
Andrew Phillips 8f903d49c0 Correcting 4-space indent in openstack/nova/v2_0/domain/Server.java
Follow-up to f4aaf70
2014-04-05 16:28:18 -04:00
Matheus Cunha 6d52fbd6a1 JCLOUDS-503 - Missing c3.large from AWSEC2HardwareSupplier 2014-04-04 11:44:06 +02:00
Jacob Mourelos f4aaf702fa JCLOUDS-317: Add missing states to Nova v2 Server
- Deprecated state: STOPPED
- Add states:   MIGRATING, SHUTOFF, RESCUE, SOFT_DELETED,
                SHELVED, SHELVED_OFFLOADED
2014-04-03 18:07:22 -05:00
Jeremy Daggett 2a8ec6be9b Add deprecation warnings and provide links to new APIs 2014-04-03 17:53:13 -05:00
Hugo Trippaers f3303f03c3 JCLOUDS-347: Implement a poor-mans rollback if CloudStack static NAT creation fails 2014-04-02 14:18:59 +02:00
Jeremy Daggett 7ab18ffbd3 JCLOUDS-423: Update Service Type for Cloud Files CDN 2014-04-01 11:20:51 -05:00
Jeremy Daggett c3d341a680 JCLOUDS-489 - Adds support to Cloud Files for the iOS Streaming URI 2014-04-01 11:00:01 -05:00
jasdeep-hundal a45a24d4a1 JCLOUDS-515: Don't require availability zone when creating volumes in cinder 2014-03-31 14:15:34 -05:00
Pasi Niemi 63d6d97553 JCLOUDS-516: Add ssh agent support via sch agentproxy 2014-03-27 11:04:14 +01:00
Joel Friedly 59c10e18e8 Remove Nova instance metadata limit
Rackspace cloud limits instance metadata to 5 key-value pairs, but
upstream Nova only sets the limit at 128 by default.  This patch removes
the limit entirely; the official python clients don't check it and the
server is responsible for enforcing it anyway.

Fixes:  https://issues.apache.org/jira/browse/JCLOUDS-507
2014-03-24 10:21:26 -05:00
Andrew Gaul 283937fad0 Retry on S3 HTTP 504 Gateway Timeout status codes
RiakCS using the S3 interface occasionally surfaces these status
codes.
2014-03-14 12:16:24 -07:00
Zack Shoylev 6e39ba2351 JCLOUDS-486 This will allow booting up nova servers with fixed IPs and ports. 2014-03-13 10:57:37 -05:00
Andrew Gaul fe79885663 JCLOUDS-460: Add jitter to avoid thundering herd
When issuing many simultaneous requests to Synaptic Atmos I observed:

HTTP/1.1 failed with code 500, error: AtmosError
[code=1040, message=The server is busy. Please try again.]

Previously all clients slept for fixed intervals and thus retried
around the same time.  This commit adds a random delay which should
better distribute load on the provider.
2014-03-03 22:30:50 -08:00
Zack Shoylev a38cbd5803 Better documentation and a bugfix for cloud-init 2014-03-03 18:57:01 -06:00
Tom Manville c368bae28c JCLOUDS-342: Retry on HTTP 408 for swift
To repro issue 342, the following steps were taken:
 - Spawn 500 parallel / 2000 total putBlobs to cloudfiles-uk
 - issue a SIGSTOP
 - wait 60 seconds
 - issue a SIGCONT

Without this patch, there are several hundred 408s.
With this patch, these are retried and complete successfully.
2014-03-03 16:48:19 -08:00
Andrew Gaul 08992c7a3d Deprecate WriteTo
Use Payload.getInput and Guava helpers instead
2014-02-21 17:11:22 -08:00
Andrew Gaul b3f7838958 Deprecate StreamingPayload 2014-02-19 21:14:52 -08:00
Andrew Gaul c2397f80ca JCLOUDS-459: Limit maximum user threads
Previously jclouds could use an unlimited number of threads on its
user ExecutorService.  While this ExecutorService will go away when we
complete deasyncafication, we should prevent jclouds from misbehaving
until that time.
2014-02-19 10:05:18 -08:00
Andrew Gaul 9dae3a692e JCLOUDS-473: Close FileInputStream in Wire.copy
FileBackedOutputStream.asByteSource.getInput returns a FileInputStream
which we do not close.  We later call FileBackedOutputStream.reset
which removes the underlying File.  This fails on Windows which does
not support deleting an open file and leaks resources on other
platforms.  Eagerly close to address this issue.
2014-02-18 16:43:19 -08:00
Andrew Phillips b1a2baee62 Cleaning up checkstyle warnings caused by 5976159
Looks like the workaround for Guava 1635 will be with us for a while on 1.7.x
2014-02-12 02:12:09 -05:00
Andrew Phillips 4804edb7e8 Removing unused Sonatype OSS plugin snapshot repository 2014-02-12 00:55:14 -05:00
Andrew Phillips 5f7a4aa5bf Moving dependencies for the Checkstyle plugin into a profile
Follow-on from 335f594
2014-02-12 00:55:06 -05:00
Andrew Bayer bf4626016b JCLOUDS-450. Adding support for EC2 MaxCount option.
Note - no live test for this, because it's very hard to guarantee a
situation where it would be relevant.
2014-02-11 14:05:46 -08:00
Andrew Gaul f9d4ac6a27 JCLOUDS-137: Retry on HTTP 500 AtmosError 1040 2014-02-11 12:13:33 -08:00
Ignasi Barrera a9ccef2b9b [maven-release-plugin] prepare for next development iteration 2014-02-06 10:16:10 +01:00
Ignasi Barrera cbe0e7bedd [maven-release-plugin] prepare release jclouds-1.7.1-rc1 2014-02-06 10:16:08 +01:00
Andrew Phillips 3db57e01b0 JCLOUDS-452: Adding bcpkix to the jclouds-sshj driver. Required by sshj.
Thanks to Andrea Turli and Ignasi Barrera for research and testing!
2014-02-05 17:02:53 +00:00
Andrew Phillips 3de11fa840 JCLOUDS-440: Upgrading Bouncy Castle to 1.49 (1.50 has issues with OSGi)
Artifact ID has also changed: bcprov-jdk16 -> bcprov-ext-jdk15on
2014-01-29 20:20:45 -05:00
Andrew Gaul e7795c8755 Store propagatable exceptions in a static field
Also include ResourceAlreadyExistsException.  References JCLOUDS-438.
2014-01-29 10:30:37 -08:00
Ioannis Canellos 798c76bd69 [JCLOUDS-439] Fix osgi metadata on jclouds-sts. 2014-01-29 15:47:18 +02:00
Andrew Gaul b8fae85eaf JCLOUDS-438: Map S3 code BucketAlreadyExists
Mapping to ResourceAlreadyExistsException allows external callers to
handle this situation specifically.
2014-01-28 21:22:44 -08:00
Andrew Phillips 742003ab3a Fixing an error message about an unassignable backend 2014-01-28 09:21:54 -05:00
Andrew Phillips dc7bad39cc JCLOUDS-415: Preparing for Guava 16.0
Invokable.equals has changed from 15 to 16 so we need to implement the check differently ourselves.
2014-01-28 07:59:45 -05:00
Andrew Gaul 114872483b Address Checkstyle violations 2014-01-27 19:06:46 -05:00
Ignasi Barrera d395a076cf JCLOUDS-431: Added m3.medium and m3.large instance types to EC2 2014-01-24 17:28:57 +01:00
Andrew Phillips 597615977e JCLOUDS-427: Avoiding Guava reflection code broken in Java 7u51
- Adding a version of TypeToken.where that replaces two parameters in one go
- Avoiding TypeToken type parameter replacement with wildcard bounds

Works around https://code.google.com/p/guava-libraries/issues/detail?id=1635
2014-01-24 01:07:50 -05:00
Zack Shoylev 859ca920c6 Adds support for networks in the NovaComputeServiceAdapter Related to https://issues.apache.org/jira/browse/JCLOUDS-416 2014-01-21 16:07:19 -06:00
Andrew Bayer 50f1a0c5c0 JCLOUDS-416. Add TemplateOptions#networks.
- Adds networks field/methods to TemplateOptions.
- Adds them to children as well for legacy reasons.
- Deprecates CloudStackTemplateOptions#networkIds methods in favor of #networks.
- TODO: Modify compute abstraction layer for provisioning for nova,
    EC2, et al to take advantage of this.
2014-01-21 09:38:11 -08:00
Zack Shoylev 00f844b1d8 The metadata needs to be ordered for this implementation. 2014-01-21 10:46:59 -06:00
Andrew Gaul 0843c36dd2 JCLOUDS-428: Address Java 8 compatibility nits
Tested with JDK 1.6.0_45, 1.7.0_45, and 1.8.0-ea-b123.
2014-01-19 20:38:32 -08:00
Audrius Butkevicius ffb4df41eb JCLOUDS-426. Update Elasticstack vnc password key 2014-01-17 13:29:22 +01:00
Ignasi Barrera 1ebfc7d43a Added OkHttp driver to support modern HTTP verbs 2014-01-14 13:11:31 +01:00
Zack Shoylev 9817cbd900 Adds cloud databases to jclouds-all 2014-01-06 15:29:42 -06:00
Andrew Gaul db5209c043 Propagate status in deleteAndVerifyContainerGone
Consuming the result of deleteContainerIfEmpty avoids an eventual
issue with Swift containers.  Also backfill some tests for
deleteContainerIfEmpty.  Fixes JCLOUDS-420.
2014-01-06 11:41:58 -08:00
Andrew Gaul c444b5bf72 Remove erroneous deprecation of ByteSource method 2013-12-26 10:38:15 -08:00
Andrew Gaul bfff3c421f Replace calls to Closeables.closeQuietly
Guava 16 removes this API.  Replace with Closeables2.closeQuietly.
References JCLOUDS-413 and JCLOUDS-415.
2013-12-24 18:02:43 -08:00