From f3357099a738366a084928cc8abb47ca6cfb6a1a Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Sun, 3 Aug 2014 10:43:39 -0700 Subject: [PATCH] Pass region_name to nova_keypair Again, on things with regions, when we're configuring it, we should actually pass it in to the compute constructor. --- library/cloud/nova_keypair | 1 + 1 file changed, 1 insertion(+) diff --git a/library/cloud/nova_keypair b/library/cloud/nova_keypair index be2bbb1d93d..c7c9affb3e6 100644 --- a/library/cloud/nova_keypair +++ b/library/cloud/nova_keypair @@ -99,6 +99,7 @@ def main(): module.params['login_password'], module.params['login_tenant_name'], module.params['auth_url'], + region_name=module.params['region_name'], service_type='compute') try: nova.authenticate()