Project

General

Profile

Actions

action #130312

closed

[tools] URL listing TW snapshots (and the changes therein), has stopped working

Added by Jedibeeftrix 11 months ago. Updated 11 months ago.

Status:
Resolved
Priority:
Urgent
Assignee:
Target version:
Start date:
2023-06-03
Due date:
% Done:

0%

Estimated time:

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?


Related issues 3 (0 open3 closed)

Related to openQA Project - action #129490: high response times on osd - Try nginx on o3 with enabled load limiting or load balancing featuresResolvedkraih

Actions
Related to openQA Project - action #129619: high response times on osd - simple limit of jobs running concurrently in openQA size:MResolvedtinita2023-05-20

Actions
Related to QA - action #130327: openqa snapshot-changes is brokenRejectedokurz2023-06-04

Actions
Actions #1

Updated by okurz 11 months ago

  • Project changed from openQA Project to QA
  • Assignee set to dimstar
  • Priority changed from Normal to High
  • Target version set to future
Actions #2

Updated by dimstar 11 months ago

  • Assignee changed from dimstar to kraih

I'm pretty sure the change from apache to nginx is responsible here

Actions #3

Updated by okurz 11 months 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
Actions #4

Updated by okurz 11 months ago

  • Related to action #129490: high response times on osd - Try nginx on o3 with enabled load limiting or load balancing features added
Actions #5

Updated by okurz 11 months ago

  • Related to action #129619: high response times on osd - simple limit of jobs running concurrently in openQA size:M added
Actions #6

Updated by okurz 11 months ago

Actions #7

Updated by livdywan 11 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.

Actions #8

Updated by tinita 11 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.

Actions #9

Updated by dheidler 11 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

Actions #10

Updated by kraih 11 months ago

  • Status changed from New to Feedback
Actions #11

Updated by kraih 11 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.

Actions #12

Updated by okurz 11 months 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.

Actions

Also available in: Atom PDF