#9001 Port dist-git to fedora-messaging
Closed: Fixed by pingou. Opened by pingou.

Describe what you would like us to do:


Currently dist-git is no longer sending notifications when someone uploads a new tarball to the lookaside cache because upstream currently only supports fedmsg and we no longer run fedmsg on rhel8/iad2.

We should port the dist-git project/package to fedora-messaging: https://github.com/release-engineering/dist-git

When do you need this to be done by? (YYYY/MM/DD)


ASAP


@nils if you have the time this may also be a good one to work on :)

Metadata Update from @pingou:
- Issue assigned to pingou

https://github.com/release-engineering/dist-git/pull/36

Merged upstream and released in 1.15 which has been submitted to epel8: https://bodhi.fedoraproject.org/updates/FEDORA-EPEL-2020-bca6ecc6f8

I'm going to upgrade it on pkgs01.iad2 and check logs and datagrepper for errors and messages :)

I've done this and while uploads are not affected, dist-git is not sending messages either.
I've had to hotfix the package to include https://github.com/release-engineering/dist-git/commit/d70acba29773cbbdaddba6413a8fd731ff2fa097 which were discovered when running it there.

There is still an issue that the code is raising fedora_messaging.exceptions.ConnectionException but we do not know why. I have checked the logs server side without seeing any clues there. I thought it could be related to the apache user not having access to the fedora-messaging keys, but I've used setfacl to give it access and sudo -u apache cat /path/to/key works fine, similarly the configuration file is world-readable so that shouldn't be the issue.

Aurélien is looking at updating fedora-messaging in epel8 in the hope that it will give us a better error message that will allow us to figure out what is going on.

In the mean time all ideas welcome to debug this :)

This ticket is over 9000!!!!

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

Fixed ! https://apps.fedoraproject.org/datagrepper/raw?topic=org.fedoraproject.prod.lookaside.new :)

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

Metadata