[CentOS-devel] Setting up fedmsg for centos
jchaloup at redhat.com
Mon Jun 1 13:53:47 UTC 2015
On 06/01/2015 03:28 PM, Karanbir Singh wrote:
> can we move this conversation to the centos-devel list please.
> - KB
> On 01/06/15 14:25, Jan Chaloupka wrote:
>> CentOS does not have any equivalent to fedmsg bus  at the moment.
>> What is it used for? Services (koji, pkgdb, ...) can send messages about
>> their state and result of tasks they run into the bus to notify other
>> service which can react accordingly. Thus creating a modular
>> infrastructure. E.g. koji send a message about finished build. Agent
>> read the message, trigger a jenkins job and run additional tests on the
>> build. Daily statistics about number of finished /failed builds can be
>> collected. Other application can have their own use cases. Example of
>> bus topology .  is another source of some info about fedora
>> What needs to be done to set up the bus? Basic demo and setup of fedmsg,
>> fedmsg-relay is at . First would be great to setup the bus for koji.
>> Koji runs on CentOS 6. fedpkg package is in epel6 repository . We
>> will be needing fedmsg-hub, fedmsg-relay, koji-hub and koji-plugin parts
>> in the topology at the moment . CentOS koji and Fedora koji are not
>> exacly the same but both APIs are compatible. So maybe take an
>> inspiration from Fedora's koji plugin. In order to set up bus and
>> clients, endpoints has to be set. Setting of endpoints is discussed at
>> . Context of endpoints is described at . Configuration files are
>> shared and must be the same on all machines using the bus. Bus messages
>> can be saved into database .
>> What we can start with?
>> 1) create an instance of centos/fedora for fedmsg to run
>> 2) create/reuse koji plugin (where it can be found?)
>> 3) set/implement koji plugin to send messages for fedmsg
>> What other application do you have in centos that could use fedmsg?
>> Once there is a running msg bus, instances set, etc., it will be easier
>> to debug and test.
>> Ralph, Pierre, what would be the optimal distribution of instances for
>> fedmsg? Is one instance of centos enough? What would be the best first
>> step to set up fedmsg? Where can I found koji-plugin, resp. its
This question is confusing. I supposed fedmsg is a master and all
services are slaves. However, as Pierre-Yves informed me there is no
master. fedmsg bus is decentralized and distributed among all services.
Thus thus the configuration distributed on each host.
>> This is only a discussion at the moment. Any other ideas are
>> appreciated. Other issues and problems will arise while configuring the
>> bus and koji.
>>  https://github.com/fedora-infra/fedmsg/
>>  http://koji.fedoraproject.org/koji/buildinfo?buildID=630367
>>  http://fedmsg.readthedocs.org/en/latest/deployment/
>>  http://fedmsg.readthedocs.org/en/latest/topology/
>>  https://fedoraproject.org/wiki/Messaging_SIG
>>  http://fedmsg.readthedocs.org/en/latest/config/#term-endpoints
>>  http://fedmsg.readthedocs.org/en/latest/deployment/#store-all-messages
>> Kind Regards
More information about the CentOS-devel