Skip to content
New issue

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

docker_run returns no such file or directory - docker #886

Open
bmagistro opened this issue Jan 5, 2023 · 2 comments
Open

docker_run returns no such file or directory - docker #886

bmagistro opened this issue Jan 5, 2023 · 2 comments

Comments

@bmagistro
Copy link

Still working on root causing this. If I try to apply a manifest with docker::run included (fresh host build) it will error out with no such file or directory - docker. If I remove just this portion (docker::run) everything work as expected. I was expecting the relationships (https://github.com/puppetlabs/puppetlabs-docker/blob/main/manifests/init.pp#L635) to let this behave but have not generated a dependency/relation graph from puppet to review yet either.

Ideally one would be able to rebuild a host and not need to temporarily edit or remove a manifest to complete a rebuild.

CentOS 7.9/9.1
Puppet 6.28.0

@Hufschmidt
Copy link

Found the same issue with Puppet 7 and version 6.x of puppetlabs-docker.

@martijndegouw
Copy link

I think it's caused by this line in run.pp:

$detect_changes = Deferred('docker_params_changed', [$docker_params_changed_args])
which calls
stdout, _stderr, status = Open3.capture3("docker inspect #{opts['sanitised_title']}")
on the agent.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants