Commit Graph

9194 Commits

Author SHA1 Message Date
Arvind Nadendla 5d21b3e056 Adding missing "hosts" field to OpenStack Nova AvailabilityZone 2015-07-14 18:56:00 -05:00
Zack Shoylev 3445f00a88 Updates live tests and template builder settings for compute 2015-07-14 10:23:08 -05:00
Andrew Bayer 0426b1c45f JCLOUDS-961 - Add d2, m4, t2 instance types for EC2 2015-07-13 16:11:37 +02:00
Andrea Turli 14824b6c8c [JCLOUDS-956] synchronizing allocateFloatingIPForNode helps 2015-07-03 13:30:57 +02:00
Andrea Turli 0aad138758 create java-xmlbuilder.version property for maven
add java-xmlbuilder to dependencyManagement so downstream project don't need to specify the version
2015-06-29 08:49:13 +02:00
Andrew Gaul d28f4eb046 JCLOUDS-931: Fix up bad cherry pick 2015-06-26 14:37:20 -07:00
Timur Alperovich a05f369807 JCLOUDS-931: Sleep only after creating containers.
jclouds should issue the requests to create all of the containers in
the container pool before sleeping. The patch modifies the
createContainerAndEnsureEmpty() method to take an additional
parameter, which specifies whether awaitConsistency() should be called
or not.
2015-06-26 14:07:46 -07:00
Andrea Turli 4ac9a73dd5 [NOVA] change some access modifiers to simplify the downstream provider impl
modify the BasicAuthenticator in Keystone
destroy node if creation timeouts
2015-06-26 15:05:57 +02:00
Reijhanniel Jearl Campos 17c51c356e Fix template equals assertion to consider location scope 2015-06-25 15:42:05 +02:00
Andrea Turli 16cf5909dd [SoftLayer] fix SoftLayerTemplateBuilderLiveTest
add more iso3166Codes
fix DatacenterApiLiveTest
2015-06-25 00:12:12 +02:00
Andrea Turli a0ada77eec replace ExpectTests with MockWebServerTests
refactor AccountApiExpectedTest to AccountApiMockTest
refactor DatacenterApiExpectTest to DatacenterApiMockTest
refactor SoftwareDescriptionApiExpectTest to SoftwareDescriptionApiMockTest
refactor VirtualGuestApiExpectTest to VirtualGuestApiMockTest
refactor VirtualGuestBlockDeviceTemplateGroupApiExpectTest to VirtualGuestBlockDeviceTemplateGroupApiMockTest
2015-06-25 00:05:51 +02:00
Andrew Gaul cc3167c3f4 Update labs dependencies for rackspace-cloudfiles 2015-06-23 20:47:36 -07:00
Ignasi Barrera 6b3aed3c89 Improve image check in the BaseImageExtensionLiveTest 2015-06-15 23:13:17 +02:00
Andrew Gaul 755a7ecb8d Revert "fix multipart put of a blob with content md5"
This reverts commit 05a9c79242.
2015-06-11 20:37:07 -07:00
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