Thanks Thomas,

It helped!

On Tue, Apr 25, 2017 at 4:59 AM, Tomas Kopecek <> wrote:
Dne 25.4.2017 v 02:11 Tengiz Dawkins napsal(a):
Hi all,

For the lack of koji-users@ list I dared to ask koji-devel@.

I am very new to koji and I setup a testing stack

Currently I am stuck at koji builder authentication. The validation user
vs host is not quite clear to me:

kojiHUB@root@/etc/kojid>/usr/sbin/kojid -f
Traceback (most recent call last):
  File "/usr/sbin/kojid", line 5140, in <module>
    main(options, session)
  File "/usr/sbin/kojid", line 97, in main
    tm = TaskManager(options, session)
  File "/usr/lib/python2.7/site-packages/koji/", line 480, in
    self.host_id =
  File "/usr/lib/python2.7/site-packages/koji/", line 1945,
in __call__
    return self.__func(self.__name, args, opts)
  File "/usr/lib/python2.7/site-packages/koji/", line 2381,
in _callMethod
    raise err
koji.AuthError: User 3 is not a host

Should user ever be a host?

I used --debug-xmlrpc but it doesn't give any useful info. Bumping up
the koji-hub debug level is not useful neither (KojiDebug=on).

Any pointers are appreciated.

The OS is  centos7, stock koji (i guess 1.11, but user agent claims it
is 1.7).

koji-devel mailing list --
To unsubscribe send an email to

users can be both - humans and machines (e.g. Jenkins instance triggering builds). Builder itself uses a non-human user for its authentication. Name of that user and client certificate is given in /etc/kojid/kojid.conf (user, cert, ca, serverca).

From message it seems, that user from the config was able to authenticate, but it is not set a user which corresponds to builder machine. In your tutorial it is in part 4 (those 'add-host' commands). Maybe our docs: will shed more light on it.

If you want to see, how working configuration/users works, checkout which is 'almost one-click' docker solution for simple koji instance. You can just build it and explore its configuration.


            Tomas Kopecek <>
            Release Engineering Development, RedHat
koji-devel mailing list --
To unsubscribe send an email to