Unrecognized error during validation and creation
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Undecided
|
Sergey Kraynev |
Bug Description
In JSON templates incorrect resource definition may be detected and correctly displayed:
Test template:
{
"HeatTemplate
"Resources": {
"Type": "OS::Neutron:
"Properties": {
"name": {"Ref": "foo"},
"network": "private"
}
}
}
skr@ubuntu:~$ heat template-validate -f test.template
ERROR: Resources must contain Resource. Found a [string] instead
Same should be done for hot templates. Currently it looks like:
Test template:
heat_template_
resources:
type: OS::Nova::Server
properties:
image: fedora-20.x86_64
flavor: m1.small
skr@ubuntu:~$ heat template-validate -f test.yaml
ERROR: 'unicode' object has no attribute 'iteritems'
description: | updated |
Changed in heat: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/119341
Review: https:/