Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/visual-studio-2012/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Yaml 在Openstack热块设备映射中使用卷名而不是卷ID_Yaml_Cloud_Openstack_Orchestration_Heat - Fatal编程技术网

Yaml 在Openstack热块设备映射中使用卷名而不是卷ID

Yaml 在Openstack热块设备映射中使用卷名而不是卷ID,yaml,cloud,openstack,orchestration,heat,Yaml,Cloud,Openstack,Orchestration,Heat,块设备映射模块可用于将存储连接到实例。我的要求是使用heat模板将现有的可引导煤渣卷附加到实例。以下语法有效 block_device_mapping: - device_name: vda delete_on_termination: false volume_id : "591aba58-ea89-4982-9adf-a65556351e74" 但是,是否有任何方法可以使用卷的名称而不是卷UUID OpenStack只支持卷id。此外,UUID与卷名相比

块设备映射模块可用于将存储连接到实例。我的要求是使用heat模板将现有的可引导煤渣卷附加到实例。以下语法有效

  block_device_mapping:
    - device_name: vda
      delete_on_termination: false
      volume_id : "591aba58-ea89-4982-9adf-a65556351e74"

但是,是否有任何方法可以使用卷的名称而不是卷UUID

OpenStack只支持卷id。此外,UUID与卷名相比总是唯一的。OpenStack只支持卷id。此外,UUID与卷名相比总是唯一的。