Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You have given both attachments the same name, so the last one over-rules the first. Try this:

  cinder_relhighiops_volume:                                                        
    type: OS::Cinder::Volume                                                        
    properties:                                                                     
      size: { get_param: volume_size }                                              
      availability_zone: { get_param: availability_zone }                           
      volume_type: relhighiops_type                                                 

  volume_attachment_relhighiops:                                                                
    type: OS::Cinder::VolumeAttachment                                              
    properties:                                                                     
      volume_id: { get_resource: cinder_relhighiops_volume }                        
      instance_uuid: { get_resource: my_instance }                                  

  cinder_highcap_volume:                                                            
    type: OS::Cinder::Volume                                                        
    properties:                                                                     
      size: { get_param: volume_size }                                              
      availability_zone: { get_param: availability_zone }                           
      volume_type: highcap_type                                                     

  volume_attachment_highcap:                                                                
    type: OS::Cinder::VolumeAttachment                                              
    properties:                                                                     
      volume_id: { get_resource: cinder_highcap_volume }                            
      instance_uuid: { get_resource: my_instance }