Ask Your Question

Glance doesn't delete images completely and throws 'NotAuthenticated'

asked 2014-09-17 08:32:19 -0600

semyazz gravatar image

I've noticed that Glance sometimes has some weird difficulties during image upload and sometimes hangs on SAVING state.

There are errors in glance-api.log related to Failed to upload image and later Unable to kill image. Moreover when it happens and I'll manually delete an image e.g. Horizon and delete button, everything seems to be fine and I see a message box that the action was performed successfully, but... image is still there in glance's directory.

so it looks like it doesn't delete the file as it claims. Has anyone experienced similar issues? Moreover why there is NotAuthenticated: Authentication required exception and it happens only sometimes not all the time. I'm able to upload other images, but only in some random cases it looks like it's lost token? session? Maybe it's somehow related to the size (images are 10GB - 25GB), but I've successfully uploaded few huge images, so to me it's more like a random behavior than something really related to the size.

edit retag flag offensive close merge delete


Please avoid asking multiple questions in a single question! By 'hangs on SAVING state' do you mean its a temporary 'hang', and eventually, the image gets added and becomes 'active'? This would typically happen for large images (depending on your network speed).

unmesh-gurjar gravatar imageunmesh-gurjar ( 2014-09-19 03:29:22 -0600 )edit

Maybe i should use "stuck" instead of hang. It never becomes 'active'. All those questions are somehow related, so I don't know I should split it to two different questions.

semyazz gravatar imagesemyazz ( 2014-09-19 08:25:16 -0600 )edit

I have the same issues right now. I deleted some images in horizon and now i'm getting NotAuthenticated: Authentication required all the time. The glance-api.log also says Failed to upload image or Permission to write in /var/lib/glance/images/ denied

PatRock gravatar imagePatRock ( 2014-09-24 10:21:49 -0600 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-12-21 18:34:11 -0600

manashkin gravatar image
edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2014-09-17 08:32:19 -0600

Seen: 1,056 times

Last updated: Dec 21 '15