Properties have to have only different names
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Low
|
Unassigned | ||
Pyyaml |
New
|
Unknown
|
Bug Description
Currently you could define template with resources, which have same names.
However as result you will get only second definition of this resource.
I think that it's incorrect behavior and should be caught during validation.
As example try next template:
heat_template_
resources:
compute_instance:
type: OS::Nova::Server
properties:
name: Hello1
key_name : heat_key
image : fedora-20.x86_64
flavor: m1.small
compute_instance:
type: OS::Nova::Server
properties:
name: hello2
key_name : heat_key
image : fedora-20.x86_64
flavor: m1.small
skr@devstack:~$ nova list
+------
| ID | Name | Status | Task State | Power State | Networks |
+------
| 58d389b0-
Also same validation should be added for parameters (https:/
Changed in heat: | |
assignee: | nobody → Sergey Kraynev (skraynev) |
description: | updated |
summary: |
- Properties should have different names + Properties have to have only different names |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in pyyaml: | |
status: | Unknown → New |
Changed in heat: | |
assignee: | Sergey Kraynev (skraynev) → jui chandwaskar (jui-136) |
status: | Triaged → In Progress |
Changed in heat: | |
status: | New → Triaged |
HI, jui chandwaskar. I tolerate, that somebody takes bug assigned on another person without any questions.... (but it is still roughly).
Another issues, that this can not be fixed normally without fix in pyyaml library (look bug above). So I don't see any reason, why you take it so fast.