mod_wsgi (pid=4194): Exception occurred processing WSGI script repo_wsgi.py & disk_wsgi.py

7 views
Skip to first unread message

Vaishali Dhakate

unread,
Feb 9, 2022, 12:20:37 AM2/9/22
to openxt
Dear Openxt Team,
I have repo sync my openxt dunfell build with all the changes related to the sync-client.
After installing this latest iso on the DELL machine, setting up the sync-client VM according to instructions, I am still not able to download the repo or get the ubuntu vm download to the disks.
I get this error on my sync-server on Redhat /etc/httpd/logs/sync_error_log file.The error I have with sync-client remains the same as before.  It is trying to download but no progress with the downloading.
[Tue Feb 08 11:43:13 2022] [error] request method GET
[Tue Feb 08 11:43:13 2022] [error] request method GET
[Tue Feb 08 11:43:14 2022] [error] device uuid 03692509-73e6-491a-b6bb-2c3a71dfc39f
[Tue Feb 08 11:43:14 2022] [error] request path /4d8d05b2-58ef-4a0e-9c98-ac4da294aff3.tar
[Tue Feb 08 11:43:14 2022] [error] repo uuid 4d8d05b2-58ef-4a0e-9c98-ac4da294aff3
[Tue Feb 08 11:43:14 2022] [error] file path /home/s/ota/ota.tar
[Tue Feb 08 11:43:14 2022] [error] file wrapper <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7ff56fdfc3f0>
[Tue Feb 08 11:43:14 2022] [error] [client 10.42.43.11] mod_wsgi (pid=6568): Exception occurred processing WSGI script '/usr/lib/python2.6/site-packages/sync_server/scripts/repo_wsgi.py'.
[Tue Feb 08 11:43:14 2022] [error] [client 10.42.43.11] Traceback (most recent call last):
[Tue Feb 08 11:43:14 2022] [error] [client 10.42.43.11]   File "/usr/lib/python2.6/site-packages/sync_server/scripts/repo_wsgi.py", line 45, in application
[Tue Feb 08 11:43:14 2022] [error] [client 10.42.43.11]     return serve_file(environ, start_response, file_path)
[Tue Feb 08 11:43:14 2022] [error] [client 10.42.43.11]   File "/usr/lib/python2.6/site-packages/sync_server/util.py", line 39, in serve_file
[Tue Feb 08 11:43:14 2022] [error] [client 10.42.43.11]     file_like = file(file_path, 'rb')
[Tue Feb 08 11:43:14 2022] [error] [client 10.42.43.11] IOError: [Errno 13] Permission denied: '/home/s/ota/ota.tar'
[Tue Feb 08 11:45:54 2022] [notice] caught SIGTERM, shutting down
[Tue Feb 08 11:45:54 2022] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Tue Feb 08 11:45:54 2022] [notice] Digest: generating secret for digest authentication ...
[Tue Feb 08 11:45:54 2022] [notice] Digest: done
[Tue Feb 08 11:45:54 2022] [notice] Apache/2.2.15 (Unix) mod_wsgi/3.2 Python/2.6.6 mod_ssl/2.2.15 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Tue Feb 08 11:46:19 2022] [error] request method GET
[Tue Feb 08 11:46:19 2022] [error] request method GET
[Tue Feb 08 11:46:20 2022] [error] device uuid 03692509-73e6-491a-b6bb-2c3a71dfc39f
[Tue Feb 08 11:46:20 2022] [error] request path /775f16bc-1f6b-44a1-be5d-11d190c1caf4.iso
[Tue Feb 08 11:46:20 2022] [error] disk uuid 775f16bc-1f6b-44a1-be5d-11d190c1caf4
[Tue Feb 08 11:46:20 2022] [error] file path /home/s/Downloads/ubuntu-20.04.3-desktop-amd64.iso
[Tue Feb 08 11:46:20 2022] [error] file wrapper <built-in method file_wrapper of mod_wsgi.Adapter object at 0x7f3be45303f0>
[Tue Feb 08 11:46:20 2022] [error] [client 10.42.43.11] mod_wsgi (pid=6937): Exception occurred processing WSGI script '/usr/lib/python2.6/site-packages/sync_server/scripts/disk_wsgi.py'.
[Tue Feb 08 11:46:20 2022] [error] [client 10.42.43.11] Traceback (most recent call last):
[Tue Feb 08 11:46:20 2022] [error] [client 10.42.43.11]   File "/usr/lib/python2.6/site-packages/sync_server/scripts/disk_wsgi.py", line 45, in application
[Tue Feb 08 11:46:20 2022] [error] [client 10.42.43.11]     return serve_file(environ, start_response, file_path)
[Tue Feb 08 11:46:20 2022] [error] [client 10.42.43.11]   File "/usr/lib/python2.6/site-packages/sync_server/util.py", line 39, in serve_file
[Tue Feb 08 11:46:20 2022] [error] [client 10.42.43.11]     file_like = file(file_path, 'rb')
[Tue Feb 08 11:46:20 2022] [error] [client 10.42.43.11] IOError: [Errno 13] Permission denied: '/home/s/Downloads/ubuntu-20.04.3-desktop-amd64.iso'
[Tue Feb 08 11:55:42 2022] [notice] caught SIGTERM, shutting down

I really appreciate your help and support with this.
Thanks and Regards,
Vaishali

Jason Andryuk

unread,
Feb 9, 2022, 10:09:13 AM2/9/22
to Vaishali Dhakate, openxt
On Wed, Feb 9, 2022 at 12:20 AM Vaishali Dhakate
<vaishali...@networkmarvels.com> wrote:
>
> Dear Openxt Team,
> I have repo sync my openxt dunfell build with all the changes related to the sync-client.
> After installing this latest iso on the DELL machine, setting up the sync-client VM according to instructions, I am still not able to download the repo or get the ubuntu vm download to the disks.
> I get this error on my sync-server on Redhat /etc/httpd/logs/sync_error_log file.The error I have with sync-client remains the same as before. It is trying to download but no progress with the downloading.

> [Tue Feb 08 11:43:14 2022] [error] [client 10.42.43.11] IOError: [Errno 13] Permission denied: '/home/s/ota/ota.tar'

> [Tue Feb 08 11:46:20 2022] [error] [client 10.42.43.11] IOError: [Errno 13] Permission denied: '/home/s/Downloads/ubuntu-20.04.3-desktop-amd64.iso'

You'll have to figure out how the permission is failing. You said Red
Hat, so maybe SELinux? Either move to /var/www/html and run
`restorecon -rvF`, or put into ~s/public_html and `setsebool -P
httpd_enable_homedirs true`. (Or just disable SELinux with
`setenforce 0`.) Of course it could be something else.

Regards,
Jason
Reply all
Reply to author
Forward
0 new messages