The resource sequence in raw_template table of heat DB is not consistent with the template file input while creating stack
Create a stack by a template file as follow:
heat_template_
description: create cinder volume
resources:
myres1:
type: OS::Cinder::Volume
properties:
name: vol1
size: 1
myres2:
type: OS::Cinder::Volume
properties:
name: vol2
size: 1
myres3:
type: OS::Cinder::Volume
properties:
name: vol3
size: 1
myres4:
type: OS::Cinder::Volume
properties:
name: vol4
size: 1
After creation complete, the template field of raw_template table is:
{"heat_
Apparently the resource sequence is different from the input template file.
The resource sequence in template file is myres1-
but in DB the sequence is changed to myres2-
I found out that the resource sequence of parsed template at heatclient is already changed before sending request to heat service,
and the template file content is parsed by yaml_loader.
Why yaml_loader doesn't parse the template file as it configured?
Is this a bug of yaml analyzer or it's just implemented like this?
Question information
- Language:
- English Edit question
- Status:
- Expired
- For:
- Ubuntu heat Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply: