Unusable traceback during heat resource_type_show
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Sergey Kraynev |
Bug Description
If you have resource which references in environment file on not existing template you will get unrecognized error.
How to reproduce:
- delete or move file AWS_CloudWatch_
- try to execute command:
heat resource-type-show AWS::CloudWatch
or
heat resource-
you will get error:
ERROR: type object 'TemplateResource' has no attribute 'properties_schema'
Traceback (most recent call last):
File "/usr/local/
incoming.
File "/usr/local/
return self._do_
File "/usr/local/
result = getattr(endpoint, method)(ctxt, **new_args)
File "/usr/local/
return f(*args, **kwargs)
File "/opt/stack/
type_
File "/opt/stack/
schema = cls.properties_
AttributeError: type object 'TemplateResource' has no attribute 'properties_schema'
I think we should wrap it in some understandable error message.
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-1 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/135924
Review: https:/