Issue could be with your certs, please check where you using correct certificate.

Thanks,
Vijay

From: buildsys-bounces@lists.fedoraproject.org [buildsys-bounces@lists.fedoraproject.org] on behalf of Radha Venkatesh (radvenka) [radvenka@cisco.com]
Sent: Wednesday, August 28, 2013 9:33 PM
To: buildsys@lists.fedoraproject.org
Subject: Cannot perform koji add-host - ActionNotAllowed: admin permission required

Hi,

 

I am trying to set up a koji build server and have gone through all the steps guide. I am encountering a problem in  adding the build host using “koji add-host” command

 

[kojiadmin@vos-cm20 koji]$ koji add-host kojid-1 x86_64

ActionNotAllowed: admin permission required

 

The tables in my database have been setup correctly

 

koji=# select * from users;

id |   name    | password | status | usertype | krb_principal

----+-----------+----------+--------+----------+---------------

  1 | kojiadmin |          |      0 |        0 |

  2 | vos-cm20  |          |      0 |        0 |

(2 rows)

 

koji=# select * from user_perms;

user_id | perm_id | create_event | revoke_event | creator_id | revoker_id | active

---------+---------+--------------+--------------+------------+------------+--------

       1 |       1 |            1 |              |          1 |            | t

 

 

What am I doing wrong? Any pointers would be appreciated.

 

Thanks,

Radha.