You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@libcloud.apache.org by "Wiktor Grochal (JIRA)" <ji...@apache.org> on 2017/07/10 12:36:00 UTC

[jira] [Created] (LIBCLOUD-929) Unable to delete floating ip

Wiktor Grochal created LIBCLOUD-929:
---------------------------------------

             Summary: Unable to delete floating ip
                 Key: LIBCLOUD-929
                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-929
             Project: Libcloud
          Issue Type: Bug
          Components: Compute
            Reporter: Wiktor Grochal


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.








--
This message was sent by Atlassian JIRA
(v6.4.14#64029)