Hi,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 /etc/koji-hub/hub.confThe 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 kojidAnd "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.--Thomas.On Tue, Apr 25, 2017 at 2:14 AM Tengiz Dawkins <tengiz.dawkins@gmail.com> wrote:______________________________Hi all,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 http://www.devops-blog.net/koji/koji-rpm-build-system- installation-part-1 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 maintm = TaskManager(options, session)File "/usr/lib/python2.7/site-packages/koji/daemon.py", line 480, in __init__ self.host_id = self.session.host.getID()File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 1945, in __call__ return self.__func(self.__name, args, opts)File "/usr/lib/python2.7/site-packages/koji/__init__.py", line 2381, in _callMethod raise errkoji.AuthError: User 3 is not a hostShould 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)._________________
buildsys mailing list -- buildsys@lists.fedoraproject.org
To unsubscribe send an email to buildsys-leave@lists.fedoraproject.org
----Thomas
_______________________________________________
buildsys mailing list -- buildsys@lists.fedoraproject.org
To unsubscribe send an email to buildsys-leave@lists.fedoraproject.org