yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #24423
[Bug 1388985] Re: Launch Stack doesn't apply parameters from environment file
The UI is relying on a call to heat to parse and validate the template file
https://github.com/openstack/horizon/blob/master/openstack_dashboard/dashboards/project/stacks/forms.py#L147
which maps through some additonal UI abstraction and python-heatclient to be the same call as
heat template-validate -f template.txt -e env.txt
which returns
{
"Description": "create a network",
"Parameters": {
"net_name": {
"Default": "defaultnet",
"Type": "String",
"NoEcho": "false",
"Description": "Name of private network to be created",
"Label": "net_name"
}
}
}
This seems like a bug in Heat to me. The -e parameter is ignored when
validating the template.
Thoughts from the heat team?
** Also affects: heat
Importance: Undecided
Status: New
--
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/1388985
Title:
Launch Stack doesn't apply parameters from environment file
Status in Orchestration API (Heat):
New
Status in OpenStack Dashboard (Horizon):
New
Bug description:
I'm using an environment file to pass a parameter into a simple heat
template and the parameter is not relfected in the Horizon UI nor the
created resource.
To recreate:
Project->Orchestration->Stacks->Launch Stack
Provde the template.txt and env.txt files I've attached. I used the "File" source option.
Click next.
I'd expect to see the net_name as "betternetname" from the env file, but instead "defaultnet" is displayed.
Continuing to launch, the network is named "defaultnet".
To manage notifications about this bug go to:
https://bugs.launchpad.net/heat/+bug/1388985/+subscriptions
References