action #130312
closed[tools] URL listing TW snapshots (and the changes therein), has stopped working
0%
Description
https://openqa.opensuse.org/snapshot-changes/opensuse/Tumbleweed/
Is this due to an API change? In which case, is there a replacement URL providing the same service?
Updated by okurz 4 months ago
- Related to action #129490: high response times on osd - Try nginx on o3 with enabled load limiting or load balancing features added
Updated by okurz 4 months ago
- Related to action #129619: high response times on osd - simple limit of jobs running concurrently in openQA size:M added
Updated by okurz 4 months ago
- Related to action #130327: openqa snapshot-changes is broken added
Updated by livdywan 4 months ago
Can we please clarify what "stopped working" means? What I see here right now is this
Index of /snapshot-changes/opensuse/Tumbleweed/
../
20210101 02-Jan-2021 02:11 42305108
20210102 03-Jan-2021 09:18 41770321
20210103 04-Jan-2021 07:10 42392355
20210104 05-Jan-2021 02:39 42414165
with links like https://openqa.opensuse.org/snapshot-changes/opensuse/Tumbleweed/20210101 in the first column.
Updated by tinita 4 months ago
Yeah, somebody made it working again by adding that url to the nginx config tonight.
We just don't know who it was.
There are possibly more urls that need to be added, I see /factory-package-news
for example in the apache config.
I guess we can grep the access log for 404.
edit: correcting me, someone added the url to nginx, just in a wrong way. @kraih is looking now.
Updated by dheidler 4 months ago
Fixing this by moving from WSGIScriptAlias to gunicorn which required some changes to the flask application that serves this endpoint.
https://github.com/openSUSE/openSUSE-release-tools/pull/2966
Updated by kraih 4 months ago
New nginx config:
# Factory package news
# service: /etc/systemd/system/factory-package-news-web.service
# repo: https://github.com/openSUSE/openSUSE-release-tools/tree/master/factory-package-news
location /snapshot-changes/ {
proxy_pass http://127.0.0.1:29001;
proxy_http_version 1.1;
proxy_set_header Host $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}
Dominik's changes to the Python web service are already deployed to production.