boolean and json parameters in heat template do not appear in launch stack form
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
Medium
|
Miguel Grinberg |
Bug Description
It appears the heat template parser has some issues handling boolean and json parameters. Use the following steps to reproduce my problem:
1. Go to Stacks and click Launch Stack
2. Set Template Source to Direct Input
3. Paste the following template and then click next.
heat_template_
parameters:
str_param:
type: string
bool_param:
type: boolean
4. Note that the label of the second parameter is "str_param" instead of "bool_param", so both parameters have the same label.
5. Cancel and repeat the test, but now set the type of the second parameter to string:
heat_template_
parameters:
str_param:
type: string
bool_param:
type: string
6. Note that now the label of the second parameter displays correctly.
The same issue occurs with json parameters.
description: | updated |
Changed in horizon: | |
assignee: | nobody → Miguel Grinberg (miguelgrinberg) |
description: | updated |
description: | updated |
tags: | added: heat |
summary: |
- boolean parameters in heat template do not appear in launch stack form + boolean and json parameters in heat template do not appear in launch + stack form |
description: | updated |
Changed in horizon: | |
milestone: | none → kilo-1 |
status: | Fix Committed → Fix Released |
Changed in horizon: | |
milestone: | kilo-1 → 2015.1.0 |
It appears that the boolean parameter (bool_param) has an incorrect label. The form properly checking that the value entered is indeed boolean. This appears to be related to https:/ /bugs.launchpad .net/horizon/ +bug/1356011