[
https://issues.apache.org/jira/browse/LIBCLOUD-330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13665650#comment-13665650
]
sebastien goasguen commented on LIBCLOUD-330:
---------------------------------------------
Here is a "patch:
>From 2e0ab5433e78fabd150263bdf0c11e43f21e9354 Mon Sep 17 00:00:00 2001
From: Sebastien Goasguen <[email protected]>
Date: Thu, 23 May 2013 16:44:15 -0400
Subject: [PATCH 2/2] LIBCLOUD-330: Fix empty extra_args dictionary in the
create_node()
---
libcloud/compute/drivers/cloudstack.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git libcloud/compute/drivers/cloudstack.py
libcloud/compute/drivers/cloudstack.py
index b64e6b8..feb59da 100644
--- libcloud/compute/drivers/cloudstack.py
+++ libcloud/compute/drivers/cloudstack.py
@@ -230,7 +230,7 @@ class CloudStackNodeDriver(CloudStackDriverMixIn,
NodeDriver):
@inherits: L{NodeDriver.create_node}
@rtype: L{CloudStackNode}
"""
- extra_args = {}
+ extra_args = kwargs
if location is None:
location = self.list_locations()[0]
--
1.8.1.3
> CloudStack driver does not take extra args in the deployVirtualMachine call
> ---------------------------------------------------------------------------
>
> Key: LIBCLOUD-330
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-330
> Project: Libcloud
> Issue Type: Bug
> Components: Compute
> Environment: latest libcloud trunk
> Reporter: sebastien goasguen
>
> the extra args in the create_node() is an empty dictionary, therefore things
> like keypairs cannot be passed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira