Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Block Device Mapping using compute api to create a server reqires UUID

I pass the following to map a block device during a create api call but get an error saying the UUID is missing.

    "block_device_mapping_v2":[
         {"boot_index":0,
          "delete_on_termination":false,
          "volume_size":25,
          "source_type":"image",
          "image_id":"cd0b6b83-ccb1-42c3-86bd-09eeffa211aa",
          "destination_type":"volume"}
 ],

The UUID should be optional and the volume should be created according to the documentation