| Summary: | [RFE] [Neutron] Tenant resources cleanup with a single CLI/API call | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Nir Yechiel <nyechiel> |
| Component: | openstack-neutron | Assignee: | Assaf Muller <amuller> |
| Status: | CLOSED ERRATA | QA Contact: | Toni Freger <tfreger> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 8.0 (Liberty) | CC: | amuller, astafeye, chrisw, cshastri, jbuchta, jjoyce, jruzicka, jschluet, nlevinki, nyechiel, oblaut, rhosp-bugs-internal, srevivo, tfreger |
| Target Milestone: | ga | Keywords: | FutureFeature, Triaged |
| Target Release: | 9.0 (Mitaka) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | openstack-neutron-8.0.0-1.el7ost | Doc Type: | Enhancement |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-11 12:16:24 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 1339444 | ||
|
Description
Nir Yechiel
2016-04-10 15:18:17 UTC
The addition of the 'neutron purge' command allows cloud admins to conveniently delete multiple neutron resources associated with a given tenant. The command will delete all supported resources provided that they can be deleted (not in use, etc) and feedback the amount of each resource deleted to the user. A completion percentage is also given to keep the user informed of progress. Currently supports deletion of: *Networks *Subnets (implicitly) *Routers *Ports (including router interfaces) *Floating IPs *Security Groups *** Bug 1270836 has been marked as a duplicate of this bug. *** (In reply to Nir Yechiel from comment #2) > The addition of the 'neutron purge' command allows cloud admins to > conveniently delete multiple neutron resources associated with a given > tenant. > > The command will delete all supported resources provided that they can be > deleted (not in use, etc) and feedback the amount of each resource deleted > to the user. A completion percentage is also given to keep the user informed > of progress. > > Currently supports deletion of: > > *Networks > *Subnets (implicitly) > *Routers > *Ports (including router interfaces) > *Floating IPs > *Security Groups Hi Nir, Are the basic dependencies should prevent the command execution? For example- I cannot delete router (nor net/subnet) when we have ports attached to it. What is the expected behavior in this case? Tnx (In reply to Alexander Stafeyev from comment #5) > (In reply to Nir Yechiel from comment #2) > > The addition of the 'neutron purge' command allows cloud admins to > > conveniently delete multiple neutron resources associated with a given > > tenant. > > > > The command will delete all supported resources provided that they can be > > deleted (not in use, etc) and feedback the amount of each resource deleted > > to the user. A completion percentage is also given to keep the user informed > > of progress. > > > > Currently supports deletion of: > > > > *Networks > > *Subnets (implicitly) > > *Routers > > *Ports (including router interfaces) > > *Floating IPs > > *Security Groups > > Hi Nir, > > Are the basic dependencies should prevent the command execution? > For example- I cannot delete router (nor net/subnet) when we have ports > attached to it. What is the expected behavior in this case? > > Tnx The command will delete all supported resources provided that **they can be deleted (not in use)**. Also, A resource being in use by another tenant (for example, a shared network) can prevent it from being deleted. Please see http://docs.openstack.org/mitaka/networking-guide/misc-neutron-purge.html Ran on 2016-06-05 build - 2016-04-29.6 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHEA-2016-1597.html *** Bug 1426006 has been marked as a duplicate of this bug. *** *** Bug 1426450 has been marked as a duplicate of this bug. *** *** Bug 1431098 has been marked as a duplicate of this bug. *** |