You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is either a missing feature or a bug on my specific platform.
The relevant config works under kitchen-docker with the chef_zero provisioner, so if it's a missing feature it should either be added or documented as missing.
In my .kitchen.dokken.yml, I want to specify:
provisioner:
nodes_path: 'test/fixtures/nodes'
in order to load a fixture node object.
Under dokken as the driver and provisioner, I get this error:
-----> Converging <client-setup-ubuntu-1604>...
Creating kitchen sandbox in /home/sirosen/.dokken/kitchen_sandbox/e8f3b31dec-client-setup-ubuntu-1604
Preparing dna.json
Resolving cookbook dependencies with Berkshelf 5.6.4...
Removing non-cookbook files before transfer
Preparing nodes
>>>>>> ------Exception-------
>>>>>> Class: Kitchen::ActionFailed
>>>>>> Message: 1 actions failed.
>>>>>> Failed to complete #converge action: [Permission denied @ rb_sysopen - /home/sirosen/.dokken/kitchen_sandbox/e8f3b31dec-client-setup-ubuntu-1604/nodes/testnode.json] on client-setup-ubuntu-1604
>>>>>> ----------------------
>>>>>> Please see .kitchen/logs/kitchen.log for more details
>>>>>> Also try running `kitchen diagnose --all` for configuration
If I take a look at that directory, I can see that, indeed, permissions are not friendly:
This is either a missing feature or a bug on my specific platform.
The relevant config works under
kitchen-docker
with thechef_zero
provisioner, so if it's a missing feature it should either be added or documented as missing.In my
.kitchen.dokken.yml
, I want to specify:in order to load a fixture node object.
Under
dokken
as the driver and provisioner, I get this error:If I take a look at that directory, I can see that, indeed, permissions are not friendly:
I can manually
sudo chown sirosen:sirosen
that dir, and then it works tokitchen test
.This all works under
kitchen-docker
just fine.I'm running Debian 9 (stretch), with docker installed and configured to allow sudo-less access.
The text was updated successfully, but these errors were encountered: