Add validation for duplicated mount point
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Zun |
In Progress
|
Low
|
Durga Malleswari Varanasi |
Bug Description
Description
===========
If users create two cinder volumes with the same mount point on the container, the container failed to create. We can do better by validating this case and failed earlier for duplicated mount points.
Reproduce
=========
$ zun run --mount size=1,
....
$ zun show 8eaa089d-
...
| status_reason | Docker internal error: 400 Client Error: Bad Request ("Duplicate mount point: /data"). ...
Expected
========
The first command (zun run ...) failed with 400 response
Actual
======
The first command succeeded. The container failed to create
Changed in zun: | |
importance: | Undecided → Low |
status: | New → Triaged |
Changed in zun: | |
assignee: | nobody → cooldharma06 (cooldharma06) |
Changed in zun: | |
assignee: | cooldharma06 (cooldharma06) → Durga Malleswari Varanasi (durga1) |
Fix proposed to branch: master /review. openstack. org/549299
Review: https:/