[
https://issues.apache.org/jira/browse/LIBCLOUD-240?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Thomas S Hatch closed LIBCLOUD-240.
-----------------------------------
Resolution: Fixed
> Hardcoded ssh timeout
> ---------------------
>
> Key: LIBCLOUD-240
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-240
> Project: Libcloud
> Issue Type: Bug
> Reporter: Thomas S Hatch
>
> Often when deploying to rackspace the deploy_node method throws a timeout for
> ssh:
> File "/usr/bin/salt-cloud", line 14, in <module>
> main()
> File "/usr/bin/salt-cloud", line 10, in main
> cloud.run()
> File "/usr/lib/python2.7/site-packages/saltcloud/cli.py", line 173, in run
> mapper.run_map()
> File "/usr/lib/python2.7/site-packages/saltcloud/cloud.py", line 260, in
> run_map
> self.create(tvm)
> File "/usr/lib/python2.7/site-packages/saltcloud/cloud.py", line 149, in
> create
> self.clouds['{0}.create'.format(self.provider(vm_))](vm_)
> File "/usr/lib/python2.7/site-packages/saltcloud/clouds/rackspace.py", line
> 77, in create
> data = conn.deploy_node(**kwargs)
> File "/usr/lib/python2.7/site-packages/libcloud/compute/base.py", line 616,
> in deploy_node
> raise DeploymentError(node=node, original_exception=e, driver=self)
> libcloud.compute.types.DeploymentError: <DeploymentError: node=21066798,
> error=<LibcloudError in
> <libcloud.compute.drivers.rackspace.RackspaceNodeDriver object at 0xc525550>
> 'Timed out after 600 seconds'>,
> driver=<libcloud.compute.drivers.rackspace.RackspaceNodeDriver object at
> 0xc525550>>
> The salt cloud code calling deploy_node can be found here:
> https://github.com/saltstack/salt-cloud/blob/develop/saltcloud/clouds/rackspace.py#L66
>
> Would it be possible to make this timeout configurable? The timeout that
> appears to be getting called is defined here:
> https://svn.apache.org/viewvc/libcloud/trunk/libcloud/compute/base.py?view=markup
>
> On line 40
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira