Ask Your Question
0

How to remove image with status=killed

asked 2013-09-24 03:15:41 -0500

s-rain gravatar image

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

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2013-09-24 10:45:19 -0500

gtt116 gravatar image

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 question236231@answers.launchpad.net

New question #236231 on Glance: https://answers.launchpad.net/glance/+question/236231 (https://answers.launchpad.net/glance/...)

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2013-09-24 03:15:41 -0500

Seen: 361 times

Last updated: Sep 24 '13