You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Jed Smith (JIRA)" <ji...@apache.org> on 2010/11/02 15:06:27 UTC

[libcloud] [jira] Commented: (LIBCLOUD-62) EC2 interface missing keypair funtions: ImportKeyPair and DescribeKeyPair

    [ https://issues.apache.org/jira/browse/LIBCLOUD-62?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12927417#action_12927417 ] 

Jed Smith commented on LIBCLOUD-62:
-----------------------------------

======================================================================
ERROR: test_create_node (test.test_ec2.EC2APSETests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/test_ec2.py", line 41, in test_create_node
    self.assertEqual(node.id, 'i-2ba64342')
AttributeError: 'list' object has no attribute 'id'

======================================================================
ERROR: test_create_node_response (test.test_ec2.EC2APSETests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/__init__.py", line 185, in test_create_node_response
    image = self.driver.list_images()[0]
IndexError: list index out of range

======================================================================
ERROR: test_destroy_node_response (test.test_ec2.EC2APSETests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/__init__.py", line 193, in test_destroy_node_response
    node = self.driver.list_nodes()[0]
IndexError: list index out of range

======================================================================
ERROR: test_list_images (test.test_ec2.EC2APSETests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/test_ec2.py", line 74, in test_list_images
    image = images[0]
IndexError: list index out of range

======================================================================
ERROR: test_list_nodes (test.test_ec2.EC2APSETests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/test_ec2.py", line 44, in test_list_nodes
    node = self.driver.list_nodes()[0]
IndexError: list index out of range

======================================================================
ERROR: test_reboot_node_response (test.test_ec2.EC2APSETests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/__init__.py", line 199, in test_reboot_node_response
    node = self.driver.list_nodes()[0]
IndexError: list index out of range

======================================================================
ERROR: test_create_node (test.test_ec2.EC2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/test_ec2.py", line 41, in test_create_node
    self.assertEqual(node.id, 'i-2ba64342')
AttributeError: 'list' object has no attribute 'id'

======================================================================
ERROR: test_create_node_response (test.test_ec2.EC2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/__init__.py", line 185, in test_create_node_response
    image = self.driver.list_images()[0]
IndexError: list index out of range

======================================================================
ERROR: test_destroy_node_response (test.test_ec2.EC2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/__init__.py", line 193, in test_destroy_node_response
    node = self.driver.list_nodes()[0]
IndexError: list index out of range

======================================================================
ERROR: test_list_images (test.test_ec2.EC2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/test_ec2.py", line 74, in test_list_images
    image = images[0]
IndexError: list index out of range

======================================================================
ERROR: test_list_nodes (test.test_ec2.EC2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/test_ec2.py", line 44, in test_list_nodes
    node = self.driver.list_nodes()[0]
IndexError: list index out of range

======================================================================
ERROR: test_reboot_node_response (test.test_ec2.EC2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/__init__.py", line 199, in test_reboot_node_response
    node = self.driver.list_nodes()[0]
IndexError: list index out of range

======================================================================
FAIL: test_destroy_node (test.test_ec2.EC2APSETests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/test_ec2.py", line 55, in test_destroy_node
    self.assertTrue(ret)
AssertionError

======================================================================
FAIL: test_reboot_node (test.test_ec2.EC2APSETests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/test_ec2.py", line 50, in test_reboot_node
    self.assertTrue(ret)
AssertionError

======================================================================
FAIL: test_destroy_node (test.test_ec2.EC2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/test_ec2.py", line 55, in test_destroy_node
    self.assertTrue(ret)
AssertionError

======================================================================
FAIL: test_reboot_node (test.test_ec2.EC2Tests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/jsmith/Work/Linode/libcloud/test/test_ec2.py", line 50, in test_reboot_node
    self.assertTrue(ret)
AssertionError

----------------------------------------------------------------------
Ran 209 tests in 0.422s

FAILED (failures=4, errors=12)


> EC2 interface missing keypair funtions: ImportKeyPair and DescribeKeyPair
> -------------------------------------------------------------------------
>
>                 Key: LIBCLOUD-62
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-62
>             Project: Libcloud
>          Issue Type: New Feature
>          Components: Core
>    Affects Versions: 0.4.0
>            Reporter: Philip Schwartz
>            Priority: Minor
>             Fix For: 0.4.0
>
>         Attachments: new_keypair_actions.patch, new_keypair_actions_fixed_paths.patch
>
>
> The ec2 functions ImportKeyPair and DescribeKeyPair are not implemented and will be needed for deploy_node functionality for EC2
> REST api reference URLS:
> http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/index.html?ApiReference-query-ImportKeyPair.html
> http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeKeyPairs.html

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.