#5714 Ambassadors membership verification is not updating
Closed: Fixed Opened by robyduck.

The ambassadors membership verification script is not updating since 2017/01/20.
https://fedoraproject.org/wiki/Ambassadors/MembershipService/Verification
The page says: "updating", while it would be probably better to display the old results if the script fails for some reason.


I ran this manually and it updated.

I think it might be timing out downloading data from fas.

@robert wrote the script. Perhaps he would have some ideas on making it better?

For one thing instead of fetching all users it could only fetch 'active' users, or it could fetch them by letter (ie, a, then b, etc)

I didn't write the script, I just fixed it (or tried to do so) in the past one or the other time. I don't recall the author's name, but https://git.fedorahosted.org/cgit/fama.git/membership-mwclient-0.3-prod.py was the initial location...where was this Git repository moved to?

I have no idea where upstream is now. ;(

We are just using the one we have in the infrastructure ansible repo.

If it was in FAmA git, it was probably either kital (jsimon) or herlo that wrote it.

Same situation again. Any ideas? Does the script run daily? Seems to me the last update was kevin's manual run, then there is something ongoing during the auto-run.

yes, the script runs daily.

The problem is that it tries to get a dict of all fas users then sort that out. Since the spam attacks last year we have a LOT of users. So, it's unable to download them all before hitting the timeout.

I have just bumped the timeout for now, so it should start working again (all be it slow).

We do need to re-write it to be smarter, but at least we don't have to do that right now.

:alarm_clock:

@kevin changed the status to Closed

Metadata