Support 'delete_on_termination' with mounts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
Triaged
|
Medium
|
Kien Nguyen |
Bug Description
Zun supports create/run containers with Cinder volume bind-mounts. In CLI, this is achieved by:
$ zun run --mount source=
or
$ zun run --mount size=<cinder_
The first command mount an existing cinder volume to the container. The second command create a cinder volume with specified size and mount it to container.
This bug proposes to add an option to control how to circulate the volume if the container is deleted. For example:
$ zun run --mount source=
$ zun run --mount size=<cinder_
If True, the cinder volume is deleted. If False, it is not deleted. The default should be False.
description: | updated |
Changed in zun: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in zun: | |
assignee: | nobody → Kien Nguyen (kiennt2609) |