NFS Backup driver doesn't remove empty directories on backup deletion

Bug #1982032 reported by Rajat Dhasmana
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
In Progress
Low
Rajat Dhasmana

Bug Description

Using cinder backup with NFS backend, everything works fine, except that when we delete a backup the actual "content" of the backup gets deleted but not the directory structure on the NFS share.

(overcloud) [stack@undercloud-0 ~]$ openstack volume backup list --long --all-projects -c Container -c ID
+--------------------------------------+
| ID | Container |
+--------------------------------------+
| <id> | 17/ae/<path> |
+--------------------------------------+

[backups]# ll
total 0
drwxr-xr-x. 3 root root 16 Feb 2 06:28 02
drwxr-xr-x. 3 root root 16 Feb 2 06:33 17
drwxr-xr-x. 3 root root 16 Feb 2 06:19 5a
drwxr-xr-x. 3 root root 16 Feb 2 06:20 e4
drwxr-xr-x. 3 root root 16 Feb 2 06:32 e6

The only available volume backup is <id> in directory 17/ae and the rest of the backups were deleted yet their corresponding directories are still present. There is no content in the deleted volume backup directories.

Tags: drivers nfs
summary: - NFS Backup doesn't remove empty backup directories on backup deletion
+ NFS Backup driver doesn't remove empty backup directories on backup
+ deletion
summary: - NFS Backup driver doesn't remove empty backup directories on backup
- deletion
+ NFS Backup driver doesn't remove empty directories on backup deletion
Changed in cinder:
status: New → In Progress
Revision history for this message
Rajat Dhasmana (whoami-rajat) wrote :
Changed in cinder:
assignee: nobody → Rajat Dhasmana (whoami-rajat)
Changed in cinder:
importance: Undecided → Low
Eric Harney (eharney)
tags: added: drivers nfs
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.