KeyError: 'storage_policy_index' in _really_merge_items swift/account/backend.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Object Storage (swift) |
Fix Released
|
Critical
|
clayg |
Bug Description
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/
Traceback (most recent call last):#012
File "/usr/lib/
res = method(req)#012
File "/usr/lib/
return func(*a, **kw)#012
File "/usr/lib/
resp = func(ctrl, *args, **kwargs)#012
File "/usr/lib/
ret = self.replicator
File "/usr/lib/
return getattr(self, op)(self.
File "/usr/lib/
broker.
File "/usr/lib/
_really_
File "/usr/lib/
rec[
description: | updated |
Changed in swift: | |
milestone: | none → 2.4.0 |
status: | Fix Committed → Fix Released |
This is the first time I encounter an SP-related schema migration failure. It worked so well that we, IIRC, never bothered with a tool for forced migrations. I would try to re-migrate step by step... e.g. 1.13->2.0, see if that helps. If that fails, it's the SQL wizardry turn, no other choice (unless someone has a tool already made).