[tahoe-lafs-trac-stream] [tahoe-lafs] #1724: S3 backend: /storage page gives AttributeError: 'NoneType' object has no attribute 'get_state'
tahoe-lafs
trac at tahoe-lafs.org
Sat Apr 28 21:15:05 UTC 2012
#1724: S3 backend: /storage page gives AttributeError: 'NoneType' object has no
attribute 'get_state'
-----------------------------------------+--------------------------------
Reporter: davidsarah | Owner:
Type: defect | Status: new
Priority: minor | Milestone: undecided
Component: code-storage | Version: 1.9.0-s3branch
Keywords: s3-backend lae crawlers wui | Launchpad Bug:
-----------------------------------------+--------------------------------
The 'Storage Server' page ({{{/storage}}}) of a node running the S3
backend gives a nevow traceback with the following exception:
{{{
/home/customer/LAFS_source/src/allmydata/web/storage.py, line 90 in
data_last_complete_bucket_count
88
89 def data_last_complete_bucket_count(self, ctx, data):
90 s = self.storage.bucket_counter.get_state()
91 count = s.get("last-complete-bucket-count")
<type 'exceptions.AttributeError'>: 'NoneType' object has no attribute
'get_state'
}}}
This happens because the S3 backend doesn't support crawlers, so it
doesn't initialize the bucket_counter state. This doesn't affect the LAE
servers because they don't run a web interface, but it should be fixed in
order to merge the S3 backend.
--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/1724>
tahoe-lafs <https://tahoe-lafs.org>
secure decentralized storage
More information about the tahoe-lafs-trac-stream
mailing list