-
-
Notifications
You must be signed in to change notification settings - Fork 148
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
Failed to set execute bit on remote files #389
Comments
Seems like problem with mounting by podman. Is it possible to catch this with |
I haven't been able to reproduce it so far with verbose mode enabled in 50 builds. Here is a successful log if it helps. I will keep trying, but it looks to be a race condition which probability is lowered by the verbose mode. |
This is not necessary since all commands in container are executed as the default user which is root alread. This should also fix this issue: containers/ansible-podman-collections#389 Since the code in ansible is hit only when become is used.
This is not necessary since all commands in container are executed as the default user which is root already. This should also fix this issue: containers/ansible-podman-collections#389 Since the code in ansible is hit only when become is used.
This is not necessary since all commands in container are executed as the default user which is root already. This should also fix this issue: containers/ansible-podman-collections#389 Since the code in ansible is hit only when become is used.
Hmm, it now happened again even without using
|
Enable ansible debug output to workaround [1] until the issue is fixed. [1] containers/ansible-podman-collections#389
I managed to get a failure with ANSIBLE_DEBUG=1, log is attached Lookup |
Reply from ansible team:
|
Yeah, as expected. I'll look at connection optimization in scope of #382, maybe will help. |
I opened containers/podman#13613 since I think it might be an issue in podman itself. |
As I understand from the issue it should be solved by containers/podman@a1e2897 . I don't think we can do something, just to watch if it happens after a release. For today it's only in |
Hi @sshnaidm BTW: the failures are random on any different ansible playbook , and not related to specific one 20:02:53 changed: [bvt-baremetal-allinone-1] => (item=lldpad.service) [root@bvt-centralsite-centralsitemanager-0 cbis-admin (Active)]# ansible --version Any suggestions ? |
@kobigi I don't think I can help without additional details. Please open the new issue with all required info. |
Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)
/kind bug
Description
I get this error message when using the podman connection plugin
ansible_connection: podman
Steps to reproduce the issue:
It does not happen everytime, it also happens on different places and different hosts so I don't have any reproducer. I never got this error locally (so far) but it happens in Github Actions on the Ubuntu runner: https://github.com/SSSD/sssd-ci-containers/runs/5496701829?check_suite_focus=true#step:4:585
Describe the results you received:
Error "Failed to set execute bit on remote files"
Describe the results you expected:
No error.
Additional information you deem important (e.g. issue happens only occasionally):
Issue happens only occasionally.
Version of the
containers.podman
collection:Either git commit if installed from git:
git show --summary
Or version from
ansible-galaxy
if installed from galaxy:ansible-galaxy collection list | grep containers.podman
Output of
ansible --version
:Output of
podman version
:Output of
podman info --debug
:N/A
Package info (e.g. output of
rpm -q podman
orapt list podman
):Playbook you run with ansible (e.g. content of
playbook.yaml
):https://github.com/SSSD/sssd-ci-containers/blob/master/src/ansible/playbook_image_service.yml
Command line and output of ansible run with high verbosity
N/A
Please NOTE: if you submit a bug about idempotency, run the playbook with
--diff
option, like:ansible-playbook -i inventory --diff -vv playbook.yml
Additional environment details (AWS, VirtualBox, physical, etc.):
Github Actions ubuntu latest runner.
The text was updated successfully, but these errors were encountered: