Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-415

ex_delete_keypair() spits UnkownError in the ec2 driver

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 0.14.0-beta3
    • None
    • None
    • 0.14.0-beta2-tentative

    Description

      I have been testing list/add/delete keypairs using libcloud ec2 driver but I failed when I execute ex_delete_keypair().

      Here is the captured message:
      >>> conn.ex_delete_keypair('hrlee')
      Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
      File "//apache-libcloud/libcloud/compute/drivers/ec2.py", line 886, in ex_delete_keypair
      result = self.connection.request(self.path, params=params).object
      File "//apache-libcloud/libcloud/common/base.py", line 622, in request
      connection=self)
      File "//apache-libcloud/libcloud/common/base.py", line 93, in _init_
      raise Exception(self.parse_error())
      Exception: UnknownError: An unknown error has occurred. Please try your request again.

      It might be caused by my private cloud's fault settings but I just try to get some tips and comments from here first.

      Thank you.

      Attachments

        1. fix-delete-keypair.patch
          2 kB
          Oleg Suharev

        Activity

          People

            Unassigned Unassigned
            hrlee Hyungro Lee
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: