From 571f343e7d7dabae5ec82119a9dfae28fa0b51b3 Mon Sep 17 00:00:00 2001 From: Matt Martz Date: Mon, 28 Jul 2014 12:44:33 -0500 Subject: [PATCH] Make sure to assign pyrax.cloudservers to cs. Fixes #8250 --- library/cloud/rax_scaling_group | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/library/cloud/rax_scaling_group b/library/cloud/rax_scaling_group index 818c6089c89..2c635592b77 100644 --- a/library/cloud/rax_scaling_group +++ b/library/cloud/rax_scaling_group @@ -155,7 +155,8 @@ def rax_asg(module, cooldown=300, disk_config=None, files={}, flavor=None, au = pyrax.autoscale cnw = pyrax.cloud_networks - if not au or not cnw: + cs = pyrax.cloudservers + if not au or not cnw or not cs: module.fail_json(msg='Failed to instantiate clients. This ' 'typically indicates an invalid region or an ' 'incorrectly capitalized region name.')