On Mar 14 2015, Arnaud Gauthier <[email protected]> wrote:
> Hello All,
>
> I am using s3ql on Ubuntu Server (14.04 LTS), installed from s3ql repo.
> My server is connected to an Hubic storage, and use a Swift connector
> provided by Hubic2swiftgate.
>
> Just retrieved these errors from the log:
>
> Mar 14 17:55:51 ks6 s3ql: Uncaught top-level exception:
> Mar 14 17:55:51 ks6 s3ql: Traceback (most recent call last):
> Mar 14 17:55:51 ks6 s3ql: File "/usr/lib/s3ql/s3ql/backends/swift.py",
> line 387, in delete
Please configure your mail client not to wrap the lines, this makes the
log very hard to read.
> Mar 14 17:55:51 ks6 s3ql: resp = self._do_request('DELETE', '/%s%s' %
> (self.prefix, key))
> Mar 14 17:55:51 ks6 s3ql: File "/usr/lib/s3ql/s3ql/backends/swift.py",
> line 251, in _do_request
> Mar 14 17:55:51 ks6 s3ql: raise HTTPError(resp.status, resp.reason,
> resp.headers)
> Mar 14 17:55:51 ks6 s3ql: s3ql.backends.s3c.HTTPError: 404 Not Found
>
[...]
> Any idea about this error ? Does the 404 error means there is no related
> object on the remote side ? Does this means my filesystem is corrupted
> ?
This means that S3QL has told the server to delete an object (that S3QL
assumes exists on the server), but the server responded with an error
claiming the object did not exist in the first place.
Corruption from this specific error itself is unlikely (after all, S3QL
wanted to delete the object anyway), but if the server doesn't have
objects that S3QL believes it should have, this can be problem.
I'd recommend an s3ql_verify run (in addition to fsck.s3ql) to ensure no
other objects are missing.
If no other objects are missing, my theory is that Hubic (or the swift
adaptor) is not immediately consistent, i.e. if you upload an object and
immediately try to delete it, the server may claim that it does not
exist. If that is the case, you'll have to deal with these errors or
switch to a different provider. S3QL doesn't support such server
behavior at the moment.
Best,
-Nikolaus
--
GPG encrypted emails preferred. Key id: 0xD113FCAC3C4E599F
Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F
»Time flies like an arrow, fruit flies like a Banana.«
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.