Commit Graph

9200 Commits

Author SHA1 Message Date
Andrea Turli 17d9f78003 Apache jclouds 1.9.3-rc1 release 2016-11-23 16:40:44 +01:00
Andrea Turli 4afd950436 Revert "wip"
This reverts commit daf7980d73.
2016-11-18 16:39:07 +01:00
Andrea Turli 28a8d64ed7 Revert "JCLOUDS-1182: Added Seoul and Mumbai regions to AWS"
This reverts commit 75a674fcf6.
2016-11-18 16:38:44 +01:00
Guglielmo Nigri 1f1aceb89d Fix okio version range for jclouds-okhttp
OSGi bundle for jclouds-okhttp should import okio package with correct
version range.
Currently, there is no version range specified, causing it to be wired
to a higher version than intended in complex environments that have more
than one bundle for okio installed.
2016-11-18 16:11:54 +01:00
Andrea Turli daf7980d73 wip 2016-11-17 16:24:12 +01:00
Ignasi Barrera 75a674fcf6 JCLOUDS-1182: Added Seoul and Mumbai regions to AWS 2016-11-17 12:11:40 +01:00
Andrea Turli 7158b94b43 [aws-ec2] Add CRUD for VPC 2016-10-31 14:56:58 +01:00
Andrea Turli 7167b473b4 Fix retryOnRenew classes
These classes should not close the release the payload as they are not
reading it.

- fix swift
- fix openstack-swift v1 and v2
- fix RetryOnRenewTest for v1 and v2
2016-10-28 17:14:57 +02:00
Andrea Turli a843196bf6 reduce payload for GET VirtualGuests 2016-10-14 10:46:54 +02:00
Duncan Grant c79b235594 Fix autovalue class loading in karaf
When Class.forName is called for a class in a different bundle it will
fail as the default karaf class loader won't load classes from other
bundles.

I have fixed this by using the classloader of the original
(non-autovalue) type and assuming it will be in the same bundle as the
autovalue type (I think this is a reasonable assumtion).

So far the only place where I've actually seen this being an issue is
when using the jclouds-labs-google provider within karaf. It fails
when serialising the Firewall.Rule class within a FirewallOptions
object.
2016-09-05 14:23:27 +02:00
Ivana Yovcheva a28ebee392 Fix for ssh reload for Centos 7 2016-08-16 01:05:12 +02:00
Andrea Turli c10d7a65dc Change line endings on files recursively 2016-07-14 00:20:53 +02:00
Arvind Nadendla b4624161ae Make links nullable 2016-06-20 18:13:08 -05:00
Josef Cacek 7016b040d7 JCLOUDS-1044 fix handling NULL JsonTokens in adapters under NullFilteringTypeAdapterFactories class 2016-05-19 15:55:43 +02:00
Ciprian Ciubotariu fc5f5e509e Improve version range specification for guava
The defaults of maven-bundle-plugin set the required version range to
only match guava-16, but the actual usage of guava within jclouds allows
any version after guava-16.

This helps dependent projects mix jclouds with bundles using other guava
versions within OSGi environments.
2016-03-16 12:27:37 +01:00
Andrea Turli 47251f0ea7 fix hpcloud compute adapter 2016-03-15 08:43:59 +01:00
Aled Sage 680ab59316 Fix TemplateOptions.clone; adds RunScriptOptions.copyTo
Previously not all fields of RunScriptOptions were included in copyTo
(e.g. runAsRoot and initScript).

Also options.equals(options.clone()) failed if options.loginPassword
was originally null - in the cloned object, it would be Optional.absent.

Fixes RunScriptOptions.toString, to only say “loginPasswordPresent”
if optional.isPresent().
2016-03-08 21:50:06 +01:00
Alex Heneveld 0248931cc1 fix for issue if SL machine has multiple credentials registered
now just pick the best one. it matters only when we are going to log in to a machine.
the only time the problem has been observed has been with pre-existing machines set up
outwith jclouds with multiple password.
2016-03-08 15:01:37 +01:00
Andrea Turli b96c66dbce improve roll-back strategy when floating-ip are not available
- improve destroyNodes to clean up securityGroups and keyPair created explicitly for that node
- refactor clean up server in one place
2016-01-22 11:20:39 +01:00
Ignasi Barrera 28b63e0c40 Next development version 1.9.3-SNAPSHOT 2016-01-12 16:08:02 +01:00
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