Skip to content

Objects appear in listings but GetObject returns NoSuchKey #217

Description

@dennisoderwald

We migrated a few hundred thousand objects into the gateway using rclone (source was a Jottacloud crypt remote). Since then, 1,225 of these objects are listed correctly but cannot be downloaded: ListObjects and HeadObject return proper metadata (name, size, mtime), GetObject fails with NoSuchKey.

Example:

    $ rclone ls s3:opencloud/03feda23-.../3c/08/4d/6b/-c0e7-4fb1-b4c9-6656a058ef82
      422589712 -c0e7-4fb1-b4c9-6656a058ef82

    $ rclone cat s3:opencloud/03feda23-.../3c/08/4d/6b/-c0e7-4fb1-b4c9-6656a058ef82
    ERROR: operation error S3: GetObject, https response error StatusCode: 404,
    RequestID: E0KSB9FY0BUKSQVF, NoSuchKey

So the metadata exists but there is no data body behind the key. Objects in the same directory with the same naming scheme download fine, so it's not a general problem with these paths (the leading "-" in the names was my first suspect, but healthy objects have that too).

I thought I'd open an issue, since I'm not quite sure where this problem originated.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions