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 over 1 year ago
- Project changed from openQA Project (public) to QA (public)
- Assignee set to dimstar
- Priority changed from Normal to High
- Target version set to future
Updated by dimstar over 1 year ago
- Assignee changed from dimstar to kraih
I'm pretty sure the change from apache to nginx is responsible here
Updated by okurz over 1 year ago
- Subject changed from URL listing TW snapshots (and the changes therein), has stopped working to [tools] URL listing TW snapshots (and the changes therein), has stopped working
- Priority changed from High to Urgent
- Target version changed from future to Ready
Updated by okurz over 1 year 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 over 1 year ago
- Related to action #129619: high response times on osd - simple limit of jobs running concurrently in openQA size:M added
Updated by okurz over 1 year ago
- Related to action #130327: openqa snapshot-changes is broken added
Updated by livdywan over 1 year 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 over 1 year 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 over 1 year 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 over 1 year 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.
Updated by okurz over 1 year ago
- Status changed from Feedback to Resolved
A new snapshot announcement email was sent about 40m ago. And DimStar stated it's fine the intermediate messages were never sent so I guess we are good here.