I am running into similar issue. It seems the if you use the UUID of an existing cinder volume and UUID of an existing instance using (cinder::Attachment), it is able to attach the volume with no issues.
example :
heat_template_version: 2013-05-23
description: server template for vMMSC
resources:
mylab_volume_attachment:
type: OS::Cinder::VolumeAttachment
properties:
volume_id: 65065128-98d4-41ae-8a46-3b07bc64b73f
instance_uuid: fae3c718-c031-4a2e-be8c-f876ef2479fd
But if I use Nova::Server and Cinder::Attachment and try to pass the cinder name and instance name via environmental file, it is expecting to create a new volume and new instance.
↧