image data cannot be removed when deleting a saving status image
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Committed
|
Critical
|
Zhi Yan Liu | ||
Icehouse |
Fix Committed
|
Undecided
|
Unassigned | ||
Juno |
Fix Committed
|
Undecided
|
Unassigned |
Bug Description
The image data in /var/lib/
1. create a image
glance image-create --name image-v1 --disk-format raw --container-format bare --file xx.image --is-public true
2. list the created image, the status is saving
[root@node2 ~]# glance image-list
+------
| ID | Name | Disk Format | Container Format | Size | Status |
+------
| 00ec3d8d-
+------
3. delete the created image
glance image-delete image-v1
4. the image has been deleted but the image data still exists
[root@node2 ~]# glance image-list
+----+-
| ID | Name | Disk Format | Container Format | Size | Status |
+----+-
+----+-
[root@node2 ~]# ls /var/lib/
00ec3d8d-
This problem exists in both v1 and v2 API.
information type: | Private Security → Public |
no longer affects: | ossa |
Changed in glance: | |
status: | New → Confirmed |
Changed in glance: | |
assignee: | nobody → Zhi Yan Liu (lzy-dev) |
I think it is normal, should be cache mgt.