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.
Reviewed: https:/ /review. opendev. org/742751 /git.openstack. org/cgit/ openstack/ paunch/ commit/ ?id=e13226d4cf2 79071a07d7196c3 e631d004031a1b
Committed: https:/
Submitter: Zuul
Branch: stable/queens
commit e13226d4cf27907 1a07d7196c3e631 d004031a1b
Author: Emilien Macchi <email address hidden>
Date: Thu Jul 23 17:04:14 2020 -0400
[queens-only] Improve volume validation (unclean backport)
Manually backport I9a55698b04dc2c 5f01d776c6bdc2f 26d47baf803.
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: Id42eb9d5508656 82078781a04f961 c13bfbcde78
Closes-Bug: #1843734