[openstack-dev] [nova] Discuss the option delete_on_termination
黎林果
lilinguo8212 at gmail.com
Fri Jan 3 03:23:56 UTC 2014
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!
More information about the OpenStack-dev
mailing list