SAIO probetests fail..

asked 2014-06-12 06:26:18 -0500

punxism gravatar image

HI, All

I am installing swift using SAIO on a single node. I refer http://docs.openstack.org/developer/swift/development_saio.html (http://docs.openstack.org/developer/s...) I am almost done.

But when I run step 14. ($HOME/swift/.probetests)

I met "test fails"

I am digging /var/log/swift/storage1.error. I found under logs.

Jun 12 19:54:58 openstack-ubuntu account-server: ERROR __call__ error with REPLICATE /sdc1/802/c8bcccab3ddbfdc34b08e9223f4f5178 : #012Traceback (most recent call last):#012  File "/home/openstack/swift/swift/account/server.py", line 285, in __call__#012    res = method(req)#012  File "/home/openstack/swift/swift/common/utils.py", line 2269, in wrapped#012    return func(*a, **kw)#012  File "/home/openstack/swift/swift/common/utils.py", line 875, in _timing_stats#012    resp = func(ctrl, *args, **kwargs)#012  File "/home/openstack/swift/swift/account/server.py", line 238, in REPLICATE#012    ret = self.replicator_rpc.dispatch(post_args, args)#012  File "/home/openstack/swift/swift/common/db_replicator.py", line 591, in dispatch#012    return self.complete_rsync(drive, db_file, args)#012  File "/home/openstack/swift/swift/common/db_replicator.py", line 665, in complete_rsync#012    broker.newid(args[0])#012  File "/home/openstack/swift/swift/common/db.py", line 404, in newid#012    with self.get() as conn:#012  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__#012    return self.gen.next()#012  File "/home/openstack/swift/swift/common/db.py", line 353, in get#012    self.possibly_quarantine(*sys.exc_info())#012  File "/home/openstack/swift/swift/common/db.py", line 351, in get#012    self.conn = get_db_connection(self.db_file, self.timeout)#012  File "/home/openstack/swift/swift/common/db.py", line 187, in get_db_connection#012    timeout=timeout)#012DatabaseConnectionError: DB connection error (/srv/1/node/sdc1/tmp/449e66a0-19be-468a-a5e8-09c55f9eaa01, 25):#012Traceback (most recent call last):#012  File "/home/openstack/swift/swift/common/db.py", line 168, in get_db_connection#012    factory=GreenDBConnection, timeout=timeout)#012  File "/home/openstack/swift/swift/common/db.py", line 103, in __init__#012    super(GreenDBConnection, self).__init__(database, 0, *args, **kwargs)`**#012OperationalError: unable to open database file#012`**

I am focused on #012OperationalError: unable to open the database file#012 message.

But I can`t find any database configuration on ( http://docs.openstack.org/developer/swift/development_saio.html (http://docs.openstack.org/developer/s...) ).

Where can I find database information about SAIO.

Thanks.

edit retag flag offensive close merge delete