Re: Jenkins + jclouds + windows instances

2013-12-09 Thread Ignasi Barrera
I don't know exactly what the Jenkins plugin executes in the node, but apart from the SSH connection, there are several scripts that assume a bash shell in it. Adding support for jclouds+Windows would require more than installing an SSH server in the guest. As you found, there was a work started

Re: INTERNAL_SERVER_ERROR on getting versions of a vcloud server

2014-01-01 Thread Ignasi Barrera
/2014 18:05, Nirmal Fernando nir...@wso2.com escribió: On Wed, Jan 1, 2014 at 10:26 PM, Ignasi Barrera ignasi.barr...@gmail.comwrote: It would be great to see those PR! Having contributions in the vcloud apis is definitely something that is very welcome. Do you have any plan to add

Re: [jClouds Abiquo] - Issue when deploying to jBoss

2014-01-08 Thread Ignasi Barrera
This is something that hs already been fixed in the Abiquo dependencies. The wink-common was included just for commodity, but we've removed the dependency in the last version of the api-model-transport. Using it requires some changes in the Abiquo provider and I've still had no time to make them.

Re: [jClouds Abiquo] - Issue when deploying to jBoss

2014-01-08 Thread Ignasi Barrera
opened an issue (JCLOUDS-421https://issues.apache.org/jira/browse/JCLOUDS-421) as you suggest, though I’m not sure if the description is correct J But as it gets solved, is there any workaround I can implement on my side in the meantime? *From:* Ignasi Barrera [mailto:ignasi.barr

Re: MangoDb installation on AWS ec2 instances

2014-01-16 Thread Ignasi Barrera
Unfortunately that seems to be an issue with the mongodb cookbook itself, as is trying to download an RPM that is not signed. Have you tried with a different distribution such as an Ubuntu? Also you may found more help in the Chef user mailing list [1]. I. [1]

Re: Running Basic-chef sample

2014-01-23 Thread Ignasi Barrera
Hi Jose, I've executed the examples with AWS and they were failing. The issue was in the template selection. I've changed that to make sure it picks an Ubuntu template and also configured the default login to use sudo, to avoid permission problems. This should make the examples work out of the

Re: Issue running CloudFilesPublish.java example

2014-01-24 Thread Ignasi Barrera
Hi! Here you'll find how to configure the snapshot repository: http://jclouds.apache.org/documentation/userguide/installation-guide/#snapshot On 24 January 2014 17:07, Carlos Ospina carlos.osp...@gmail.com wrote: Thanks for the quick response. I'm indeed using JDK 1.7 u51. I tested jdk 1.6

Re: Node to NodeMetadata ( Bridging the gap )

2014-01-25 Thread Ignasi Barrera
Hi Neil, I'm not very familiar with the Rackspace specific apis, but why do you need to get the ip address of the node? If you use the ComputeService, the runScriptOnNode methods only need the node id (does the node returned by the loadbalancer api have the same id than the one returned by the

Re: error when trying to get a simple list of nodes

2014-02-04 Thread Ignasi Barrera
Hi George, I think it shouldn't be the JVM issue. Could you share the jclouds dependencies you are using? I. El 04/02/2014 21:43, George Kousiouris gkous...@mail.ntua.gr escribió: hi all, I am trying to run a simple piece of code to get the list of nodes from an aws account (actually the

Re: Running Basic-chef sample

2014-02-05 Thread Ignasi Barrera
repliy. Jose El 23/01/2014 16:25, Ignasi Barrera escribió: Hi Jose, I've executed the examples with AWS and they were failing. The issue was in the template selection. I've changed that to make sure it picks an Ubuntu template and also configured the default login to use sudo, to avoid

Re: OpenStack add tenant and user

2014-03-03 Thread Ignasi Barrera
Just a quick update: There is an ongoing PR to support the OS-KSADM extension [1]. Stay tuned! I. [1] https://github.com/jclouds/jclouds/pull/303 On 15 January 2014 10:48, Radek Skokan radek.skokan.c...@gmail.com wrote: Just an update after playing with it: the correct port Keystone port

Re: [jclouds/abiquo issue] The vDC soft limits cannot be forced in version 2.6 of the API

2014-03-05 Thread Ignasi Barrera
as possible J *From:* Ignasi Barrera [mailto:ignasi.barr...@gmail.com] *Sent:* 05 March 2014 15:31 *To:* Carlos Garcia Ibañez *Cc:* user@jclouds.apache.org; d...@jclouds.incubator.apache.org *Subject:* Re: [jclouds/abiquo issue] The vDC soft limits cannot be forced in version 2.6 of the API

Re: Error while running jclouds example code

2014-03-06 Thread Ignasi Barrera
Hi Avanti, As Aled suggested, it seems to be a dependency problem. How are you running the code? And which version of the Guava dependency is in your app classpath? I. El 07/03/2014 07:40, Avanti Ajay avanti.a...@gmail.com escribió: HI.. This is the stacktrace of the exception Im getting..

RE: [jclouds/abiquo issue] The vDC soft limits cannot be forced in version 2.6 of the API

2014-03-11 Thread Ignasi Barrera
the official releases for the moment, but I'm not sure if it is the best practice. Thanks in advance and kind regards. *From:* Ignasi Barrera [mailto:ignasi.barr...@gmail.com] *Sent:* 05 March 2014 16:52 *To:* Carlos Garcia Ibañez *Cc:* user@jclouds.apache.org; d...@jclouds.incubator.apache.org

Re: Android Jclouds

2014-03-11 Thread Ignasi Barrera
HI Jeremiah, Could you share the list of jars in the classpath? Make sure the rackspace-cloudservers-us jar is there. On 11 March 2014 16:58, Jeremiah Robertson jrs...@gmail.com wrote: I'm getting an error saying rackspace-cloudservers-us is not in the list of providers and apis and I'm using

Re: Android Jclouds

2014-03-12 Thread Ignasi Barrera
I've also seen that. To get the nodes you need to cal the get operation to get the details of the load balancer. The list call does not return the node details. El 12/03/2014 20:30, Jeremiah Robertson jrs...@gmail.com escribió: Also, on another note, when I return the information for one of my

Re: Does jclouds support key-value pairs for tags?

2014-03-27 Thread Ignasi Barrera
AFAICT the TemplateOptions in the ComputeService only allows tags being a list of strings. The userMetadata() accepts a Map, though. Can you use it instead of the tags? El 26/03/2014 18:54, Lahiru Sandaruwan lahi...@wso2.com escribió: [Adding dev] On Tue, Mar 25, 2014 at 10:52 PM, Lahiru

Re: Does jclouds support key-value pairs for tags?

2014-04-01 Thread Ignasi Barrera
Great! Thanks for sharing! El 01/04/2014 18:24, Lahiru Sandaruwan lahi...@wso2.com escribió: Hi, Thanks. That worked. On Thu, Mar 27, 2014 at 10:50 AM, Lahiru Sandaruwan lahi...@wso2.com wrote: Thanks Ignasi, Will try that out. On Thu, Mar 27, 2014 at 12:55 AM, Ignasi Barrera

Re: Create a tenant in openstack

2014-04-04 Thread Ignasi Barrera
Please tell me how can I get this 1.8.0 SNAPSHOT code and jars any links will be really useful On Fri, Apr 4, 2014 at 3:49 PM, Ignasi Barrera ignasi.barr...@gmail.com wrote: Hi Shital, The Keystone v2.0 OS-KSADM Admin Extension was added two months ago [1] in master, but it is not planned

Re: IncompatibleClassChangeError with JClouds 1.7.1 connecting to Openstack

2014-04-21 Thread Ignasi Barrera
Not AFAIK. Could you check your app's classpath and see which exact version of guice and gson you have there? Guice should be 3.0 and Gson should be 2.2.4. Make sure you have those (and only those) versions of the libs in the classpath. I. Has anyone come across this issue ? *

Re: IncompatibleClassChangeError with JClouds 1.7.1 connecting to Openstack

2014-04-21 Thread Ignasi Barrera
, 2014 at 12:43 PM, Ignasi Barrera n...@apache.org wrote: Not AFAIK. Could you check your app's classpath and see which exact version of guice and gson you have there? Guice should be 3.0 and Gson should be 2.2.4. Make sure you have those (and only those) versions of the libs in the classpath

Re: IncompatibleClassChangeError with JClouds 1.7.1 connecting to Openstack

2014-04-22 Thread Ignasi Barrera
21, 2014 at 1:16 PM, Ignasi Barrera ignasi.barr...@gmail.comwrote: Are you using Maven? If so, could you paste the output of running a mvn dependency:tree? On 21 April 2014 22:04, Pankaj Kharode pankaj.khar...@gslab.com wrote: Doesn't look like I've other entries linked (some-how my work

Re: IncompatibleClassChangeError with JClouds 1.7.1 connecting to Openstack

2014-04-22 Thread Ignasi Barrera
) at com.cloupia.feature.vcdpController.VcdpCloudTestConnectionHandler.Vc --Kavita On Tue, Apr 22, 2014 at 12:34 PM, Ignasi Barrera n...@apache.org wrote: This is the first time I see this error, but after a quick search I've found this [1]. Is jclouds-all the only dependency in your project? Are you using old code that was compiled with an earlier

Re: Specifying only public or private IP for RunScriptOnNode

2014-05-25 Thread Ignasi Barrera
Hi Daniel, This was reported recently (see JCLOUDS-528 [1]) and fixed in master. If you use the latest 1.8.0-SNAPSHOT version you should be able to set the jclouds.compute.socket-finder-allowed-interfaces property to control which IP addresses are used to connect to the node (see [2]). We are

Re: Insufficient timeout length creating servers in callable threads

2014-05-25 Thread Ignasi Barrera
Good to see you managed to fix it! I. On 25 May 2014 19:06, Daniel Widdis wid...@gmail.com wrote: My apologies to Ignasi Barrera who already replied to this; but I apparently had some issues being subscribed to the list and don't have his message to reply to, so I'm replying to my own message

Re: Clojure support

2014-05-31 Thread Ignasi Barrera
With my limited knowledge of Clojure, but mi willing to learn, I will make my best to put the Chef bindings up to date, and hopefully I will then be in a better place to give a hand in the compute bindings too. El 30/05/2014 22:24, Everett Toews everett.to...@rackspace.com escribió: On May 27,

Re: Specifying only public or private IP for RunScriptOnNode

2014-06-03 Thread Ignasi Barrera
. Dan On 6/2/14, 3:04 PM, Ignasi Barrera wrote: Could you share your code in a Gist or Pastie so we can see if there is something wrong?

Re: Adding new ssh public key to user

2014-06-22 Thread Ignasi Barrera
Ni Nipun, If I am not wrong, in AWS an instance can only be associated to one key pair, so I'd assume you're just trying to add a key to an existing user's authorized_keys file. You can do that by using the AuthorizeRSAPublicKeys statement [1]. You can do something like: // Add the public key to

Re: Adding new ssh public key to user

2014-06-23 Thread Ignasi Barrera
it to the instance regards Nipun On Mon, Jun 23, 2014 at 3:05 AM, Ignasi Barrera n...@apache.org wrote: Ni Nipun, If I am not wrong, in AWS an instance can only be associated to one key pair, so I'd assume you're just trying to add a key to an existing user's authorized_keys file. You can do

Re: Get attributes for a cookbook version

2014-06-24 Thread Ignasi Barrera
Hi Arul, In Chef, attributes are associated to nodes, roles and environments, but not to cookbooks. Cookbooks contain a set of attribute files with default values for some attributes, but don't define them nor set a complete attribute set. If you have a look at the Chef server API [1] you'll see

Re: Rackspace Cloudfiles UK provider and region Ids

2014-06-25 Thread Ignasi Barrera
Hi Paolo, The IAD region is Virginia (a US region) and can't be used with the UK provider. The only region in rackspace UK is London (LON). You'll have to change your code to use LON either by editing the code or by running the example with: -Dregion=LON. HTH! I. On 25 June 2014 11:43, Paolo

Re: Chef Data Bag Examples

2014-06-27 Thread Ignasi Barrera
You can also get some ideas from the Chef tests: https://github.com/jclouds/jclouds-chef/blob/master/core/src/test/java/org/jclouds/chef/internal/BaseChefApiLiveTest.java#L257-L310 On 27 June 2014 16:32, Andrew Phillips andr...@apache.org wrote: Hi Fred Are there any examples for using Chef

Re: Early SSH failures when provisioning on GCE

2014-07-07 Thread Ignasi Barrera
the RunScriptOnNodeAsInitScriptUsingSsh task. -- Jason Dusek @solidsnack On 5 July 2014 07:23, Ignasi Barrera n...@apache.org wrote: Hi Jason, Could you share the code snippet you use to create the nodes, so we can try to reproduce it? Thanks! I. El 03/07/2014 23:46, Daniel Widdis wid

Re: How to Run script on Windows Compute

2014-07-29 Thread Ignasi Barrera
jclouds currently implements access to the nodes using SSH. We support the sshj and jsch libraries, and right now this is the only protocol supported to access the nodes. This means that to run scripts on a Windows host there should be an SSH server running there and listening on port 22. Also,

Re: Utilize a local cookbook to provision a remote

2014-08-08 Thread Ignasi Barrera
I assume you're talking about Chef. You can use Chef in two ways: with a Chef Server or using Chef Solo. If you use a Chef Server, then the cookbooks and hosted there (that means all cookbooks must be uploaded there before they can be used) and the node will download the required ones as part of

RE: Utilize a local cookbook to provision a remote

2014-08-08 Thread Ignasi Barrera
)’ with the ‘file’ locator .. -thx -d *From:* Ignasi Barrera [mailto:ignasi.barr...@gmail.com] *Sent:* Friday, August 08, 2014 8:28 AM *To:* user@jclouds.apache.org *Subject:* Re: Utilize a local cookbook to provision a remote I assume you're talking about Chef. You can use Chef in two ways

Re: Specify a network interface when assigning floating IP

2014-08-12 Thread Ignasi Barrera
Hi Udara, Have you tried using the jclouds Neutron api as Zack suggested? Hi, Ping! On Fri, Aug 8, 2014 at 4:17 PM, Udara Liyanage ud...@wso2.com wrote: Hi, I was able to create an instance in Openstack specifying multiple networks. Instance has two network interfaces and each is assigned

Re: How to get reference to NeutronApi from ComputeServiceContext

2014-08-14 Thread Ignasi Barrera
Yep, it's not recommended at all. Using different versions of jclouds in the sane app will bring two different versions of the jclouds-core to the classpath. The behavior of *any* jclouds api/provider in this scenario is unpredictable, as jclouds-core is the one that generates the http requests

Re: SLF4JLoggingModule cannot be resolved to a type

2014-08-18 Thread Ignasi Barrera
Hi Sofiane, Try adding this dependency to your pom.xml: dependency groupIdorg.apache.jclouds.driver/groupId artifactIdjclouds-slf4j/artifactId version1.8.0/version /dependency HTH! I. On 18 August 2014 15:59, Sofiane Bendoukha saw...@hotmail.com wrote: Hello Everybody, can you

Re: Preparing a node for creating an AMI

2014-08-19 Thread Ignasi Barrera
In general, I'd say you should avoid running things that leave user specific data on the node. That is, for example the jclouds predefined statements that jclouds provides (admin access, install private keys, etc). You can also run a script to wipe all that data before creating the image. There

Re: Specifying EC2 keypair?

2014-08-29 Thread Ignasi Barrera
Hi! I'm a bit late, but you should be able to just do: TemplateOptions options = compute.templateOptions() .authorizePublicKey(pubkey string) .inboundPorts(inboundPorts) .runScript(bootInstructions); Without using EC2 specific options (more portable code) or all those credential

Re: Softlayer GlobalIdentifier question

2014-08-31 Thread Ignasi Barrera
Hi Jai, Thanks for sharing and figuring out the cause of your issue. Could you please open a JIRA issue [1] so we can track this? And could you send your changes as a pull request [2]? This way we'll be able to review and test it before merging. Patches and pull request are very welcome!

Re: Softlayer GlobalIdentifier question

2014-09-03 Thread Ignasi Barrera
fix it. However the SoftLayerComputeServiceAdapter class has been revamped now. I don not see the globalIdentifier being used anymore. I will try out with the latest code. Rgds Jai On Sun, Aug 31, 2014 at 7:32 AM, Ignasi Barrera n...@apache.org wrote: Hi Jai, Thanks for sharing

Re: Softlayer GlobalIdentifier question

2014-09-04 Thread Ignasi Barrera
Using the latest version should work. Could you please file an issue in our JIRA [1] with the relevant code and the provided stacktrace, so we can properly track and fix it? Thanks! I. [1] https://issues.apache.org/jira/browse/JCLOUDS El 04/09/2014 23:04, Andrew Phillips andr...@apache.org

IRC logs available

2014-09-24 Thread Ignasi Barrera
Hi! We've recently added the #jclouds IRC channel to BotBot.me, and the logs are now available online at: https://botbot.me/freenode/jclouds/ Hope you find it useful! I.

Re: Example of setting Blob ACL using S3 provider?

2014-09-24 Thread Ignasi Barrera
It always depends on your needs. jclouds provides a portable abstraction layer that allows you to talk to different clouds with the same code. It provides portable Compute, Blobstore and Load Balancing models and APIs you can use. Each cloud, however, has its own semantics and specific features,

Re: Example of setting Blob ACL using S3 provider?

2014-09-26 Thread Ignasi Barrera
You should be able to create the portable BlobStoreContext and use the unwrapApi method to get the provider specific api you want to use (S3Client or AWSS3Client). El 26/09/2014 17:38, Steve Kingsland steve.kingsl...@opower.com escribió: Thanks, now I understand the difference between APIs and

Re: Example of setting Blob ACL using S3 provider?

2014-09-26 Thread Ignasi Barrera
We’re hiring! See jobs here On Fri, Sep 26, 2014 at 11:59 AM, Ignasi Barrera n...@apache.org wrote: You should be able to create the portable BlobStoreContext and use the unwrapApi method to get the provider specific api you want to use (S3Client or AWSS3Client). El 26/09/2014 17:38, Steve

Re: Self-signed certs

2014-10-03 Thread Ignasi Barrera
Regarding OkHttp driver tuning, it has a lot of room for improvement! :) It was added to allow APIs such as OpenStack Marconi to use the PATCH verb in HTTP requests and AFAIK it is currently only used there for that purpose. It would be awesome to have some known best practices and recommended

Re: Register new instance with existing load balancer

2014-10-20 Thread Ignasi Barrera
Hi Yaron, To do that you need to directly access the AWS ELB API, as that functionality is still not supported in the portable load balancer abstraction provided by the LoadBalancerService (just FTR there is already feature request to improve that abstraction [1]). You can get that API in two

Re: Nodes block forever on GCE

2014-11-12 Thread Ignasi Barrera
Looking at the image you're using, it seems to be a deprecated one (isn't it?). You may want to filter out the deprecated images and avoid using them (I recall having problems with disks when using some of them). In the current impl, the deprecated field, when present, is populated in the

Re: ec2 image for jclouds

2014-12-01 Thread Ignasi Barrera
cheng liang.ch...@gmail.com wrote: Hi Ignasi, Thanks for the reply. Can you please provide some code snippet from a working example how to use overrideLoginCredentials to overwrite the password for the root ? Thanks, -Liang On Mon, Dec 1, 2014 at 1:28 PM, Ignasi Barrera n...@apache.org

RE: assign a port on vm create?

2014-12-05 Thread Ignasi Barrera
If the option is available in the NovaTemplateOptions you don't need to manually create the options object. It is just a matter of order. Just call the specific NovaTemplateOptions methods after the as call. Calling methods from the superclass (TemplateOptions) will return that superclass, where

Re: SwiftApi ObjectApi.put behavior on 4xx/5xx responses

2014-12-10 Thread Ignasi Barrera
I see what you say, Daniel. The returned value has changed. Old swift API was using the ParseETagHeader class [1] to parse the response for the putObject request, but the new one is using the ETagHeader class [2] for that purpose. The former threw an exception if the etag wasn't present but the

Re: FW: Error in JCloud KeystoneApi getRoleAdminApi

2014-12-10 Thread Ignasi Barrera
Just to complete Jeremy's checklist, also make sure you're connecting to the admin endpoint; double check the port. IIRC that extension is not exposed in the default endpoint. El 10/12/2014 18:35, Jeremy Daggett jeremy.dagg...@rackspace.com escribió: Forwarding to user@Š Hi Alka! It could be

Re: error with example code for OpenStack

2014-12-17 Thread Ignasi Barrera
at 12:52 PM, Ignasi Barrera n...@apache.org wrote: You have a mix of jclouds 1.5.7 and jclouds 1.8.1 dependencies that is causing classpath issues. Can you change your dependencies to use just jclouds 1.8.1? I'm pretty sure that will fix your issue. I. On 16 December 2014 at 13:33, Jesus

Re: Question about creation of VPCs and Subnets for AWSEC2

2014-12-22 Thread Ignasi Barrera
Hi Paolo, That is still not supported (but I think you already know that, as an issue has been opened: https://issues.apache.org/jira/browse/JCLOUDS-796). On 17 December 2014 at 19:37, Paolo Magnani paolo.magn...@cloudesire.com wrote: As the topic says, is it possible to create and manage

Re: Certificate validation issue with AWS EC2

2014-12-22 Thread Ignasi Barrera
jclouds uses a driver mechanism to perform HTTP requests. Currently it supports 3 drivers: the default one that uses the Java HttpUrlConnection, the OkHttp driver and the Apache HttpClient one. Those drivers are the ones that create and manage the actual HTTP connections, and jclouds doesn't set

Re: Any release scheduled for 2015?

2015-01-30 Thread Ignasi Barrera
Hi! This is still under discussion here: http://markmail.org/message/gggegb2gfyz3jmct I. On 30 January 2015 at 17:20, Bk Lau bklau2...@gmail.com wrote: Hi: It's new year 2015 now. Q: When is the next release scheduled for jClouds?. Thanks, --bk

ApacheCon North America

2015-01-22 Thread Ignasi Barrera
Hi! The ApacheCon North America CFP [1] will close soon. Anyone there is willing to submit a presentation proposal? This time I can't travel to attend the event, but I'll happily share the sources the slides I presented in Budapest [1] if anyone is interested. Let's get some jclouds stuff

Re: JClouds GCE Metadata no credentials

2015-02-20 Thread Ignasi Barrera
Unfortunately the GCE API does not return the node credentials (few provider APIs do), so you won't be able to get them. When using the ComputeService, jclouds persists the credentials for each node it provisions in an internal credential store, so they can be used later to bootstrap the nodes,

Re: Open Nebula Support?

2015-02-18 Thread Ignasi Barrera
Hi dan, We don't support it at the moment, and IIRC there has been no request for it. Are you trying to use it from jclouds? Which is your use case? Ignasi On 18 February 2015 at 21:53, dan rusak merlinl...@rseincorp.com wrote: Has there been any consideration of directly supporting Open

Re: Creating io1 volumes in E2C

2015-02-10 Thread Ignasi Barrera
Hi Ruben, This is something we've already detected as there is a live test failing just for this reason. Unfortunately, I think it is an issue on the AWS side. I've been investigating it, but the API call jclouds makes is correct according to their docs. The only thing I've found is this thread

Re: GCE images, other than CentOS and Debian

2015-03-19 Thread Ignasi Barrera
Hi Yaron, That is already fixed in the latest SNAPSHOT. See [1]. We are about to release 1.9.0, which will include that fix. If you can't use the latest SNAPSHOT, stay tuned to the release! HTH, I. [1]

Re: GCE locations

2015-03-19 Thread Ignasi Barrera
Hi Yaron, This is also fixed in the latest SNAPSHOT. See [1]. As said int he other thread, we're about to release 1.9.0, which will include that fix. HTH! I. [1]

Re: gce (master/head) imageId is null in nodeMetadata

2015-03-20 Thread Ignasi Barrera
Looking at how it works now [1] seems that the imageId is only set in some cases. In previous versions the imageId was stored in the instance metadata, but that only works with nodes created by jclouds, and that seems to be working with the new code too. Mind opening a JIRA to track this?

Re: S3 upload poor performance

2015-03-10 Thread Ignasi Barrera
Hi Veit, Thanks for the detailed report! Feel free to raise a JIRA improvement [1] for this. Could you run the same tests using the OkHttp driver [2] and the last SNAPSHOT version (2.0.0-SNAPSHOT) and tell us the results? In that snapshot we've upgraded the OkHttp driver to use its interface and

Re: ApacheHC driver and stream closing

2015-03-11 Thread Ignasi Barrera
the changes. Thanks, Veit Am 11.03.2015 um 22:23 schrieb Ignasi Barrera: Looking at the code I would say it is an issue, but at some point that should be intentional. The Apache HC driver explicitly excludes the Content-MD5 header when converting the jclouds request to its request object

Re: DiskCreationOptions is now abstract

2015-03-10 Thread Ignasi Barrera
You have to change the options creation to: new DiskCreationOptions.Builder().sizeGb(...).build(); We are using Google Auto [1] for the domain model classes. The Auto_ class you see there is just an auto generated one. HTH! I. [1] https://github.com/google/auto/tree/master/value El 10/03/2015

[ANNOUNCE] Apache jclouds 1.9.0 released

2015-03-30 Thread Ignasi Barrera
The Apache jclouds team is pleased to announce the release of jclouds 1.9.0. Apache jclouds is an open source multi-cloud toolkit for the Java platform that gives you the freedom to create applications that are portable across clouds while giving you full control to use cloud-specific features.

Re: AWS self-referencing security groups

2015-03-31 Thread Ignasi Barrera
Hi Richard, and apologies for the late response, AFAIK there is no reason for that to be exclusive. jclouds could create two security groups and assign both to the instance, and that should work, right? In that case, mind opening an issue so we can track and fix it? Thanks! I. On 17 March 2015

Re: Creating io1 volumes in E2C

2015-02-27 Thread Ignasi Barrera
Also, mind opening a JIRA to track this? Thanks! El 28/02/2015 08:22, Ignasi Barrera n...@apache.org escribió: That's great! Thanks for investigating this. There is a live test that is currently failing because of this, so we should see it go green once we apply a fix. Do you want to try

Re: Creating io1 volumes in E2C

2015-02-27 Thread Ignasi Barrera
wrote: I will try contacting support. I will post news here. On Wed, Feb 11, 2015 at 5:53 PM, Ignasi Barrera n...@apache.org wrote: Hi Ruben, This is something we've already detected as there is a live test failing just for this reason. Unfortunately, I think it is an issue on the AWS side

Re: aws-sns

2015-03-05 Thread Ignasi Barrera
Hi! jclouds still does not implement the sns api. What is your use case? El 04/03/2015 07:41, Navindian navind...@gmail.com escribió: Hi any ideas of how to integrate jclouds with aws-sns? thx jyothi

Re: Removal vcloud and vcloud-director from jclouds in version 1.9.0

2015-03-05 Thread Ignasi Barrera
version? On Wed, Mar 4, 2015 at 9:56 AM, Ignasi Barrera n...@apache.org wrote: Vineet, if there is such resource we've never heared form it. Currently, vcloud is not supported in jclouds. we removed it for the already mentioned issues, and there is no plan to add it back. (Note, I've removed

Re: Any support for running jclouds on the Google App Engine?

2015-03-04 Thread Ignasi Barrera
pretty sure that if jclouds is supported on GAE, you will have many newcomers. Sure, I will open a JIRA ticket, but can you confirm that this requires me to create an account, first ? Thank you for your support. Regards, Édouard 2015-03-03 23:05 GMT+01:00 Ignasi Barrera n...@apache.org: Hi

Re: Eclipse Java code style

2015-04-09 Thread Ignasi Barrera
There is no a pre-created Eclipse file, but you will find the style guide and others in the wiki: https://cwiki.apache.org/confluence/display/JCLOUDS/Writing+jclouds+Code I. P.S. Moving to the dev@ list. On 9 April 2015 at 11:37, Yaron Rosenbaum yaron.rosenb...@gmail.com wrote: I would like

Re: Digital Ocean private IP

2015-04-08 Thread Ignasi Barrera
Hi! You have to use the provider specific options. Something like the following when using the template builder: TemplateOptions opts = compute.templateOptions(); Template template = compute.templateBuilder().options(opts.as (DigitalOceanTemplateOptions.class).privateNetworking(true)); See:

Re: Image-Hardware compatibility check

2015-04-14 Thread Ignasi Barrera
Hi! You should be able to test if a hardware profile can run an image. See: http://jclouds.apache.org/reference/javadoc/1.9.x/org/jclouds/compute/domain/Hardware.html#supportsImage() I. On 14 April 2015 at 11:29, Yaron Rosenbaum yaron.rosenb...@gmail.com wrote: Is there a way to check

Re: Get list of users of a tenant in Openstack with JClouds =1.8

2015-04-13 Thread Ignasi Barrera
Hi Diego, long time no see! The call seems to be part of the OS-KSADM extension [1], right? jclouds does not implement it yet, but adding it to the TenantAdminApi [2] would be pretty straightforward. Since this addition shouldn't introduce breaking changes, there is no problem in adding it to 2.0

Re: Get list of users of a tenant in Openstack with JClouds =1.8

2015-04-15 Thread Ignasi Barrera
91 005-2164 | skype:diegoparrilla On Mon, Apr 13, 2015 at 10:28 AM, Ignasi Barrera n...@apache.org wrote: Hi Diego, long time no see! The call seems to be part of the OS-KSADM extension [1], right? jclouds does not implement it yet, but adding it to the TenantAdminApi [2] would be pretty

Re: monitoring reboot status

2015-06-09 Thread Ignasi Barrera
Most of the cloud provider APIs will report a node as RUNNING when the VM has been started. That does not mean that the operating system has booted and all services are up running and the instance is ready to be used. If you want to know when an instance ir ready, then I'd say your strategy to

Re: jClouds with https

2015-07-01 Thread Ignasi Barrera
ContextBuilder.newBuilder(this.getProvider()).endpoint(this.getEndpoint()) .credentials(route.getIdentity(),route.getCredential()).modules(modules).overrides(props).buildApi(KeystoneApi.class); -Original Message- From: Ignasi Barrera [mailto:n...@apache.org] Sent: 01 July

Re: AWS-EC2: Why are security groups subnets mutually exclusive?

2015-05-26 Thread Ignasi Barrera
Hi Richard, apologies for the late reply. What you say makes sense and I think it is an unintentional limitation in the current code. Changing it should be relatively easy as, if I'm not wrong, the security group creation logic is all contained in one single class [1]. It might require some

Re: jClouds with https

2015-06-29 Thread Ignasi Barrera
client has an --insecure parameter which let's me workaround the problem. Unfortunately, I was not able to find such an option in jclouds. Do you know any workaround of this problem? And here is the solution provided by Ignasi Barrera: Try configuring the following properties when creating

Re: Jclouds support for google cloud

2015-08-10 Thread Ignasi Barrera
Hi Subhadip, The Google providers have changed considerably since 1.7, so I'd suggest you to upgrade to the latest 1.9.1 version if possible (IIRC Google Cloud Storage support was introduced in 1.8.1). In any case, the example you're looking at is for the Load Balancer API. To see examples of

Re: Jcloud Nova unable to find Floating ip pool extension even when it exists in openstack

2015-07-15 Thread Ignasi Barrera
Just for the record, it is a bug that should be now fixed and available inthe last 2.0.0 and 1.9.0 snapshots. Thx Zack for the quick patch! El 15/7/2015 0:53, Arvind N arvind...@gmail.com escribió: Hi, I have an issue with listing floating ip Pools using jclouds. When i list extensions in

Re: FW: jClouds with https

2015-07-15 Thread Ignasi Barrera
{ LOG.error(TenantApi is *not* present%n); } } } -Original Message- From: Ignasi Barrera [mailto:n...@apache.org] Sent: 01 July 2015 15:17 To: user@jclouds.apache.org Subject: Re: jClouds with https And can

Re: Oops with DigitalOcean and jclouds 1.9.1

2015-10-23 Thread Ignasi Barrera
Hi Giovanni, We already saw that issue in earlier versions [1] but it turned to be an issue with the domain classes having more than one constructor. Looking at your stacktrace I can see the issue is raised here [2], when jclouds tries to deserialize the list of regions and determine which json

Re: Problems with digitalocean2

2015-10-26 Thread Ignasi Barrera
In this commit [1] I changed the predicate that checks if the node is running to monitor the status of the droplet instead of the creation event, to avoid race conditions I found in the state changes. And it seems I silently broke seceral things. The offending line is this one [2]. It should use

Re: Oops with DigitalOcean and jclouds 1.9.1

2015-10-27 Thread Ignasi Barrera
Well, although it is gson the one that deserializes, it is using a strategy class provided by jclouds to lookup the constructor or factory method to invoke: https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/json/internal/NamingStrategies.java#L183 The domain objects in

Re: Oops with DigitalOcean and jclouds 1.9.1

2015-10-27 Thread Ignasi Barrera
<giovanni.tora...@cloudesire.com> wrote: > On Tue, Oct 27, 2015 at 6:19 PM, Ignasi Barrera <n...@apache.org> wrote: >> In order to get a better understanding of what is going on, I'll push a >> branch with verbose logging at that point. Would you be able to build that

Re: Oops with DigitalOcean and jclouds 1.9.1

2015-10-26 Thread Ignasi Barrera
Yes, it looks good. Can you try a build with Java 7? It is the official version supported to build jclouds, although we have some builds configured to use Java 8, but not in jclouds-labs. Just to isolate the issue, as in the past we found that the JVM influenced. Also you should revoke your

Re: Oops with DigitalOcean and jclouds 1.9.1

2015-10-26 Thread Ignasi Barrera
For the record, I'm using jclouds 1.9.1 and digitalocean, and running the app on a: Java version: 1.8.0_45, vendor: Oracle Corporation And have no issues. Could you also try that version of the JVM? On 26 October 2015 at 14:58, Ignasi Barrera <n...@apache.org> wrote: > Yes, it l

Re: azurecompute: Deploying a Windows Server

2015-10-21 Thread Ignasi Barrera
ity, where is located the block of code that sets the password > to "Azur3Compute!" ? I am unable to find it. > > Regards, > Ruben > > On Wed, Oct 21, 2015 at 8:08 AM, Ignasi Barrera <n...@apache.org> wrote: >> >> You can provide the custom username

Re: Error on storing JCLoud blob

2015-11-11 Thread Ignasi Barrera
> java.io.IOException: Não há espaço disponível no dispositivo It looks like the disk ran out of space?

Re: Help on how to use JCloud API with SQS

2015-11-09 Thread Ignasi Barrera
Hi Max, I haven't used that API, but in jclouds all APIs and providers are instantiated the same way. You need to use the ContextBuilder [1] to configure the provider, the credentials, and configuration properties that may be required for some particular providers. In general, it looks like:

Re: Problem running digitalocean2

2015-11-08 Thread Ignasi Barrera
It should be fixed now. Thanks for reporting! El 8/11/2015 8:41, "Ruben Rubio Rey" <tk42...@gmail.com> escribió: > Hi Ignasi, > > Thanks for your fast response! > > Regards, > Ruben > > On Sat, Nov 7, 2015 at 9:03 PM, Ignasi Barrera <n...@apache.org

Re: Help on how to use JCloud API with SQS

2015-11-10 Thread Ignasi Barrera
getMessageId()); > } > > I cannot understand which API or object I would use in Jcloud to do the same > I thought using the SendMessageOptions would work but it's not > > Thanks again > max > > > -Original Message- > From: Ignasi Barrera [mailto:n...@ap

Re: Problem running digitalocean2

2015-11-07 Thread Ignasi Barrera
Hi Ruben, It looks like the service loader is trying to load the enterprisechef provider, but it has been recently removed in favor of the generic chef api. Looking at the code, the "jclouds-all" still includes my mistake the old enterprisechef dependency. I'll fix that asap. Meanwhile you can

  1   2   3   >