[dev] libcloud pull request: Sleep for a while to avoid errno 104

2013-09-01 Thread s0undt3ch
GitHub user s0undt3ch opened a pull request: https://github.com/apache/libcloud/pull/141 Sleep for a while to avoid errno 104 On some weird and random occasions the GIL deadlocks while connecting forcing the remote servers to 104 the connection. A simple sleep avoids this issue(aft

[dev] libcloud pull request: Issue LIBCLOUD-389: Adds accessIPv4 value to the nod...

2013-09-01 Thread johnsocp
Github user johnsocp closed the pull request at: https://github.com/apache/libcloud/pull/140

Re: [dev] Rackspace Rackconnect support in Libcloud

2013-09-01 Thread Tomaz Muraus
I just want to clarify "waiting" - do you mean waiting in create_node or deploy_node method? IIRC, currently create_node doesn't wait for node to actually be up and running in any of the drivers. Only method which waits is deploy_node which calls driver.wait_until_running underneath. In any cas

Re: [dev] Rackspace Rackconnect support in Libcloud

2013-09-01 Thread Chris Johnson
I was able to accomplish what I need just by adding a new key to the extra dict but I'm not sure that's the most intuitive place for it. Plus, a separate driver may be a good idea anyway because to really support servers built this way libcloud should wait for the post-build automation to run befor

[dev] libcloud pull request: Issue LIBCLOUD-389: Adds accessIPv4 value to the nod...

2013-09-01 Thread johnsocp
GitHub user johnsocp opened a pull request: https://github.com/apache/libcloud/pull/140 Issue LIBCLOUD-389: Adds accessIPv4 value to the node_list results This is a pretty simple fix to expose the public IP that gets assigned to a server built in a Rackspace RackConnect environment.

Re: [dev] Rackspace Rackconnect support in Libcloud

2013-09-01 Thread Tomaz Muraus
Yeah what Alex said. I'm also not aware of an existing Rack Connect driver. How we should proceed depends on how much do you need to extend the base OpenStack driver: 1. If you need to add a bunch of new functionality and extension methods, then we should create a new RackConnect driver which inh

Re: [dev] Rackspace Rackconnect support in Libcloud

2013-09-01 Thread Alex Gaynor
Hey Chris, I don't believe anyone is currently working on this. I'm not super familiar with the APIs for interacting with Rackconnect, but when you send the PR I'm happy to take a look to see if the way it's integrated looks right for libcloud. Alex On Sun, Sep 1, 2013 at 10:02 AM, Chris Johnso

[dev] Rackspace Rackconnect support in Libcloud

2013-09-01 Thread Chris Johnson
Hello, I've recently been working on a project where we needed to use salt-cloud to provision servers in a Rackspace cloud environment with Rackconnect. To accomplish that I extended the libcloud/compute/drivers/openstack.py driver to provide the accessIPv4 value from the instance details. If I