yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #29361
[Bug 1383973] Re: image data cannot be removed when deleting a saving status image
*** This bug is a duplicate of bug 1398830 ***
https://bugs.launchpad.net/bugs/1398830
** Also affects: glance/icehouse
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1383973
Title:
image data cannot be removed when deleting a saving status image
Status in OpenStack Image Registry and Delivery Service (Glance):
Fix Committed
Status in Glance icehouse series:
New
Status in Glance juno series:
Fix Committed
Bug description:
The image data in /var/lib/glance/images/ cannot be removed when I
delete a image that status is saving.
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-41a5-4f7c-9448-694099a39bcf | image-v1 | raw | bare | 18 | saving |
+--------------------------------------+----------+-------------+------------------+------+--------+
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/glance/images
00ec3d8d-41a5-4f7c-9448-694099a39bcf
This problem exists in both v1 and v2 API.
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1383973/+subscriptions
References