Unable to fetch attachments attribute of Cinder::Volume from SoftwareDeployment resource
Bug #1709279 reported by
Alexey Shchukin
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Medium
|
Rabi Mishra |
Bug Description
Steps to reproduce:
0. Replace network_id, subnet_id, image and flavor within template with values from your environment.
1. Create stack.
2. Check stack's outputs. The value of variable *bootstrap_stderr > server > volumes* should be '/dev/vd[a-z]', but we have 'None'.
The error appears only on CREATE stage. However, on UPDATE stage everything works as expected.
Environment:
- OpenStack Ocata (RDO)
- Cinder uses Ceph as a backend
- Image must include the following elements:
* os-collect-config
* os-refresh-config
* os-apply-config
* heat-config
* heat-config-script
Full template: http://
Logs: http://
Changed in heat: | |
status: | New → Triaged |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
To post a comment you must log in.
The issue here is attachments for 'server_volume' change after 'server_ volume_ attachment' resource is created.
SoftwareDeployment 'bootstrap' depends on only 'server_volume' with it's attributes used in properties of 'bootstrap'. So it does not wait for 'server_ volume_ attachment' to be created.
By changing the 'depends_on' for 'bootstrap' resource to depend on the 'server_ volume_ attachment' , I think you can fix this.
bootstrap: :SoftwareDeploy ment volume_ attachment
type: OS::Heat:
depends_on: server_
You don't have explicitly add 'depends_on' for 'bootstrap_script' in 'bootstrap'.