"TypeError: string indices must be integers" during 043 migration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
High
|
Visnusaran Murugan |
Bug Description
Migration scripts 037, 041, and 043 treat raw_template.
The bug will manifest itself with the following test in test_migrations.py:
def _pre_upgrade_
templ = '''{"HeatTempla
"foo" : { "Type" : "String", "NoEcho": "True" },
"bar" : { "Type" : "String", "NoEcho": "True", "Default": "abc" },
"blarg" : { "Type" : "String", "Default": "quux" }
}
}'''
temp = [dict(id=4, template=templ, files='{}')]
user_creds = utils.get_
user = [dict(id=5, username=
event = utils.get_
stack = utils.get_
stack_ids = ['967aaefb-
parameters = '{"parameters": {"foo": "test"}}'
data = [dict(id=ll_id, name='fruity',
for ll_id in stack_ids]
return data
Changed in heat: | |
importance: | Undecided → High |
milestone: | none → kilo-2 |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-2 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/137223
Review: https:/