Creating multiple nodes in separate threads

2015-10-26 Thread Yaron Rosenbaum
Hi I’m trying to create multiple nodes in multiple threads on GCE (each thread creates a single node) (the nodes have different properties, hence need different templates). The problem is, that when trying to create more than 4 nodes, the fifth node doesn’t get created. The API just hangs.

Slow node creation on GCE

2015-07-23 Thread Yaron Rosenbaum
My software creates multiple nodes concurrently (using jclouds), and then runs a short script (shouldn’t take more than 1sec). The first node is created quickly, but the others take a long time - 3-4 minutes between each. The nodes are actually created (I can ssh to them and they are fully

Image-Hardware compatibility check

2015-04-14 Thread Yaron Rosenbaum
Is there a way to check whether a specific Image is supported on a specific Hardware? (Y)

Eclipse Java code style

2015-04-09 Thread Yaron Rosenbaum
I would like to contribute code to this project. Is there an Eclipse Java code style template somewhere ? (Y)

GCE: Node does not attach to a network

2015-03-20 Thread Yaron Rosenbaum
Hi google-compute-engine / head I’ve created a network called ‘multicloud’, and I’m trying to create nodes that are assigned to that network: TemplateOptions options = getComputeService() .templateOptions();

GCE: Unable to create nodes

2015-03-20 Thread Yaron Rosenbaum
Hi I fail to create nodes properly, getting the following error: 11:42:32.780 [user thread 3] ERROR jclouds.ssh - (core:rsa[ssh-agent]@1….2) error acquiring {hostAndPort=1…2:22, loginUser=core, ssh=null, connectTimeout=6, sessionTimeout=6} (not retryable): Exhausted available

GCE images, other than CentOS and Debian

2015-03-19 Thread Yaron Rosenbaum
Hi I’m trying to start a CoreOS instance using jClouds on GCE, using 1.8.1. It fails to find the image. From browsing the code, it seems like only Debian and CentOS are supported? Is it possible to add some property so that the GCE provider will recognize CoreOS or any other images? Thanks.

Re: cloud-config / 'userdata' in GCE provider

2015-03-19 Thread Yaron Rosenbaum
to document this, maybe on the wiki? (Y) On Mar 8, 2015, at 10:20 PM, Andrea Turli andrea.tu...@gmail.com wrote: Not sure about the right key, but I think that's the idea. Let us know about the result! Andrea Il 08/mar/2015 20:50 Yaron Rosenbaum yaron.rosenb...@gmail.com

Re: GCE locations

2015-03-18 Thread Yaron Rosenbaum
Bump (Y) On Mar 15, 2015, at 2:29 PM, Yaron Rosenbaum yaron.rosenb...@gmail.com wrote: Hi I’ve got a bunch of Locations from GCE: Set? extends Location assignableLocations = context.getComputeService().listAssignableLocations(); When looking at a specific location from

Re: Ec2 Load balancer example

2015-03-16 Thread Yaron Rosenbaum
Nipun, For what it’s worth: dependency groupIdorg.apache.jclouds.labs/groupId artifactIdaws-elb/artifactId version1.8.0/version /dependency import org.jclouds.elb.ELBApi;

Re: cloud-config / 'userdata' in GCE provider

2015-03-08 Thread Yaron Rosenbaum
://cloud.google.com/compute/docs/startupscript https://cloud.google.com/compute/docs/startupscript a map entry like startup-script=install-apache.sh should be what you want to add to userMetadata. HTH, Andrea On Sun, Mar 8, 2015 at 5:05 PM Yaron Rosenbaum yaron.rosenb...@gmail.com

cloud-config / 'userdata' in GCE provider

2015-03-08 Thread Yaron Rosenbaum
Hi Is there a way to provide userdata (something like, cloud-init) using the GCE provider? I see that there’s no GoogleComputeEngineTemplateOptions.userData(..) method, the equivalent of AWSEC2TemplateOptions’s userData(..) . Thanks! (Y)

Re: #767 - Creating multiple spot instances fails. Status polling too frequent?

2014-11-21 Thread Yaron Rosenbaum
POLL_MAX_PERIOD = jclouds.compute.poll-status.max-period; On Thu, Nov 20, 2014 at 12:42 AM, Yaron Rosenbaum yaron.rosenb...@gmail.com wrote: Background: I am using jClouds to create and maintain a cluster. My cluster uses spot instances. As I understand it, jClouds is polling AWS to see

Re: #767 - Creating multiple spot instances fails. Status polling too frequent?

2014-11-21 Thread Yaron Rosenbaum
long DEFAULT_MAX_PERIOD = 1000l; On Fri, Nov 21, 2014 at 6:02 AM, Yaron Rosenbaum yaron.rosenb...@gmail.com wrote: Adrian, Thank you! BTW. What are the defaults? (Y) On Nov 20, 2014, at 6:08 PM, Adrian Cole adrian.f.c...@gmail.com wrote: Hi, Yaron. I believe you are looking

Re: not api visible instances - what does this mean?

2014-10-28 Thread Yaron Rosenbaum
/ec2/compute/strategy/EC2CreateNodesInGroupThenAddToSet.java#L163 On Mon, Oct 27, 2014 at 6:00 AM, Yaron Rosenbaum yaron.rosenb...@gmail.com mailto:yaron.rosenb...@gmail.com wrote: jclouds.compute - not api visible instances([{region=us-east-1, name=sir-02ggqbxp}]) (Y)

Register new instance with existing load balancer

2014-10-19 Thread Yaron Rosenbaum
Hi I would like to register a newly created instance with an existing load balancer. My cloud provider is AWS. Thus far, I was able to get a context (not even sure if this is correct) private LoadBalancerServiceContext elb =

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

2014-10-01 Thread Yaron Rosenbaum
Hi If I understand correctly, I have to specify a VPC (since I don't have a default one), and the only way of doing it is by specifying a subnet. That, however, ignores my request for specific security groups - and only adds me to the 'default' one. https://jclouds.apache.org/guides/aws-ec2/

AWS EC2 - Associate public IP address

2014-10-01 Thread Yaron Rosenbaum
Hi I'm trying out jClouds on AWS. How do I configure the template (something else?) to 'associate public ip' when creating nodes? My nodes are created without a public IP. The reverse of this question is also valid: If my subnet is configured to automatically assign a public IP, how can I