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

Unable to delete floating ip

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • Compute
    • None
    • Important

    Description

      Actual version of libcloud doesn't allow for floating-ip deletion. Current method points to os-floating-ips which doeasnt make sense in this case.

      https://github.com/apache/libcloud/blob/cfe02ecaf1b8ee623795a0266a81aaec4cada763/libcloud/compute/drivers/openstack.py#L2345

      I made quick and dirty check with neutron API and it works when:
      base_url='************:9696/v2.0' - in driver call
      and:
      resp = self.connection.request('/floatingips/%s' % ip.id, method='DELETE') - in libcloud/libcloud/compute/drivers/openstack.py

      Is there any chance you could fix this? This issue forces us to tell clients to use our custom patch for libcloud.

      Attachments

        Activity

          People

            Unassigned Unassigned
            wgrochal Wiktor Grochal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: