db json errors after icehouse juno upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Steve Baker | ||
Juno |
Fix Released
|
High
|
Steve Baker |
Bug Description
from Don Waterloo http://
After doing this upgrade (with a good chunk of data in the database that was created on icehouse), i'm running into a problem I'm wondering if anyone else has seen.
In particular, if i do a 'heat resource-list' on a stack that was created with icehouse, i get an error, which is below.
I'm not sure how to approach this, my assumption is there is some data in my database which is not formatted correctly, but 'which' data is the problem.
I turned on mysql logging, and all the queries function, so it is parsing something that comes back which is the problem. The below trace makes me thing some column is null or '' in the old, and is expected in the new.
Any suggestions as to where to look next?
File "/usr/lib/
return iter(self.
File "/usr/lib/
self.
File "/usr/lib/
for (name, data) in
File "/usr/lib/
resource = stack.db_
File "/usr/lib/
self.context, self.id)
File "/usr/lib/
return IMPL.resource_
File "/usr/lib/
options(
File "/usr/lib/
return list(self)
File "/usr/lib/
rows = [process[0](row, None) for row in fetch]
File "/usr/lib/
populate_
File "/usr/lib/
populator(
File "/usr/lib/
dict_[key] = row[col]
File "/usr/lib/
return process_
File "/usr/lib/
return loads(value)
File "/usr/lib/
return _default_
File "/usr/lib/
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
TypeError: expected string or buffer
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-1 → 2015.1.0 |
tags: |
added: in-stable-juno removed: juno-backport-potential |
Fix proposed to branch: master /review. openstack. org/129750
Review: https:/