We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding a volume in one suite's driver config adds it to all the suites that follow it in .kitchen.yml.
.kitchen.yml
Create the following .kitchen.yml in an empty directory and run kitchen create:
kitchen create
driver: name: dokken provisioner: name: dokken transport: name: dokken platforms: - name: alpine driver: image: alpine:latest suites: - name: suite1 - name: suite2 driver: volumes: - suite2_vol:/vol:rw - name: suite3 - name: suite4 driver: volumes: - suite4_vol:/vol:rw
suite1-alpine
suite2-alpine
suite2_vol
/vol
suite3-alpine
suite4-alpine
suite4_vol
Failed to complete #create action: [Duplicate mount point: /vol] on suite4-alpine
The text was updated successfully, but these errors were encountered:
Additional note: If I run the suites one at a time, they work as expected.
Sorry, something went wrong.
seeing similar behavior, have two suites defined, each with it's own volumes
- name: es7-node0 driver: hostname: es7-node0 ports: - 9270:9200 volumes: - /tmp/yum_cache_el7/0:/var/cache/yum - name: es7-node1 driver: hostname: es7-node1 ports: - 9271:9200 volumes: - /tmp/yum_cache_el7/1:/var/cache/yum
getting exception when running test / converge on both kitchen converge es7-node*
kitchen converge es7-node*
>>>>>> ------Exception------- >>>>>> Class: Kitchen::ActionFailed >>>>>> Message: 1 actions failed. >>>>>> Failed to complete #create action: [Duplicate mount point: /var/cache/yum ] on es7-node1-centos-76 >>>>>> ----------------------
No branches or pull requests
Summary
Adding a volume in one suite's driver config adds it to all the suites that follow it in
.kitchen.yml
.Versions
Reproducing
Create the following
.kitchen.yml
in an empty directory and runkitchen create
:Expected Results
kitchen create
executes successfullysuite1-alpine
container does not have any volumes mountedsuite2-alpine
container has the volumesuite2_vol
mounted at/vol
suite3-alpine
container does not have any volumes mountedsuite4-alpine
container has the volumesuite4_vol
mounted at/vol
Actual Results
kitchen create
fails with the error message:Failed to complete #create action: [Duplicate mount point: /vol] on suite4-alpine
suite1-alpine
container does not have any volumes mountedsuite2-alpine
container has the volumesuite2_vol
mounted at/vol
suite3-alpine
container has the volumesuite2_vol
mounted at/vol
suite4-alpine
container doees not existThe text was updated successfully, but these errors were encountered: