Comment 0 for bug 1424108

Revision history for this message
Omar Ali (omarali) wrote :

I upgraded some servers in our swift cluster from 1.12.0 to 2.2.2. One of the upgraded servers started having the error below.

Feb 20 15:57:44 localhost account-server: ERROR __call__ error with REPLICATE /d3/729530/b21baafc5e8847fdcce40eed9e373474 : #012Traceback (most recent call last):#012 File "/usr/lib/python2.7/site-packages/swift/account/server.py", line 269, in __call__#012 res = method(req)#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 2480, in wrapped#012 return func(*a, **kw)#012 File "/usr/lib/python2.7/site-packages/swift/common/utils.py", line 1054, in _timing_stats#012 resp = func(ctrl, *args, **kwargs)#012 File "/usr/lib/python2.7/site-packages/swift/account/server.py", line 230, in REPLICATE#012 ret = self.replicator_rpc.dispatch(post_args, args)#012 File "/usr/lib/python2.7/site-packages/swift/common/db_replicator.py", line 615, in dispatch#012 return getattr(self, op)(self.broker_class(db_file), args)#012 File "/usr/lib/python2.7/site-packages/swift/common/db_replicator.py", line 707, in merge_items#012 broker.merge_items(args[0], args[1])#012 File "/usr/lib/python2.7/site-packages/swift/account/backend.py", line 522, in merge_items#012 _really_merge_items(conn)#012 File "/usr/lib/python2.7/site-packages/swift/account/backend.py", line 466, in _really_merge_items#012 rec['storage_policy_index']]#012KeyError: 'storage_policy_index'