if a comma_delimited_list does not have a value or default you can't show the stack
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Fix Released
|
Medium
|
Angus Salkeld |
Bug Description
If i have the following parameter (note, no default) and I don't provide a value, I can't show the stack or even list stacks.
Tags: {type: comma_delimited
client error:
heat stack-list -n
ERROR: The server could not comply with the request since it is either malformed or otherwise incorrect.
engine error:
2015-02-23 21:16:26.025 ERROR oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
2015-02-23 21:16:26.025 TRACE oslo_messaging.
Note this is problematic as nested stacks parameter values are not always strictly validated anymore.
This is not a big problem, it's just the way CommaDelimitedList and Json 's value() method are implemented.
They are not done like the base Parameter class does it (raise UserParameterMi
Changed in heat: | |
importance: | Undecided → Medium |
assignee: | nobody → Angus Salkeld (asalkeld) |
milestone: | none → kilo-3 |
status: | New → Triaged |
tags: | added: juno-backport-potential |
Changed in heat: | |
status: | Fix Committed → Fix Released |
Changed in heat: | |
milestone: | kilo-3 → 2015.1.0 |
Fix proposed to branch: master /review. openstack. org/158545
Review: https:/