We need to support both a source filesystem location and container
volume for the volume mounts. This change adds the ability to validate
that the provided source container is a container volume. Additionally
aligns the validation between the docker/podman methods so they operate
in the same fashion.
Change-Id: I9a55698b04dc2c5f01d776c6bdc2f26d47baf803
Closes-Bug: #1843734
(cherry picked from commit 3ce8c1ad988872234225fb3d316375c0e8ebcb36)
Reviewed: https:/ /review. opendev. org/683386 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=50e5f4412ac 9e61c0359517497 154dcaf431a6f2
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 50e5f4412ac9e61 c0359517497154d caf431a6f2
Author: Alex Schultz <email address hidden>
Date: Fri Sep 13 13:12:30 2019 -0600
Improve volume validation
We need to support both a source filesystem location and container
volume for the volume mounts. This change adds the ability to validate
that the provided source container is a container volume. Additionally
aligns the validation between the docker/podman methods so they operate
in the same fashion.
Change-Id: I9a55698b04dc2c 5f01d776c6bdc2f 26d47baf803 34225fb3d316375 c0e8ebcb36)
Closes-Bug: #1843734
(cherry picked from commit 3ce8c1ad9888722