Skip to content

Instantly share code, notes, and snippets.

@joshpasqualetto
Created February 24, 2012 22:37
Show Gist options
  • Save joshpasqualetto/033694668df53ba32b4d to your computer and use it in GitHub Desktop.
Save joshpasqualetto/033694668df53ba32b4d to your computer and use it in GitHub Desktop.
Feb 24 22:37:08 vm-10-128-46-3 container-server ERROR __call__ error with REPLICATE /vdc/61270/3bd5b4bc872bb6979b4d1e9915ea7b38 : #012Traceback (most recent call last):#012 File "/usr/lib/python2.6/dist-packages/swift/container/server.py", line 439, in __call__#012 res = getattr(self, req.method)(req)#012 File "/usr/lib/python2.6/dist-packages/swift/container/server.py", line 390, in REPLICATE#012 ret = self.replicator_rpc.dispatch(post_args, args)#012 File "/usr/lib/python2.6/dist-packages/swift/common/db_replicator.py", line 474, in dispatch#012 return self.complete_rsync(drive, db_file, args)#012 File "/usr/lib/python2.6/dist-packages/swift/common/db_replicator.py", line 548, in complete_rsync#012 broker.newid(args[0])#012 File "/usr/lib/python2.6/dist-packages/swift/common/db.py", line 355, in newid#012 with self.get() as conn:#012 File "/usr/lib/python2.6/contextlib.py", line 16, in __enter__#012 return self.gen.next()#012 File "/usr/lib/python2.6/dist-packages/swift/common/db.py", line 304, in get#012 self.possibly_quarantine(*sys.exc_info())#012 File "/usr/lib/python2.6/dist-packages/swift/common/db.py", line 302, in get#012 self.conn = get_db_connection(self.db_file, self.timeout)#012 File "/usr/lib/python2.6/dist-packages/swift/common/db.py", line 147, in get_db_connection#012 timeout=timeout)#012DatabaseConnectionError: DB connection error (/srv/node/vdc/tmp/ba5d4256-57f3-4536-bbac-cd2b5d1b5e78, 25):#012Traceback (most recent call last):#012 File "/usr/lib/python2.6/dist-packages/swift/common/db.py", line 129, in get_db_connection#012 factory=GreenDBConnection, timeout=timeout)#012 File "/usr/lib/python2.6/dist-packages/swift/common/db.py", line 68, in __init__#012 sqlite3.Connection.__init__(self, *args, **kwargs)#012OperationalError: unable to open database file
idcuser@vm-10-128-46-3:~$ ls -lah /etc/swift/
total 6.2M
drwxr-xr-x 5 swift swift 4.0K 2012-02-24 21:52 .
drwxr-xr-x 98 root root 4.0K 2012-02-24 22:28 ..
-rw-r--r-- 1 swift swift 1.8M 2012-02-24 22:26 account.builder
-rw-r--r-- 1 swift swift 290K 2012-02-24 22:26 account.ring.gz
drwxr-xr-x 2 swift swift 4.0K 2012-02-23 21:53 account-server
-rw-r--r-- 1 swift swift 207 2012-02-23 21:53 account-server.conf
-rw-r--r-- 1 swift swift 1.8M 2012-02-24 22:26 container.builder
-rw-r--r-- 1 swift swift 290K 2012-02-24 22:26 container.ring.gz
drwxr-xr-x 2 swift swift 4.0K 2012-02-23 21:53 container-server
-rw-r--r-- 1 swift swift 219 2012-02-23 21:53 container-server.conf
-rw-r--r-- 1 swift swift 1.8M 2012-02-24 22:26 object.builder
-rw-r--r-- 1 swift swift 290K 2012-02-24 22:26 object.ring.gz
drwxr-xr-x 2 swift swift 4.0K 2012-02-23 21:53 object-server
-rw-r--r-- 1 swift swift 336 2012-02-23 21:53 object-server.conf
-rw------- 1 swift swift 52 2012-02-23 21:53 swift.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment