Commit 571f343e by Matt Martz

Make sure to assign pyrax.cloudservers to cs. Fixes #8250

parent 4a8e0688
......@@ -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.')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment