deletion of 0-sized active image
Hello. I'm usin OpenStack kilo. I've created 0-sized image by accident due to my error. I've missed that file I used for image creation was 0-sized. Image is in active state, so I can't use glance image-upload due to:
409 Conflict: Image status transition from active to saving is not allowed (HTTP 409)
Neither I can delete this image due to:
HTTPInternalSe
In my case glance uses radosgw as a backed, but I guess it is hardly relevant which backend is operated.
Image is just showing up in
glance image-show
# glance image-show a4c54116-
+------
| Property | Value |
+------
| checksum | d41d8cd98f00b20
| container_format | bare |
| created_at | 2016-02-
| disk_format | raw |
| id | a4c54116-
| min_disk | 0 |
| min_ram | 0 |
| name | wst |
| owner | 01e76893be8b41e
| protected | False |
| size | 0 |
| status | active |
| tags | [] |
| updated_at | 2016-02-
| virtual_size | None |
| visibility | public |
+------
So, the primary question:
How can I delete it?
Secondary question -- could it be considered a bug, when system creates image it can't operate further?
May that be advisable to create special commands in glanceclient which either can change state of image or can safely delete image entry in database as a whole?
thank you
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Glance Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: