yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #19426
[Bug 1360495] [NEW] boolean parameters in heat template do not appear in launch stack form
Public bug reported:
It appears the heat template parser has some issues handling boolean
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_version: 2013-05-23
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_version: 2013-05-23
parameters:
str_param:
type: string
bool_param:
type: string
6. Note that now the label of the second parameter displays correctly.
** Affects: horizon
Importance: Undecided
Assignee: Miguel Grinberg (miguelgrinberg)
Status: New
** Description changed:
- It appears the template parser has some issues handling boolean
+ It appears the heat template parser has some issues handling boolean
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_version: 2013-05-23
parameters:
- str_param:
- type: string
- bool_param:
- type: boolean
+ str_param:
+ type: string
+ bool_param:
+ type: boolean
4. Note that the second parameter on the bottom of the form is a repeated "str_param" instead of "bool_param".
5. Cancel and repeat the test, but now set the type of the second parameter to string:
heat_template_version: 2013-05-23
parameters:
- str_param:
- type: string
- bool_param:
- type: string
+ str_param:
+ type: string
+ bool_param:
+ type: string
6. Note that now the name of the second argument displays correctly.
** Changed in: horizon
Assignee: (unassigned) => Miguel Grinberg (miguelgrinberg)
** Description changed:
It appears the heat template parser has some issues handling boolean
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_version: 2013-05-23
parameters:
str_param:
type: string
bool_param:
type: boolean
4. Note that the second parameter on the bottom of the form is a repeated "str_param" instead of "bool_param".
5. Cancel and repeat the test, but now set the type of the second parameter to string:
heat_template_version: 2013-05-23
parameters:
str_param:
type: string
bool_param:
type: string
- 6. Note that now the name of the second argument displays correctly.
+ 6. Note that now the name of the second parameter displays correctly.
** Description changed:
It appears the heat template parser has some issues handling boolean
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_version: 2013-05-23
parameters:
str_param:
type: string
bool_param:
type: boolean
- 4. Note that the second parameter on the bottom of the form is a repeated "str_param" instead of "bool_param".
+ 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_version: 2013-05-23
parameters:
str_param:
type: string
bool_param:
type: string
- 6. Note that now the name of the second parameter displays correctly.
+ 6. Note that now the label of the second parameter displays correctly.
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1360495
Title:
boolean parameters in heat template do not appear in launch stack form
Status in OpenStack Dashboard (Horizon):
New
Bug description:
It appears the heat template parser has some issues handling boolean
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_version: 2013-05-23
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_version: 2013-05-23
parameters:
str_param:
type: string
bool_param:
type: string
6. Note that now the label of the second parameter displays correctly.
To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1360495/+subscriptions
Follow ups
References