YAML parser cuts duplicate resource names
Bug #1412498 reported by
Removed by request
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Medium
|
Sergey Kraynev |
Bug Description
If there is more then one resource with the same name, the YAML parser returns only one of those resources and Heat is left with only a single one.
This should at least be documented.
AFAIK this will be very hard to correctly validate, as by the time the yaml parser has processed the template, the duplicate key is gone (it uses the last of the dupes AFAICT), so Heat can't detect there was ever more than one node with the same key.
So documenting "don't do that" is probably the best we can do unless anyone has any other ideas.