Bug 1923882
| Summary: | Deleting volume backup does not clear the corresponding directories when cinder-backp backend is NFS. | ||
|---|---|---|---|
| Product: | Red Hat OpenStack | Reporter: | Rohini Diwakar <rdiwakar> |
| Component: | openstack-cinder | Assignee: | Rajat Dhasmana <rdhasman> |
| Status: | ON_DEV --- | QA Contact: | Evelina Shames <eshames> |
| Severity: | medium | Docs Contact: | Andy Stillman <astillma> |
| Priority: | low | ||
| Version: | 13.0 (Queens) | CC: | alink, eharney, jobernar, ltoscano, rdhasman |
| Target Milestone: | z2 | Keywords: | Triaged, ZStream |
| Target Release: | 17.1 | Flags: | ifrangs:
needinfo?
(rdhasman) |
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Rohini Diwakar
2021-02-02 06:51:55 UTC
Greetings Rohini Diwakar, This is the expected behaviour. This happens because the backup service might reuse some sub-folders. Backup data and metadata will be written to the repository at unique paths that are a function of the backup ID. That path will be stored in the backup record service_metatdata so that it can be used to navigate to the backup data and metadata for restore and delete operations (thanks Tzach for the detailed explanation). Just another point in order to assess this fix: apart from the wasted inodes, does having the leftover empty directories around lead to any other issue? Luigi, Even if not on this specific case, left unchecked these empty folders may potentially cause problems, depending on NFS server/storage system's limits, it could affect other deployments/releases too. Reaching limits may cause: slow to no access, failure to backup/restore just when you need it most. Agreed low priority for sure, as we need a whole lot of empty folders before things may fail. And yep 13 EOL-ing soon means it might not be a good place to start fixing this. |