How to remove image with status=killed

Asked by smallma on 2013-09-24

Hi all,
I upload image to glance with swift backend and failed. so glance should delete image, but delete image failed while keystone authentication not works. The image is still in swift. How do I remove this image by glance command or glance daemon? Thanks.

BR,
Rain

Question information

Language:
English Edit question
Status:
Answered
For:
Glance Edit question
Assignee:
No assignee Edit question
Last query:
2013-09-24
Last reply:
2013-09-24
Tiantian Gao (gtt116) said : #1

Hi smallma,

You can get the image url of swift from mysql.

$ mysql
use glance;
select id, location from images where id=$uuid; # $uuid the the id of image.

the location is the url of swift. Then you can delete it by using swift cli.

Hoping help you.
cheers,
gtt

2013/9/24 smallma <email address hidden>

> New question #236231 on Glance:
> https://answers.launchpad.net/glance/+question/236231
>
> Hi all,
> I upload image to glance with swift backend and delete it, but glance
> delete image failed while keystone suddenly failed. The image is still in
> swift. How do I remove this image by glance command or glance daemon?
> Thanks.
>
>
> BR,
> Rain
>
> --
> You received this question notification because you are an answer
> contact for Glance.
>

--
Best regards,
gtt

Can you help with this problem?

Provide an answer of your own, or ask smallma for more information if necessary.

To post a message you must log in.