#6985 pagure-sync-bugzilla.py does not handle pagure.io outtages
Closed: Fixed 4 years ago by pingou. Opened 5 years ago by till.

  • Describe what you need us to do:

https://infrastructure.fedoraproject.org/cgit/ansible.git/tree/roles/distgit/pagure/templates/pagure-sync-bugzilla.py.j2#n540

only checks if getting the override file for a POC worked but it does not distinguish the file not being there (error 404) from other error conditions, e.g. when pagure.io is down or has a bug. IMHO it should handle these errors as well.

  • If we cannot complete your request, what is the impact?

Bugs might get wrongly assigned.


Metadata Update from @kevin:
- Issue priority set to: Waiting on Assignee (was: Needs Review)

5 years ago

This is not going to be achieved this week but I want to make the script less reliable on pagure in a way that either pagure is down and it can't start at all, or it's up and we're good.
The issue, it's up but if it comes down in the middle of a run with don't know what to do is really not ideal.

The script now runs twice a day, it still spend a lot of time querying the scm-requests repo for the overrides info. We're working on getting rid of this which is going to make the time it takes to query dist-git/pagure much much shorter and will reduce the issue.

The fact that it runs twice a day will also help recover faster if one run fails.

I am tempted to close this now. Thoughts?

Metadata Update from @pingou:
- Issue close_status updated to: Fixed
- Issue status updated to: Closed (was: Open)

4 years ago

Login to comment on this ticket.

Metadata