-
-
Notifications
You must be signed in to change notification settings - Fork 149
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
containers.podman.podman connection plugin does not work with podman 2 anymore #70
Comments
I think this is related to a change in the behaviour of Podman 2.0.1:
Podman 1.9.3:
This means this should fail on 1.9.3: ansible-podman-collections/plugins/connection/podman.py Lines 141 to 146 in d53539c
so the plugin falls back to using podman cp :ansible-podman-collections/plugins/connection/podman.py Lines 169 to 181 in d53539c
whereas on 2.0.1 it tries to use shutil.copyfile which fails because merged is empty:ansible-podman-collections/plugins/connection/podman.py Lines 183 to 187 in d53539c
Note I can get In case it's useful this is what's under the other container directories on 2.0.1:
|
For future reference, here is the debug output: working:
Previously not working but now it does: Thank you!
|
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
The podman connection plugin does not work anymore in non-root mode with Podam 2
Steps to reproduce the issue:
podman run --name c8 --rm --privileged -v /sys/fs/cgroup:/sys/fs/cgroup:ro docker.io/nmstate/centos8-nmstate-dev
ansible -i c8, -c containers.podman.podman -m setup all
Describe the results you received:
Describe the results you expected:
Successful Ansible command
Additional information you deem important (e.g. issue happens only occasionally):
Output of
ansible --version
:Output of
podman version
:Output of
podman info --debug
:Package info (e.g. output of
rpm -q podman
orapt list podman
):Command line and output of ansible run with high verbosity:
Additional environment details (AWS, VirtualBox, physical, etc.):
Downgrading to podman-2:1.8.2-2.fc32 fixes the problem.
The text was updated successfully, but these errors were encountered: