9180 Commits

Author SHA1 Message Date
Ka-Hing Cheung
5929117596 send HEAD instead of GET for blobMetadata 2015-06-11 20:33:42 -07:00
Ka-Hing Cheung
05a9c79242 fix multipart put of a blob with content md5
previously the parts will carry the content md5 of the entire
object, because unsetting the md5 of a ContentMetadata actually
didn't do anything
2015-06-11 20:33:34 -07:00
Ignasi Barrera
7e1838afbb JCLOUDS-921 prioritise key over password in SessionConnection 2015-06-11 13:29:23 +02:00
Stuart Hendren
f88acd67c0 JCLOUDS-921 prioritise key over password in SSHClientConnection
From ticket:
If keyboard interactive login is not allowed on the box but the user also requires a sudo password the ssh fails as it prioritises the password.
If you remove the password then the sudo fails in the SudoAwareInitManager.
It would seem better to prioritise the key over the password in SSHClientConnection or possibly try both if they are both present, and the first fails.

This commit swaps the order of the if else check to use the ssh key if present.
2015-06-11 13:22:29 +02:00
Huy TA
522c080a4a Use ssh agent if privatekey and password are not set 2015-06-11 13:00:32 +02:00
Alexander Grzesik
b1231257fd JCLOUDS-904 Fixing OSGi Header by adding org.jclouds.io import 2015-06-11 13:00:26 +02:00
Ignasi Barrera
352644876f Added CoreOS to the OSFamily enum 2015-06-11 10:35:19 +02:00
Svetoslav Neykov
06f1b13200 Implement setting and retrieving the notes property on Softlayer machines 2015-06-11 10:14:20 +02:00
Zack Shoylev
8cdba226af Adds support for the orchestration type. 2015-06-10 12:41:40 -05:00
Ignasi Barrera
d99a538a3e Avoid AutoValue shaded imports 2015-06-10 13:46:29 +02:00
Andrea Turli
443ca4300c [SoftLayer] use FQDN as hostname 2015-06-03 15:31:27 +02:00
Andrew Gaul
1a64a1f0fe JCLOUDS-912: Implement RandomInputStream.close
Prevent reading closed RandomInputStream.
2015-06-02 11:19:12 -07:00
Zack Shoylev
9532e7ccf4 Upgrade to autovalue 1.1; Adds autovalue/gson builders tests 2015-05-21 19:09:30 -05:00
Svetoslav Neykov
6c9915eab9 Skip malformed image entries returned by Softlayer
Softlayer will occasionally return an incomplete object in the getCreateObjectOptions call, making it impossible to spin up machines - ignore the incomplete entries which are usually not even relevant.
2015-05-13 22:44:24 +02:00
Svetoslav Neykov
caae63b93e Make home folder globally accessible when creating a user
Certain hardened images will have "umask 0077" set for the root user, making the newly created /home/users folder inaccessible to non-root. This results in a failure when trying to ssh with the new account. Explicitly set permissions to be independent of default umask.
2015-05-13 22:44:18 +02:00
Svetoslav Neykov
41ff84bf78 Don't retry unsafe HTTP methods in case of an IOException
If an IOException is thrown during the execution of an HttpCommand retry only if the HTTP method is idempotent (i.e. GET, DELETE, PUT). Otherwise the retry could cause unwanted side effects (i.e. creating and leaking multiple new nodes).
2015-05-13 22:44:14 +02:00
Karel Vervaeke
ac8607fd20 JCLOUDS-901 Moved CloudStack javadocs around
During the rename from *Client to *Api the javadocs were shuffled
around. This commit moves them back to the correct methods.
2015-05-07 15:17:46 +02:00
Stuart Hendren
3080965eda JCLOUDS-207: Key Pair and Security Groups created by jclouds are not removed when the node is destroyed
The names created do not match those searched for.

They are created in FormatSharedNamesAndAppendUniqueStringToThoseWhichRepeat.java
and have are of this form jclouds#I-0#e96.

But for example jclouds#I-0#us-east-1#* is used as the search term.
2015-05-07 11:40:32 +02:00
Ignasi Barrera
e92fd921cf Fixed Rackspace cloudfiles pom versions
/cc @zack-shoylev
2015-05-07 11:39:44 +02:00
Zack Shoylev
fb524d1f81 Replace legacy cloudfiles with modern rackspace-cloudfiles 2015-04-28 16:46:21 -05:00
Zack Shoylev
10e5d69d64 Adds windows ACL code for file permissions, fixes build. 2015-04-28 14:38:40 -05:00
Ignasi Barrera
d29424304e JCLOUDS-890: Prevent NPE when generating the Chef attributes file 2015-04-24 11:32:30 +02:00
Ignasi Barrera
e12e701fab Exclude Eclipse annotation processor files that are git ignored 2015-04-16 00:18:42 +02:00
Andrew Gaul
28bf8503db Fix testCopyIfModifiedSince for AWS S3 2015-04-10 23:12:42 -07:00
Zack Shoylev
cdb1677b47 Update cloudfiles poms 2015-04-09 14:25:57 -05:00
Zack Shoylev
9d387f81e4 Merge remote-tracking branch 'promote-jclouds-labs-openstack-local/promote-rackspace-cloudfiles-moved' into 1.9.x 2015-04-09 14:24:52 -05:00
Andrew Gaul
b2d409cf3b Correct Azure Blob unit test expectations
Master uses API 2013-08-15 while 1.9.x uses 2012-02-12.
2015-04-09 08:41:07 -07:00
Andrew Phillips
0e2ee14a00 JCLOUDS-884: Only try netcat over ssh-agent as an agentproxy
See http://markmail.org/thread/oto47qk2kzcdtebb
2015-04-09 10:23:12 -04:00
Andrew Gaul
f379565114 JCLOUDS-651: Swift copy object content metadata 2015-04-08 23:13:54 -07:00
Andrew Gaul
a260582949 JCLOUDS-651: S3 copy object content metadata 2015-04-08 23:13:54 -07:00
Andrew Gaul
7c275bdedd JCLOUDS-651: Azure copy object content metadata 2015-04-08 23:13:54 -07:00
Andrew Gaul
0647ba8c55 JCLOUDS-651: portable copy object content metadata 2015-04-08 23:13:54 -07:00
Andrew Gaul
3f2e9f37fd JCLOUDS-651: Add @Beta annotations to copy methods 2015-04-08 23:13:53 -07:00
Ignasi Barrera
4e37ffb6b6 JCLOUDS-651: Fix filesystem integration tests in OSX 2015-04-08 23:13:53 -07:00
Andrew Gaul
211b07390d JCLOUDS-651: Copy Swift system metadata 2015-04-08 23:13:52 -07:00
Zack Shoylev
1e8495e905 Adds live test. 2015-04-08 23:13:52 -07:00
Zack Shoylev
b5491c4848 Allows copying an object and modifying metadata (user and object) 2015-04-08 23:13:52 -07:00
Andrew Gaul
c87e2052ac JCLOUDS-651: Ensure copy replaces user metadata
Some object stores have additive semantics for metadata.  As currently
implemented Azure, S3, and Swift consistently replace user metadata
but have different behavior for system metadata, e.g., Content-Type.
2015-04-08 23:13:52 -07:00
Andrew Gaul
70eac74140 JCLOUDS-651: Add Swift server-side copyBlob
This has some limitations as discussed in JCLOUDS-872.
2015-04-08 23:13:52 -07:00
Andrew Gaul
b4897c6689 JCLOUDS-651: Add S3 server-side copyBlob 2015-04-08 23:13:52 -07:00
Andrew Gaul
afbf61c657 JCLOUDS-651: Add Azure server-side copyBlob 2015-04-08 23:13:51 -07:00
Andrew Gaul
76f261e818 JCLOUDS-651: Add copyBlob to portable abstraction
Some providers optimize this operation with a server-side copy.  Add a
fallback implementation which does a client-side copy.
2015-04-08 23:13:51 -07:00
Andrew Gaul
5487400037 JCLOUDS-871: Azure Copy Blob support
API reference:

http://msdn.microsoft.com/en-us/library/dd894037.aspx
2015-04-08 23:13:51 -07:00
Andrew Gaul
75f6d76f1d Return ETag from Azure setBlobMetadata
Also fix up live tests.
2015-04-08 23:13:51 -07:00
Ignasi Barrera
1742110e88 Release scripts are in the release SVN repo 2015-04-08 22:37:33 +02:00
Ignasi Barrera
b8cb9cd35b Properly clone the login credentials 2015-04-08 16:01:30 +02:00
Zack Shoylev
a26208b9f4 Fixes missing consistency waits in testDirectory 2015-04-02 17:24:31 -05:00
Andrew Gaul
e25a44eab9 JCLOUDS-732: Filesystem portable object ACLs 2015-03-31 17:24:34 -07:00
Andrew Gaul
eda06d0454 JCLOUDS-732: Transient portable object ACLs 2015-03-31 17:24:32 -07:00
Andrew Gaul
e829690e7e JCLOUDS-660: Filesystem portable container ACLs 2015-03-31 17:24:31 -07:00