Hi all,
I'd like to use s3ql with a S3 compatible storage,
but it seems that mkfs.s3ql is offended because a file is missing
during the filesystem creation:
$ mkfs.s3ql --version
S3QL 2.24
[space@fedora26 .s3ql]$ mkfs.s3ql --debug --plain --force
s3c://cs2.cynnyspaces3.com:443/mybucket2/pre
2017-12-12 12:54:38.976 74849 DEBUG MainThread
s3ql.backends.common.get_ssl_context: Reading default CA certificates.
2017-12-12 12:54:39.013 74849 DEBUG MainThread
s3ql.backends.s3c._do_request: started with GET
/pres3ql_passphrase?None, qs=None
2017-12-12 12:54:39.014 74849 DEBUG MainThread
s3ql.backends.s3c._send_request: sending GET
/mybucket2/pres3ql_passphrase
2017-12-12 12:54:39.351 74849 ERROR MainThread root.excepthook:
Uncaught top-level exception:
Traceback (most recent call last):
File "/usr/bin/mkfs.s3ql", line 11, in <module>
load_entry_point('s3ql==2.24', 'console_scripts', 'mkfs.s3ql')()
File
"/usr/lib64/python3.6/site-packages/s3ql-2.24-py3.6-linux-x86_64.egg/s3ql/mkfs.py",
line 95, in main
plain_backend = get_backend(options, raw=True)
File
"/usr/lib64/python3.6/site-packages/s3ql-2.24-py3.6-linux-x86_64.egg/s3ql/common.py",
line 260, in get_backend
getattr(options, 'compress', ('lzma', 2)), raw)()
File
"/usr/lib64/python3.6/site-packages/s3ql-2.24-py3.6-linux-x86_64.egg/s3ql/common.py",
line 340, in get_backend_factory
backend.fetch('s3ql_passphrase')
File
"/usr/lib64/python3.6/site-packages/s3ql-2.24-py3.6-linux-x86_64.egg/s3ql/backends/common.py",
line 354, in fetch
return self.perform_read(do_read, key)
File
"/usr/lib64/python3.6/site-packages/s3ql-2.24-py3.6-linux-x86_64.egg/s3ql/backends/common.py",
line 108, in wrapped
return method(*a, **kw)
File
"/usr/lib64/python3.6/site-packages/s3ql-2.24-py3.6-linux-x86_64.egg/s3ql/backends/common.py",
line 317, in perform_read
fh = self.open_read(key)
File
"/usr/lib64/python3.6/site-packages/s3ql-2.24-py3.6-linux-x86_64.egg/s3ql/backends/common.py",
line 108, in wrapped
return method(*a, **kw)
File
"/usr/lib64/python3.6/site-packages/s3ql-2.24-py3.6-linux-x86_64.egg/s3ql/backends/s3c.py",
line 338, in open_read
resp = self._do_request('GET', '/%s%s' % (self.prefix, key))
File
"/usr/lib64/python3.6/site-packages/s3ql-2.24-py3.6-linux-x86_64.egg/s3ql/backends/s3c.py",
line 546, in _do_request
self._parse_error_response(resp)
File
"/usr/lib64/python3.6/site-packages/s3ql-2.24-py3.6-linux-x86_64.egg/s3ql/backends/s3c.py",
line 568, in _parse_error_response
raise HTTPError(resp.status, resp.reason, resp.headers)
s3ql.backends.s3c.HTTPError: 404 Not Found
from the code it seems an answer in range 200-299 is expected, but the
file doesn't exists, so the answer 404 seems fine to me (it is a GET
request)
--
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.