Review bugzilla2fedmsg SOP

Signed-off-by: Michal Konečný <mkonecny@redhat.com>
This commit is contained in:
Michal Konečný 2021-08-18 11:55:26 +02:00
parent dde315ecf5
commit 1621bd482d
2 changed files with 10 additions and 8 deletions

View file

@ -11,8 +11,8 @@
** xref:bastion-hosts-info.adoc[Fedora Bastion Hosts - SOP] ** xref:bastion-hosts-info.adoc[Fedora Bastion Hosts - SOP]
** xref:blockerbugs.adoc[Blockerbugs Infrastructure - SOP] ** xref:blockerbugs.adoc[Blockerbugs Infrastructure - SOP]
** xref:bodhi.adoc[Bodhi Infrastructure - SOP] ** xref:bodhi.adoc[Bodhi Infrastructure - SOP]
** xref:bugzilla2fedmsg.adoc[bugzilla2fedmsg - SOP in review ]
** xref:bugzilla.adoc[bugzilla - SOP in review ] ** xref:bugzilla.adoc[bugzilla - SOP in review ]
** xref:bugzilla2fedmsg.adoc[bugzilla2fedmsg - SOP]
** xref:collectd.adoc[collectd - SOP in review ] ** xref:collectd.adoc[collectd - SOP in review ]
** xref:compose-tracker.adoc[compose-tracker - SOP in review ] ** xref:compose-tracker.adoc[compose-tracker - SOP in review ]
** xref:contenthosting.adoc[contenthosting - SOP in review ] ** xref:contenthosting.adoc[contenthosting - SOP in review ]

View file

@ -3,6 +3,8 @@
Receive events from bugzilla over the RH "unified messagebus" and Receive events from bugzilla over the RH "unified messagebus" and
rebroadcast them over our own fedmsg bus. rebroadcast them over our own fedmsg bus.
Source code: https://github.com/fedora-infra/bugzilla2fedmsg
== Contact Information == Contact Information
Owner:: Owner::
@ -21,7 +23,6 @@ which receives events from bugzilla via the RH "unified messagebus" and
rebroadcasts them to our fedmsg bus. rebroadcasts them to our fedmsg bus.
[NOTE] [NOTE]
.Note
==== ====
Unlike _all_ of our other fedmsg services, this one runs as the Unlike _all_ of our other fedmsg services, this one runs as the
'moksha-hub' process and not as the 'fedmsg-hub'. 'moksha-hub' process and not as the 'fedmsg-hub'.
@ -30,7 +31,7 @@ Unlike _all_ of our other fedmsg services, this one runs as the
The bugzilla2fedmsg package provides a plugin to the moksha-hub that The bugzilla2fedmsg package provides a plugin to the moksha-hub that
connects out over the STOMP protocol to a 'fabric' of JBOSS activemq connects out over the STOMP protocol to a 'fabric' of JBOSS activemq
FUSE brokers living in the Red Hat DMZ. We authenticate with a cert/key FUSE brokers living in the Red Hat DMZ. We authenticate with a cert/key
pair that is kept in /etc/pki/fedmsg/. Those brokers should push pair that is kept in _/etc/pki/fedmsg/_. Those brokers should push
bugzilla events over STOMP to our moksha-hub daemon. When a message bugzilla events over STOMP to our moksha-hub daemon. When a message
arrives, we query bugzilla about the change to get some 'more arrives, we query bugzilla about the change to get some 'more
interesting' data to stuff in our payload, then we sign the message interesting' data to stuff in our payload, then we sign the message
@ -43,11 +44,12 @@ STOMP brokers and being able to query bugzilla.rh.com.
All managed by ansible, of course: All managed by ansible, of course:
____ ....
STOMP config: /etc/moksha/production.ini fedmsg config: /etc/fedmsg.d/ STOMP config: /etc/moksha/production.ini
certs: /etc/pki/fedmsg code: fedmsg config: /etc/fedmsg.d/
/usr/lib/python2.7/site-packages/bugzilla2fedmsg.py certs: /etc/pki/fedmsg
____ code: /usr/lib/python2.7/site-packages/bugzilla2fedmsg.py
....
== Useful Commands == Useful Commands