Commit Graph

9180 Commits

Author SHA1 Message Date
Ignasi Barrera 3b9b981d37 Apache jclouds 1.9.2 release 2016-01-12 16:04:18 +01:00
Graeme-Miller 36358bcca7 Instead of setting up static NAT for all networks, we setup static NAT for default network only 2015-12-11 16:40:24 +01:00
Zack Shoylev 72889bbf19 Fixes tenantId when using the keystone admin extension 2015-11-23 16:42:02 -06:00
Nikolay Sokolov c6f47ca904 Close connection during ExecChannel 2015-10-26 00:12:38 +01:00
Aled Sage bdbed1ced5 UserAdd: guard groupadd with check if group exists
On SUSE, the “-f” force option is not available for groupadd,
so `groupadd -f wheel` returns exit code 9 if the group already
exists. To avoid this, first check if the group exists.

In normal usage, this doesn’t matter: the script continues with the
next command anyway.

However, if the statements generated by UserAdd or AdminAccess are
used outside of that context (e.g. by code external to jclouds), then
this can cause them to fail.
2015-10-25 22:31:33 +01:00
Stuart Hendren ac732a0a53 [elasticstack] fix for incorrect logging message
Was logging when it was present rather than when it had failed to find it.
2015-10-25 22:31:33 +01:00
Ignasi Barrera a5ce5983a1 Added RateLimit exception 2015-10-22 00:32:30 +02:00
Yavor Yanchev c6f2d84611 JCLOUDS-973 Extending the sudo's configuration
- Adding env_reset to the default configuration in /etc/sudoers
- Adding secure_path to the default configuration in /etc/sudoers
- secure_path value is
"/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
2015-10-16 11:13:19 +02:00
Ignasi Barrera a585440e70 Fix line endings. Use Unix line endings everywhere 2015-10-13 17:07:04 +02:00
John McDonnell 9f85213b4f AS per JCLOUDS-1012 project and projectId parameters are not supported. This commits adds the 2 parameters to the usage response. 2015-10-13 11:02:38 +02:00
Ignasi Barrera 29b503afd0 Fixed pom versions 2015-10-07 22:22:12 +02:00
olivierlemasle 0aed121fa7 Add .gitattributes to avoid line endings issues
Since commit 56e687f497, Linux line endings (LF) are enforced. But on
Windows, a common practice is to set core.autocrlf to 'auto', wich mean
that the local copy of the file has Windows line endings, whereas the
remote copy has Linux line endings (cf. https://help.github.com/articles/dealing-with-line-endings/#platform-windows).

With core.autoclrf=auto, Checkstyle will throw an error because local
files will have Windows line endings.

This setting will set Linux line endings for all text files, except
.cmd files.
2015-10-07 21:05:15 +02:00
John McDonnell 9cd78bfcd4 As in JCLOUDS-991 it appears size is missing as a UsageResponse parameter, particularily for Volume usages. This commit adds it into the UsageRecord class. 2015-10-07 21:05:08 +02:00
Andrew Kennedy b7020439d9 Add new Softlayer API method to return arbitrary VirtualGuest fields 2015-10-07 21:05:04 +02:00
Stuart Hendren 783a9aa5b5 Adding elastichosts Dallas and Miami providers 2015-10-07 21:04:59 +02:00
Stuart Hendren 9388605110 Fix for Go2Cloud provider endpoint
See JCLOUDS-1004 - Update the Go2Cloud endpoint

https://issues.apache.org/jira/browse/JCLOUDS-1004
2015-09-23 11:03:16 +02:00
Ignasi Barrera 559f7adb6c GCE hardware profiles might not have volumes 2015-09-21 11:03:14 +02:00
Irmo Manie f69518b752 JCLOUDS-993 - Add missing parameters to `VirtualMachineApi`
- `serviceOfferingId` at `#changeServiceForVirtualMachine`
- `options` of type `UpdateVirtualMachineOptions` at
  `#updateVirtualMachine`
2015-09-07 00:19:34 +02:00
Irmo Manie 1ef5c70106 JCLOUDS-995 - Add `userData` property to `CloudStackTemplateOptions` and map it in the underlying adapter. 2015-09-07 00:19:30 +02:00
Andrea Turli cc1217b5c8 [SoftLayer] fix some failing LiveTests
fix VirtualGuestBlockDeviceTemplateGroupApiLiveTest
fix SoftLayerComputeServiceLiveTest
2015-08-11 18:22:25 +02:00
Ignasi Barrera 30aca7d833 Next development version 1.9.2-SNAPSHOT 2015-08-02 11:56:20 +02:00
Ignasi Barrera 547f827e18 Apache jclouds 1.9.1 release 2015-08-02 11:52:31 +02:00
Arvind Nadendla 8f705fa4a4 Fix bug where password information is printed in logs in case of exceptions 2015-07-30 12:34:29 -05:00
Zack Shoylev f2bc5ee6e7 Fix a small softlayer bug that triggers a guava 19 rc bugcheck. 2015-07-29 10:19:59 -05:00
Ignasi Barrera 569c07b982 Fix AWS and EC2 TemplateBuilder live tests 2015-07-29 11:58:47 +02:00
Zack Shoylev 1a27a619d2 Fixes an error caused by not using an assert by @CheckReturnValue. Also see jsr305
Conflicts:
	apis/openstack-nova/src/test/java/org/jclouds/openstack/nova/v2_0/functions/InternalURLLiveTest.java
2015-07-28 12:10:00 -05:00
Andrew Bayer 6c94f3eb9e JCLOUDS-972. Fix parsing of spot reqs, set sane default for validUntil.
Get the faultCode and faultMessage to actually be parsed (though I'm
not sure they're ever used), add statusCode, statusMessage and
statusUpdateTime, and have AWSEC2TemplateOptions default to a sane 30
minute lifetime for spot instance requests, so they don't get orphaned
forever if the price is too low etc.
2015-07-27 15:12:53 +02:00
Marcus Wanner 8e5d378372 Add awareness of Manila and SHARED_FILESYSTEM openstack projects to keystone 2015-07-27 07:36:43 -05:00
Arvind Nadendla 48c0794b09 add os-hypervisors extension for openstack-nova 2015-07-27 07:21:24 -05:00
Andrea Turli 1863f859f5 [SoftLayer] fix SoftLayerTemplateOptions 2015-07-24 19:33:00 +02:00
Ignasi Barrera d96e34ea93 Added missing virtualization types after rebasing on top of 1fe90b0 2015-07-20 23:13:54 +02:00
Alex Heneveld cc88d99bb1 add deprecated flag to Hardware and prefer non-deprecated hardware types
deprecated hardware types in EC2 are flagged using this, according to latest AWS advice,
to fix situations where deprecated hardware types would be chosen when a non-deprecated alternative exists.
we also deprecate T2 because it requires a VPC.

also fixes semantics of ImagesToRegionAndIdMap to match the logic used in the TemplateBuilderImpl;
RegionAndName should contain the ID not the ProviderID.  this is only really used in tests so no external impact.
(previously the cache only worked if provider ID matched the non-location segment of the image ID.)
however this does now assert that image id's are in the right format for AWS, as suggested by @nacx.
2015-07-20 23:13:49 +02:00
Alex Heneveld 3b83e790c0 indicate virtualization type for all ec2 instance types 2015-07-20 23:13:43 +02:00
Arvind Nadendla fc59530415 Split availability Zone API to return Basic Info and Detailed info 2015-07-16 13:26:11 -05:00
Zack Shoylev defbd1151c Adds missing floating-ip-pool expect test
Fixes broken namespace for the ip pool extension
2015-07-14 19:25:15 -05:00
Zack Shoylev 5eb36ef259 Fixes missing @Deprecated annotation 2015-07-14 19:22:56 -05:00
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