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

Template which should run all 2 minutes is stuck in waiting since updating to 2.9.75 #1999

Open
livdebus opened this issue May 7, 2024 · 8 comments
Assignees

Comments

@livdebus
Copy link

livdebus commented May 7, 2024

Since updating from 2.9.37 to 2.9.75 we have a template which is set to run all two minutes (via template cron settings */2 * * * *) getting stuck in status waiting. Only fix is to stop last waiting job and reboot. Happens every day and does not recover itself.

Other templates do run fine, even when the affected template is stuck. So it does only affect this template.

Anyone able to help?

image
image

@fiftin fiftin self-assigned this May 10, 2024
@ivibross
Copy link

Same here. This does happen in a synchronize pull task. @livdebus is this also the case for you?

@ivibross
Copy link

ivibross commented May 14, 2024

This is the debud log output of the stucking task:
TASK [Pull web files to semaphore] ********************************************* task path: /home/semaphore/repository_6_36/FileTransmit.yml:35 [DEPRECATION WARNING]: The connection's stdin object is deprecated. Call display.prompt_until(msg) instead. This feature will be removed in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. redirecting (type: modules) ansible.builtin.synchronize to ansible.posix.synchronize redirecting (type: action) ansible.builtin.synchronize to ansible.posix.synchronize redirecting (type: action) ansible.builtin.synchronize to ansible.posix.synchronize ESTABLISH LOCAL CONNECTION FOR USER: semaphore EXEC /bin/sh -c '( umask 77 && mkdir -p " echo /home/semaphore/.ansible/tmp/ansible-local-7673hkwayfsm "&& mkdir " echo /home/semaphore/.ansible/tmp/ansible-local-7673hkwayfsm/ansible-tmp-1715689337.1515107-8357-129744323250235 " && echo ansible-tmp-1715689337.1515107-8357-129744323250235=" echo /home/semaphore/.ansible/tmp/ansible-local-7673hkwayfsm/ansible-tmp-1715689337.1515107-8357-129744323250235 " ) && sleep 0' Using module file /home/semaphore/.ansible/collections/ansible_collections/ansible/posix/plugins/modules/synchronize.py PUT /home/semaphore/.ansible/tmp/ansible-local-7673hkwayfsm/tmpwx00atba TO /home/semaphore/.ansible/tmp/ansible-local-7673hkwayfsm/ansible-tmp-1715689337.1515107-8357-129744323250235/AnsiballZ_synchronize.py EXEC /bin/sh -c 'chmod u+x /home/semaphore/.ansible/tmp/ansible-local-7673hkwayfsm/ansible-tmp-1715689337.1515107-8357-129744323250235/ /home/semaphore/.ansible/tmp/ansible-local-7673hkwayfsm/ansible-tmp-1715689337.1515107-8357-129744323250235/AnsiballZ_synchronize.py && sleep 0' EXEC /bin/sh -c '/usr/bin/python3.11 /home/semaphore/.ansible/tmp/ansible-local-7673hkwayfsm/ansible-tmp-1715689337.1515107-8357-129744323250235/AnsiballZ_synchronize.py && sleep 0' Running playbook failed: signal: killed

The definition of the task is:
- name: Pull web files to semaphore
synchronize:
mode: pull
src: "{{ webpath }}/*"
dest: "/tmp/{{ inventory_hostname }}"

@livdebus
Copy link
Author

Same here. This does happen in a synchronize pull task. @livdebus is this also the case for you?

nope, it is a task which runs a powershell script on a windows host

@livdebus
Copy link
Author

but seems that duplicating the affected task did solve the issue for me, stable now since over 4 days

@fiftin
Copy link
Collaborator

fiftin commented May 23, 2024

Hi @tboerger can you reproduce this issue? I can't.

@fiftin
Copy link
Collaborator

fiftin commented May 23, 2024

@livdebus is the task works fine?

@tboerger
Copy link
Collaborator

Me neither

@livdebus
Copy link
Author

@livdebus is the task works fine?

yes still works fine since duplicating the affected task

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To triage
Development

No branches or pull requests

4 participants