On Friday, March 13, 2015 at 9:05:03 PM UTC-4, Nikolaus Rath wrote:
>
> On Mar 11 2015, Joseff Betancourt <[email protected] <javascript:>>
> wrote:
> > Seems I can't actually copy anything over now. I get an error in the
> > mount.log as follows. Thanks for any help with this.
> >
> > File "/root/s3ql-2.12/src/s3ql/backends/swift.py", line 372, in
> > open_read
> > meta = self._extractmeta(resp, key)
> > File "/root/s3ql-2.12/src/s3ql/backends/s3c.py", line 715, in _
> > extractmeta
> > raise RuntimeError('Unknown metadata format: %s' % format_)
> > RuntimeError: Unknown metadata format: raw2
>
> This means that some of the data that's stored in the bucket was written
> with S3QL 2.13, so it's in format that S3QL 2.12 cannot understand. This
> is presumably because of the upgrade that you started but then
> interrupted and tried to revert (I couldn't quite follow what exactly
> you did).
>
> Are you certain this happens when you *write* a file though? E.g. when
> you do "echo 'hello world' > /s3ql_mountpoint/a_new_file"?
>
> In any case, the easiest way to fix this is just to upgrade to S3QL
> 2.13.
>
> 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.«
>
Hello, I'm trying to upgrade the files on rackspace as I cannot get them to
even intiate in the local copy I downloaded. It's 450GB of images so tis
taking a while.
I just got to 33.2% of the upgrade and it died (repeated 3x).
Error given is Backend does not have anything stored under key
's3ql_data_580910'
full trace below:
2015-03-14 14:00:29.925 7297 MainThread root.excepthook: Uncaught top-level
exception:
Traceback (most recent call last):
File "/usr/lib/s3ql/s3ql/common.py", line 549, in wrapper
return fn(*a, **kw)
File "/usr/lib/s3ql/s3ql/adm.py", line 433, in update_obj_metadata
t.join_and_raise()
File "/usr/lib/s3ql/s3ql/common.py", line 503, in join_and_raise
raise EmbeddedException(exc_info, self.name)
s3ql.common.EmbeddedException: caused by an exception in thread Thread-1.
Original/inner traceback (most recent call last):
Traceback (most recent call last):
File "/usr/lib/s3ql/s3ql/backends/swift.py", line 306, in lookup
resp = self._do_request('HEAD', '/%s%s' % (self.prefix, key))
File "/usr/lib/s3ql/s3ql/backends/swift.py", line 249, in _do_request
raise HTTPError(resp.status, resp.reason, resp.headers)
s3ql.backends.s3c.HTTPError: 404 Not Found
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/s3ql/s3ql/common.py", line 482, in run
self.run_protected()
File "/usr/lib/s3ql/s3ql/common.py", line 533, in run_protected
self.target(*self.args, **self.kwargs)
File "/usr/lib/s3ql/s3ql/adm.py", line 464, in upgrade_loop
meta = plain_backend.lookup(obj_id)
File "/usr/lib/s3ql/s3ql/backends/common.py", line 52, in wrapped
return method(*a, **kw)
File "/usr/lib/s3ql/s3ql/backends/swift.py", line 310, in lookup
raise NoSuchObject(key)
s3ql.backends.common.NoSuchObject: Backend does not have anything stored
under key 's3ql_data_580910'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.4/contextlib.py", line 321, in __exit__
if cb(*exc_details):
File "/usr/lib/python3.4/contextlib.py", line 237, in _exit_wrapper
return cm_exit(cm, *exc_details)
File "/usr/lib/s3ql/s3ql/backends/common.py", line 211, in __exit__
self.close()
File "/usr/lib/s3ql/s3ql/backends/comprenc.py", line 329, in close
self.backend.close()
File "/usr/lib/s3ql/s3ql/backends/swift.py", line 501, in close
self.conn.disconnect()
File "/usr/local/lib/python3.4/dist-packages/dugong/__init__.py", line
1330, in disconnect
self._sock.close()
AttributeError: 'NoneType' object has no attribute 'close'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/bin/s3qladm", line 9, in <module>
load_entry_point('s3ql==2.13', 'console_scripts', 's3qladm')()
File "/usr/lib/s3ql/s3ql/adm.py", line 94, in main
return upgrade(options)
File "/usr/lib/s3ql/s3ql/common.py", line 549, in wrapper
return fn(*a, **kw)
File "/usr/lib/s3ql/s3ql/adm.py", line 339, in upgrade
update_obj_metadata(backend, backend_factory, db, options.threads)
File "/usr/lib/s3ql/s3ql/common.py", line 549, in wrapper
return fn(*a, **kw)
File "/usr/lib/python3.4/contextlib.py", line 336, in __exit__
raise exc_details[1]
File "/usr/lib/python3.4/contextlib.py", line 321, in __exit__
if cb(*exc_details):
File "/usr/lib/python3.4/contextlib.py", line 237, in _exit_wrapper
return cm_exit(cm, *exc_details)
File "/usr/lib/s3ql/s3ql/backends/common.py", line 211, in __exit__
self.close()
File "/usr/lib/s3ql/s3ql/backends/comprenc.py", line 329, in close
self.backend.close()
File "/usr/lib/s3ql/s3ql/backends/swift.py", line 501, in close
self.conn.disconnect()
File "/usr/local/lib/python3.4/dist-packages/dugong/__init__.py", line
1330, in disconnect
self._sock.close()
AttributeError: 'NoneType' object has no attribute 'close'
I'm not sure what to do next as it seems I've exhausted all my options. At
this point I'm just trying to get a readonly mount so I can copy the last
two weeks of files.
Is there a way I can sqladm upgrade from 2.12 to reset the version?
--
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.