← Back to team overview

openstack team mailing list archive

How to debug a Swift's "not found" error while downloading a file?

 

Hi all,

I'm receiving an error "not found" while trying to download a file
from a Swift container. This happens even if I can see that file when
listing the container's content.
I was wondering which is the best way to inspect the problem and
manually recover the file when this kind of things happen.

This is the command output:

gcivitella@arale:~/Lab/openstack/nova$ swift -V 2 -A
http://folsom.xxx.it:5000/v2.0 -U service:glance -K xxx list images
325f4900-649a-459f-b509-a08ad5bc95b3
83bd8ac7-48a1-4f1f-9695-0ad255d72132
8ab06434-5152-4563-b122-f293fd9af465
be44d07b-9a64-427b-9b27-3cad99ae8cda
c13018d6-46a2-4a6a-9df6-7976f8b44aaa
f3f64460-3486-49e1-8320-78abecd0c1b9

gcivitella@arale:~/Lab/openstack/nova$ swift -V 2 -A
http://folsom.xxx.it:5000/v2.0 -U service:glance -K xxx download
images 8ab06434-5152-4563-b122-f293fd9af465
Object 'images/8ab06434-5152-4563-b122-f293fd9af465' not found

Thanks a lot
Giuseppe


Follow ups