RE: IllegalArgumentException when deleting node on Rackspace

2014-08-15 Thread Andrew Phillips
Of course, the proper fix is to make sure the DNS validator is not used when cleaning up key pairs... Should an error during a cleanup process like this lead to the exception being caught and logged, rather than being propagated to the user? ap

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
node on Rackspace 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

Re: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Daniel Widdis
Zack, I am able to reproduce this exception at will, using jclouds 1.8.0. The exception appears associated with deleting the very last server on the account, when it has a mixed-case name. This was the ONLY server on my account. I could not get this to reproduce with any other servers

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Zack Shoylev
@jclouds.apache.org Subject: Re: IllegalArgumentException when deleting node on Rackspace Zack, I am able to reproduce this exception at will, using jclouds 1.8.0. The exception appears associated with deleting the very last server on the account, when it has a mixed-case name. This was the ONLY

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Zack Shoylev
[zack.shoy...@rackspace.com] Sent: Thursday, August 14, 2014 8:15 AM To: user@jclouds.apache.org Subject: RE: IllegalArgumentException when deleting node on Rackspace Hi Dan, Thanks for following up and for your bug report! I have a couple of ideas why this might be happening, but I am still looking

Re: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Daniel Widdis
I have one key, creatively named Dan Widdis I'll run some tests with that key renamed and/or deleted. 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

Re: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Daniel Widdis
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 myclouds.rackspace.com panel, then go to Servers, under the SSH

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 Daniel Widdis
:56 AM To: user@jclouds.apache.org Subject: 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

Re: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Chris Custine
is that the problematic string is the Dan Widdis one, but I am still testing. -Zack From: Daniel Widdis [wid...@gmail.com] Sent: Thursday, August 14, 2014 10:56 AM To: user@jclouds.apache.org Subject: Re: IllegalArgumentException when deleting node

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Zack Shoylev
To: user@jclouds.apache.orgmailto:user@jclouds.apache.org Subject: 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

Re: IllegalArgumentException when deleting node on Rackspace

2014-08-14 Thread Daniel Widdis
Most of my use of the servers is automated, using dns-compliant server names (because the code yelled at me a few months ago). I only encountered this exception doing some manual testing and tweaking and it's mostly cosmetic, so the workaround for me is to simply ignore the error and move on!

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 Daniel Widdis
Zack, I've tried to reproduce this multiple ways, but was unable to do so (yet), but I have a theory about what happened (which is difficult to intentionally replicate). Reviewing the stack trace, I noticed that the exception is occurring after the actual deletion of the node, in a

RE: IllegalArgumentException when deleting node on Rackspace

2014-08-11 Thread Zack Shoylev
, the group is usually based on how the server is named. -Zack From: Daniel Widdis [wid...@gmail.com] Sent: Monday, August 11, 2014 1:40 PM To: user@jclouds.apache.org Subject: Re: IllegalArgumentException when deleting node on Rackspace Zack, I've tried