Re: MultiPart Upload

2017-02-08 Thread Zack Shoylev
You can control the number of threads, but I think the minimum and maximum part size and the maximum number of parts is controlled by the specific jclouds provider. -Zack From: Archana C Sent: Wednesday, February 8, 2017 6:18 AM To:

Re: jClouds 2.0 MultiPart Upload

2017-02-06 Thread Zack Shoylev
It will use an internal executorservice, if i remember correctly. I don't remember how it was configured, though, I'll have to look. Probably slow if not even sequential. -Zack From: Archana C Sent: Saturday, February 4, 2017 12:37 AM

Re: put operation is not repeatable

2016-11-23 Thread Zack Shoylev
There were some bugfixes in 2.0.0 that can potentially fix your problem based on exactly what is failing. Have you tried that? From: Aleksandra Nowak Sent: Wednesday, November 23, 2016 5:08 AM To: user@jclouds.apache.org

Re: Stream file to the OpenStack Swift

2016-09-13 Thread Zack Shoylev
You should be able to write (for example) an Apache Tomcat web application that accepts a file and then uploads it to Swift using jclouds. I am not completely sure about the Tomcat part (receiving the file), but we have lots of examples here: https://github.com/jclouds/jclouds-examples

Re: Unable to access OpenStack Neutron's FloatingIPApi

2016-02-08 Thread Zack Shoylev
I added some more info to help the extension API here: https://github.com/jclouds/jclouds-labs-openstack/pull/202 We already use name to resolve automatically, so as long as it matches the openstack default, it should work for detection (with this PR). -Zack

Re: UserAdminApi.create() method does not pass the tenantId to Keystone of OpenStack

2015-11-18 Thread Zack Shoylev
​I can try to add it this week. From: Guy Dumouchel Sent: Wednesday, November 18, 2015 7:26 AM To: Ignasi Barrera; user@jclouds.apache.org Subject: Re: UserAdminApi.create() method does not pass the tenantId to Keystone of

Re: [COMMERCIAL] Re: UserAdminApi.create() method does not pass the tenantId toKeystone of OpenStack

2015-11-18 Thread Zack Shoylev
create() method does not pass the tenantId toKeystone of OpenStack Thanks Zack. Can you also backport the commit to the 1.9.x release branches. Thanks Guy On 11/18/2015 08:55 AM, Zack Shoylev wrote: ​I can try to add it this week. From: Guy Dumouchel <g

Re: JCloud how to with non keystone Swift setup

2015-10-28 Thread Zack Shoylev
Can you explain a bit more? Are you trying to connect to a vanilla openstack setup? From: Trupti Mali Sent: Wednesday, October 28, 2015 5:06 AM To: user@jclouds.apache.org Subject: JCloud how to with non keystone Swift setup Hi, I am

Re: openstack affinity / antiaffinity in jcouds

2015-08-04 Thread Zack Shoylev
it - at the moment it looks to me that it is just a matter of extending the TemplateOptions ? Thanks Martin Btw, I am basing my (temporary) changes on jclouds 1.8.1 -Original Message- From: Zack Shoylev [mailto:zack.shoy...@rackspace.com] Sent: Monday, August 03, 2015 3:50 AM

Re: openstack affinity / antiaffinity in jcouds

2015-08-03 Thread Zack Shoylev
/ antiaffinity in jcouds Thanks for the pointers, I'll take a look Regards Martin -Original Message- From: Zack Shoylev [mailto:zack.shoy...@rackspace.com] Sent: Thursday, July 30, 2015 7:51 AM To: user@jclouds.apache.org Subject: Re: openstack affinity / antiaffinity in jcouds I think you

Re: openstack affinity / antiaffinity in jcouds

2015-07-30 Thread Zack Shoylev
I think you are referring to the instance group api extension. https://wiki.openstack.org/wiki/InstanceGroupApiExtension As far as I know, this extension is not supported in jclouds right now. If it helps, the extensions supported for nova in master are here:

Re: jclouds 1.9.0 with example code returns errors

2015-07-08 Thread Zack Shoylev
Are you using any of the examples here: https://github.com/jclouds/jclouds-examples - Zack From: Vijay Sukthankar vijay.sukthan...@gmail.com Sent: Friday, July 3, 2015 8:44 AM To: user@jclouds.apache.org Subject: Re: jclouds 1.9.0 with example code returns

Re: [OpenStack][Trove]datastore

2015-07-02 Thread Zack Shoylev
I don't think that is supported in the trove API http://developer.openstack.org/api-ref-databases-v1.html? Some providers might support additional configuration extensions, I think. From: Mario Culjak mcul...@fesb.hr Sent: Thursday, July 2, 2015 3:39 AM To:

Re: [Openstack] Routes from virtual router

2015-06-18 Thread Zack Shoylev
Hi! I think you are referring to http://developer.openstack.org/api-ref-networking-v2-ext.html#extraroute-ext We don't support that feature extension right now, but we can add it. I have added a JIRA here: https://issues.apache.org/jira/browse/JCLOUDS-940 Thanks! -Zack

Re: COMMERCIAL:Re: Openstack keystone swift token expiration

2015-05-06 Thread Zack Shoylev
?As far as I know this fix should have been in 1.9.0, so I'm surprised it's not. From: Forrest Townsend forrest.tow...@gmail.com Sent: Wednesday, May 6, 2015 6:32 PM To: user@jclouds.apache.org Subject: COMMERCIAL:Re: Openstack keystone swift token expiration I

RE: Does JCloud support OpenStack Juno Release ?

2015-02-05 Thread Zack Shoylev
, February 04, 2015 10:58 PM To: Zack Shoylev; user@jclouds.apache.org Subject: RE: Does JCloud support OpenStack Juno Release ? Thanks for your response Zack. I am not able to find any tangible proof on the internet to ascertain if the Juno release is backward compatible with the Icehouse

RE: Does JCloud support OpenStack Juno Release ?

2015-02-02 Thread Zack Shoylev
It should be backwards compatible, but we haven't tested with Juno directly yet. I don't expect problems on the jclouds side though. Side note: you can also update jclouds, you are a few versions behind. -Zack From: Mohit Gupta [mohit2.gu...@aricent.com] Sent:

RE: assign a port on vm create?

2014-12-05 Thread Zack Shoylev
); } catch (RunNodesException e) { // TODO Auto-generated catch block e.printStackTrace(); } From: Zack Shoylev [mailto:zack.shoy...@rackspace.com] Sent: Wednesday, December 03, 2014 5:14 PM To: user@jclouds.apache.org Subject: RE: assign a port on vm

RE: Can we build a template using a set of nova networks and use neutron API to assign floating IPs?

2014-11-13 Thread Zack Shoylev
Here is my suggestion 1. Create the ports that you need using neutron. You will get back port ids. You can probably use fixed IPs or have neutron allocate some IPs for you when creating the ports. 2. Boot the instances using the port ids from step 1), I think you can use

RE: Neutron API versions v2 and v2_0

2014-11-12 Thread Zack Shoylev
v2_0 is deprecated. If you are just starting with Neutron, use v2. Thanks! -Zack From: Raj [r...@apache.org] Sent: Wednesday, November 12, 2014 10:54 AM To: user@jclouds.apache.org Subject: Neutron API versions v2 and v2_0 Hi, Why there two versions(v2 and

RE: Error using clouds on Rackspace API

2014-11-04 Thread Zack Shoylev
, November 03, 2014 12:45 PM To: user@jclouds.apache.org Subject: Re: Error using clouds on Rackspace API Yes, I have the same error with other regions. - Luca Marturana Software Engineer / Draios Il giorno 03/nov/2014, alle ore 19:05, Zack Shoylev zack.shoy...@rackspace.com ha scritto

RE: Error using clouds on Rackspace API

2014-11-03 Thread Zack Shoylev
Which jclouds version is this? From: Luca Marturana [l...@draios.com] Sent: Monday, November 03, 2014 11:22 AM To: user@jclouds.apache.org Subject: Error using clouds on Rackspace API Hi to all, I'm using jclouds on Rackspace APIs and I get this error:

RE: How to get reference to FloatingIpAPI in Neutron

2014-09-12 Thread Zack Shoylev
I am not sure associating a floating IP to a specific port/interface (as opposed to an instance) is possible with nova. I am pretty sure it is possible with neutron, but all the nova examples I have seen associate a floating ip and an instance. In fact, if you check what gets passed to the

RE: use exponential backoff on retry (was RE: JClouds BlobStore re-authentication when auth token expires)

2014-09-10 Thread Zack Shoylev
Hi Daniel, You should try testing with these Properties: PROPERTY_SO_TIMEOUT - This will time-out the HTTP connection socket after the specified time. This specifies how long the client should wait before jclouds closes the connection and attempts to retry the HTTP call. I would suggest a

RE: Associate floating ip to a specified network interface

2014-08-21 Thread Zack Shoylev
Just as a heads-up, I am working on adding support for the floating IP extension in neutron. Implementation-wise it would be similar to how the Router extension is implemented in neutron v2. Thanks! From: Ignasi Barrera [ignasi.barr...@gmail.com] Sent:

RE: Associate floating ip to a specified network interface

2014-08-20 Thread Zack Shoylev
I don't think this particular neutron extension is supported right now. Hopefully we can add support for it soon! From: Udara Liyanage [ud...@wso2.com] Sent: Wednesday, August 20, 2014 12:23 PM To: user@jclouds.apache.org Subject: Associate floating ip to a

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-15 Thread Zack Shoylev
No, because then you have a silent resource leak of some kind. From: Andrew Phillips [andr...@apache.org] Sent: Friday, August 15, 2014 9:22 AM To: user@jclouds.apache.org Subject: RE: IllegalArgumentException when deleting node on Rackspace Of course,

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-15 Thread Zack Shoylev
I have tracked the issue here for now: https://issues.apache.org/jira/browse/JCLOUDS-672 From: Zack Shoylev [zack.shoy...@rackspace.com] Sent: Friday, August 15, 2014 10:31 AM To: user@jclouds.apache.org Subject: RE: IllegalArgumentException when deleting

RE: How to get reference to NeutronApi from ComputeServiceContext

2014-08-14 Thread Zack Shoylev
, -Jeffrey From: Zack Shoylev zack.shoy...@rackspace.commailto:zack.shoy...@rackspace.com Reply-To: user@jclouds.apache.orgmailto:user@jclouds.apache.org user@jclouds.apache.orgmailto:user@jclouds.apache.org Date: Wednesday, August 13, 2014 10:10 PM To: user@jclouds.apache.orgmailto:user

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Zack Shoylev
, by the time the code gets to the cleanup phase it's only passing around NodeMetaData and not the string. Stack trace for the group deletion: http://pastebin.com/NW76Vms5 Dan On 8/11/14, 10:29 PM, Zack Shoylev wrote: Hi Daniel, I am still working on reproducing this, but have not been able to yet. My

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Zack Shoylev
Hi Dan, If you go to your myclouds.rackspace.com panel, then go to Servers, under the SSH keys tab, what SSH key names do you have? I suspect jclouds expects the SSH key names to have DNS-valid names. Please let me know. Thanks! From: Zack Shoylev

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Zack Shoylev
: Re: IllegalArgumentException when deleting node on Rackspace Or, possibly the name I just gave was just a Rackspace-friendly name. The one actually in the uploaded key is: danielwiddis@Daniel-Widdiss-MacBook-Pro.local On 8/14/14, 7:10 AM, Zack Shoylev wrote: Hi Dan, If you go to your

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Zack Shoylev
-Pro.localmailto:danielwiddis@Daniel-Widdiss-MacBook-Pro.local On 8/14/14, 7:10 AM, Zack Shoylev wrote: Hi Dan, If you go to your myclouds.rackspace.com panel, then go to Servers, under the SSH keys tab, what SSH key names do you have? I suspect jclouds expects the SSH key names to have DNS-valid names. Please

RE: How to get reference to NeutronApi from ComputeServiceContext

2014-08-13 Thread Zack Shoylev
Hi Jeffrey, There is no NeutronAsyncApi, just a NeutronApi. Use neutron version v2 (instead of v2_0) from labs. You should be able to do something like: NeutronApi neutronApi = ContextBuilder.newBuilder(openstack-neutron) .credentials(username,

RE: How to get reference to NeutronApi from ComputeServiceContext

2014-08-13 Thread Zack Shoylev
. Any idea? -Jeffrey From: Zack Shoylev zack.shoy...@rackspace.commailto:zack.shoy...@rackspace.com Reply-To: user@jclouds.apache.orgmailto:user@jclouds.apache.org user@jclouds.apache.orgmailto:user@jclouds.apache.org Date: Wednesday, August 13, 2014 6:41 PM To: user

RE: How to get reference to NeutronApi from ComputeServiceContext

2014-08-13 Thread Zack Shoylev
can get credentials but I'm not sure how to get the value for endpoint from the existing ComputeServiceContext. Any idea? -Jeffrey From: Zack Shoylev zack.shoy...@rackspace.commailto:zack.shoy...@rackspace.com Reply-To: user@jclouds.apache.orgmailto:user@jclouds.apache.org user

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-11 Thread Zack Shoylev
Hi Daniel, Can this issue be reproduced consistently? Does the number of servers matter? From your stack traces it seems this code is called https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/predicates/validators/DnsNameValidator.java#L56 so it could be some kind of

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-11 Thread Zack Shoylev
. Dan On 8/11/14, 6:45 AM, Zack Shoylev wrote: Hi Daniel, Can this issue be reproduced consistently? Does the number of servers matter? From your stack traces it seems this code is called https://github.com/jclouds/jclouds/blob/master/core/src/main/java/org/jclouds/predicates/validators

RE: How to write a Blob using an OutputStream?

2014-08-05 Thread Zack Shoylev
Your code seems fine. I have used http://commons.apache.org/proper/commons-io/apidocs/org/apache/commons/io/output/ByteArrayOutputStream.html in the past to convert between stream types, but it seems like it doesn't match your case very well. Note you might have to do writeBytesToBlob() before

RE: How to write a Blob using an OutputStream?

2014-08-05 Thread Zack Shoylev
, and not the close() method, right? Steve Kingsland Senior Software Engineer http://www.opower.com/ Opower We’re hiring! See jobs herehttp://www.opower.com/careers On Tue, Aug 5, 2014 at 7:21 AM, Zack Shoylev zack.shoy...@rackspace.commailto:zack.shoy...@rackspace.com wrote: Your code seems fine. I have

RE: How to create Winodows Compute with random or predefine password

2014-07-09 Thread Zack Shoylev
You might want to try something like templateBuilder.options(overrideLoginUser(loginUser)) before you call templateBuilder.build(); As per this example: https://github.com/jclouds/jclouds-examples/blob/master/compute-basics/src/main/java/org/jclouds/examples/compute/basics/MainApp.java In any

RE: neutron refactoring - breaking changes

2014-04-03 Thread Zack Shoylev
, to be removed in jclouds 2.0? WDYT? /jd On Wed, Apr 2, 2014 at 2:38 PM, Zack Shoylev zack.shoy...@rackspace.commailto:zack.shoy...@rackspace.com wrote: I would hold off on separate renaming PRs and here is why: One of the best ways to deprecate the existing neutron implementation is to deprecate

RE: neutron refactoring - breaking changes

2014-04-02 Thread Zack Shoylev
, questions, concerns? /jd On Tue, Apr 1, 2014 at 8:47 AM, Zack Shoylev zack.shoy...@rackspace.commailto:zack.shoy...@rackspace.com wrote: Hello, There is a list of proposed changes to refactor neutron in jclouds-labs-openstack as detailed here: http://www.mail-archive.com/dev@jclouds.apache.org

neutron refactoring - breaking changes

2014-04-01 Thread Zack Shoylev
Hello, There is a list of proposed changes to refactor neutron in jclouds-labs-openstack as detailed here: http://www.mail-archive.com/dev@jclouds.apache.org/msg04477.html I would like to hear back from users who are currently using the API - is this something we should or should not be