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

fix: move creating logic of job_events folder to run #425

Merged

Conversation

mnecas
Copy link
Contributor

@mnecas mnecas commented Mar 10, 2020

Hi,
we found an issue when trying to read events right after the playbook is executed it failed because could not find the job_events folder.

It failed on this line https://github.com/ansible/ansible-runner-service/blob/master/runner_service/services/jobs.py#L181
Error:

Mar 10 12:15:39 user gunicorn-3[30567]:     _events = os.listdir(event_dir)
Mar 10 12:15:39 user gunicorn-3[30567]: FileNotFoundError: [Errno 2] No such file or directory: '/home/user/ovirt-engine-master/share/ovirt-engine/ansible-runner-service-project/artifacts/175b5662-62b8-11ea-af39-144f8a9f8bed/job_events'

@matburt matburt added the gate label Mar 10, 2020
@ansible-zuul ansible-zuul bot merged commit e40d9e8 into ansible:devel Mar 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants