[prev in list] [next in list] [prev in thread] [next in thread] 

List:       vdsm-devel
Subject:    =?utf-8?q?=5Bovirt-devel=5D?= workaround for host deploy failure (get_events)
From:       Dana Elfassy <delfassy () redhat ! com>
Date:       2020-03-23 12:44:09
Message-ID: CANbLCejAmcGHh5f6Jn8sLyjMUzj1uowWjM=6A20H4Zw=MbJkUA () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,
Incase you face an error during host deploy, and see these messages in the
journal:
gunicorn-3[30567]: File
"/usr/lib/python3.6/site-packages/runner_service/services/jobs.py", line
181, in get_events
gunicorn-3[30567]: _events = os.listdir(event_dir) gunicorn-3[30567]:
FileNotFoundError: [Errno 2] No such file or directory:
'/.../share/ovirt-engine/ansible-runner-service-project/artifacts/175b5662-62b8-11ea-af39-144f8a9f8bed/job_events'


'Till Martin's fix is released, please execute the following steps:
1. sudo vi /usr/lib/python3.6/site-packages/ansible_runner/runner.py
2. edit the file with these changes:
https://github.com/ansible/ansible-runner/pull/425/files
3. sudo systemctl restart ansible-runner-service

Thanks,
Dana


[Attachment #5 (text/html)]

<div dir="ltr"><div>Hi,<br></div><div>Incase you face an error during host deploy, \
and see these messages in the journal:</div><div><span \
style="color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;white-space:pre-wrap;background-color:rgb(248,249,250)">gunicorn-3[30567]: \
File &quot;/usr/lib/python3.6/site-packages/runner_service/services/jobs.py&quot;, \
line 181, in get_events</span><br></div><span \
style="color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;white-space:pre-wrap;background-color:rgb(248,249,250)">gunicorn-3[30567]: \
_events = os.listdir(event_dir) gunicorn-3[30567]: FileNotFoundError: [Errno 2] No \
such file or directory: \
&#39;/.../share/ovirt-engine/ansible-runner-service-project/artifacts/175b5662-62b8-11ea-af39-144f8a9f8bed/job_events&#39;</span><br><div><br></div><div>&#39;Till \
Martin&#39;s fix is released, please execute the following steps:</div><div>1. sudo \
vi  /usr/lib/python3.6/site-packages/ansible_runner/runner.py</div><div>2. edit the \
file with these changes:  <a \
href="https://github.com/ansible/ansible-runner/pull/425/files">https://github.com/ansible/ansible-runner/pull/425/files</a></div><div>3. \
sudo systemctl restart \
ansible-runner-service</div><div><br></div><div>Thanks,</div><div>Dana</div><div><br></div></div>



[Attachment #6 (text/plain)]

_______________________________________________
Devel mailing list -- devel@ovirt.org
To unsubscribe send an email to devel-leave@ovirt.org
Privacy Statement: https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct: https://www.ovirt.org/community/about/community-guidelines/
List Archives: https://lists.ovirt.org/archives/list/devel@ovirt.org/message/MXPFVUAVE6UYOYRHNLKIUQG54DPNPJ2D/




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic