Glance doesn't delete images completely and throws 'NotAuthenticated'
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.
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).
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.
I have the same issues right now. I deleted some images in horizon and now i'm getting
NotAuthenticated: Authentication required
all the time. Theglance-api.log
also saysFailed to upload image
orPermission to write in /var/lib/glance/images/ denied