modified timeout in deploy node method. This was modified such that the the timeout is respected when passed as a kwargs.
Signed-off-by: Tomaz Muraus <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/libcloud/repo Commit: http://git-wip-us.apache.org/repos/asf/libcloud/commit/03e70842 Tree: http://git-wip-us.apache.org/repos/asf/libcloud/tree/03e70842 Diff: http://git-wip-us.apache.org/repos/asf/libcloud/diff/03e70842 Branch: refs/heads/0.12.x Commit: 03e7084230db162e31e20247e54aa427121a0203 Parents: e404295 Author: cloudnull <[email protected]> Authored: Thu Jun 13 16:47:59 2013 -0500 Committer: Tomaz Muraus <[email protected]> Committed: Fri Jun 14 21:34:15 2013 -0700 ---------------------------------------------------------------------- libcloud/compute/base.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/libcloud/blob/03e70842/libcloud/compute/base.py ---------------------------------------------------------------------- diff --git a/libcloud/compute/base.py b/libcloud/compute/base.py index c271479..829ec37 100644 --- a/libcloud/compute/base.py +++ b/libcloud/compute/base.py @@ -658,7 +658,8 @@ class NodeDriver(BaseDriver): try: node, ip_addresses = self.wait_until_running( nodes=[node], - wait_period=3, timeout=NODE_ONLINE_WAIT_TIMEOUT, + wait_period=3, + timeout=kwargs.get('timeout', NODE_ONLINE_WAIT_TIMEOUT), ssh_interface=ssh_interface)[0] except Exception: e = sys.exc_info()[1]
