From 938d5f210ecd56f498c1b9ae753b05064b3178d2 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 --- cloud/rax_scaling_group | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cloud/rax_scaling_group b/cloud/rax_scaling_group index 818c6089c89..2c635592b77 100644 --- a/cloud/rax_scaling_group +++ b/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.')