Create SDGroup with no props raises error with traceback
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Peter Razumovsky |
Bug Description
When I create OS::Heat:
2016-05-26 12:06:47.899 ERROR heat.engine.stack [req-2cd6a092-
2016-05-26 12:06:47.899 TRACE heat.engine.stack Traceback (most recent call last):
2016-05-26 12:06:47.899 TRACE heat.engine.stack File "/opt/stack/
2016-05-26 12:06:47.899 TRACE heat.engine.stack result = res.validate()
2016-05-26 12:06:47.899 TRACE heat.engine.stack File "/opt/stack/
2016-05-26 12:06:47.899 TRACE heat.engine.stack self.validate_
2016-05-26 12:06:47.899 TRACE heat.engine.stack File "/opt/stack/
2016-05-26 12:06:47.899 TRACE heat.engine.stack if not self.get_size():
2016-05-26 12:06:47.899 TRACE heat.engine.stack File "/opt/stack/
2016-05-26 12:06:47.899 TRACE heat.engine.stack return len(self.
2016-05-26 12:06:47.899 TRACE heat.engine.stack TypeError: object of type 'NoneType' has no len()
2016-05-26 12:06:47.899 TRACE heat.engine.stack
2016-05-26 12:06:47.922 DEBUG oslo_messaging.
248) _process_incoming /usr/local/
2016-05-26 12:06:47.924 ERROR oslo_messaging.
2016-05-26 12:06:47.924 ERROR oslo_messaging.
line 329, in wrapped\n return func(self, ctx, *args, **kwargs)\n', ' File "/opt/stack/
mplate_id)\n', ' File "/opt/stack/
", line 147, in wrapper\n return f(*args, **kwargs)\n', ' File "/opt/stack/
nFailed: object of type 'NoneType' has no len()\n"]
Template
--------
heat_template_
resources:
test:
type: OS::Heat:
Changed in heat: | |
importance: | Undecided → Medium |
assignee: | nobody → Peter Razumovsky (prazumovsky) |
milestone: | none → newton-1 |
Changed in heat: | |
milestone: | newton-1 → newton-2 |
Fix proposed to branch: master /review. openstack. org/327006
Review: https:/