It usually happen when you launch a kojid instance before adding the host
to the koji-hub.
You probably have "LoginCreatesUser" set to "On" in
The only way I know of :
- stop kojid
- delete user 3 from the DB (I don't think there is a way to so it from
cli/correct me if I am wrong)
- koji add-host <fqdn>
- restart kojid
And "LoginCreatesUser" can be set to Off to avoid this in the future.
If it's a test system you are better off recreating the hub (maybe only the
database) as modifying the database is never a good solution.
On Tue, Apr 25, 2017 at 2:14 AM Tengiz Dawkins <tengiz.dawkins(a)gmail.com>
For the lack of koji-users@ list I dared to ask here.
I am very new to koji and I setup a testing stack using
Currently I am stuck at koji builder authentication. The validation user
vs host is not quite clear to me:
Traceback (most recent call last):
File "/usr/sbin/kojid", line 5140, in <module>
File "/usr/sbin/kojid", line 97, in main
tm = TaskManager(options, session)
File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 480, in
self.host_id = self.session.host.getID()
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1945, in
return self.__func(self.__name, args, opts)
File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 2381, in
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
buildsys mailing list -- buildsys(a)lists.fedoraproject.org
To unsubscribe send an email to buildsys-leave(a)lists.fedoraproject.org