Hi All,

   Attach a volume when creating a server, the API contains
'block_device_mapping', such as:
"block_device_mapping": [
            {
                "volume_id": "<VOLUME_ID>",
                "device_name": "/dev/vdc",
                "delete_on_termination": "true"
            }
]

It allows the option 'delete_on_termination', but in the code it's
hardcoded to True. Why?

    Another situation, attach a volume to an exists server, there is
not the option 'delete_on_termination'.

  Should we add the 'delete_on_termination' when attach a volume to an
exists server or modify the value from the params?


  See also:
https://blueprints.launchpad.net/nova/+spec/add-delete-on-termination-option


Best regards!

_______________________________________________
OpenStack-dev mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to