Add method to bulk delete keypairs

Bug #1281853 reported by James E. Blair
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Opinion
Wishlist
Unassigned
python-novaclient
Opinion
Wishlist
Unassigned

Bug Description

A user should be able to delete keypairs in bulk. I'm currently deleting about 100,000 of them and expect it to take about 13 hours.

Revision history for this message
Joe Gordon (jogo) wrote :

there are two ways to handle this, and I think we should do both:

* support deleting multiple keypairs in a single request (help get around rate limiting)
* add option to delete all keypairs

Revision history for this message
Sahid Orentino (sahid-ferdjaoui) wrote :

I have confirmed it and added it in wishlist because: currently the API does not handle delete by passing multiple keys in a single request and does not have an api to remove all keys. (in relation with the comment of Joe)

Changed in nova:
importance: Undecided → Wishlist
status: New → Confirmed
Revision history for this message
Sahid Orentino (sahid-ferdjaoui) wrote :

Joe, does this feature has to be in a bp or can we work on it by referencing this bug?

Changed in python-novaclient:
status: New → Confirmed
importance: Undecided → Wishlist
Revision history for this message
Sahid Orentino (sahid-ferdjaoui) wrote :

Because we have to update the API, the client needs as well to be updated so I have confirmed, and add the bug in wishlist.

Changed in nova:
assignee: nobody → sahid (sahid-ferdjaoui)
Changed in python-novaclient:
assignee: nobody → sahid (sahid-ferdjaoui)
Changed in python-novaclient:
assignee: sahid (sahid-ferdjaoui) → nobody
Changed in nova:
assignee: sahid (sahid-ferdjaoui) → nobody
jichenjc (jichenjc)
Changed in nova:
assignee: nobody → jichenjc (jichenjc)
Neetu Jain (nutshi)
Changed in python-novaclient:
assignee: nobody → Neetu Jain (nutshi)
Changed in nova:
assignee: jichenjc (jichenjc) → nobody
Changed in python-novaclient:
assignee: Neetu Jain (nutshi) → nobody
Revision history for this message
Markus Zoeller (markus_z) (mzoeller) wrote :

This wishlist bug has been open a year without any activity. I'm going to move it to "Opinion / Wishlist", which is an easily-obtainable queue of older requests that have come on.

In case you want to work on that, consider writing a blueprints [1] and spec [2]. I'll recommend to read [3] if not yet done. The effort to implement the requested feature is then driven only by the blueprint (and spec).

References:
[1] https://blueprints.launchpad.net/nova/
[2] https://github.com/openstack/nova-specs
[3] https://wiki.openstack.org/wiki/Blueprints

Changed in nova:
status: Confirmed → Opinion
Changed in python-novaclient:
status: Confirmed → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.