how to setup the koji build system?

gssxd at qq.com gssxd at qq.com
Mon Apr 27 23:36:43 UTC 2015


hi, John Florian
Thanks for your information. I am using rhel7, so I have to change the default_md to sha256.
However, I still can't setup the koji build now. The new error show me is that:
[kojiadmin at koji ~]$ koji call getLoggedInUser
ProtocolError: <ProtocolError for koji.example.com/kojihub/ssllogin: 403 Forbidden>

Some additional info:
[kojiadmin at koji ~]$ hostname -f
koji.example.com
[kojiadmin at koji ~]$ ping koji.example.com
PING koji.example.com (10.9.2.35) 56(84) bytes of data.
64 bytes from koji.example.com (10.9.2.35): icmp_seq=1 ttl=64 time=0.034 ms
64 bytes from koji.example.com (10.9.2.35): icmp_seq=2 ttl=64 time=0.050 ms

The setting in /etc/koji.conf:
;configuration for koji cli tool

;url of XMLRPC server
server = http://koji.example.com/kojihub

Could you please give me any suggestions ?
Thanks very much.



谢谢 
郭双拴
 
From: buildsys-request
Date: 2015-04-27 21:47
To: buildsys
Subject: buildsys Digest, Vol 122, Issue 21
Send buildsys mailing list submissions to
buildsys at lists.fedoraproject.org
 
To subscribe or unsubscribe via the World Wide Web, visit
https://admin.fedoraproject.org/mailman/listinfo/buildsys
or, via email, send a message with subject or body 'help' to
buildsys-request at lists.fedoraproject.org
 
You can reach the person managing the list at
buildsys-owner at lists.fedoraproject.org
 
When replying, please edit your Subject line so it is more specific
than "Re: Contents of buildsys digest..."
 
 
Today's Topics:
 
   1. RE: how to setup the koji build system? (John Florian)
   2. RE: how to setup the koji build system? (John Florian)
 
 
----------------------------------------------------------------------
 
Message: 1
Date: Mon, 27 Apr 2015 13:42:09 +0000
From: John Florian <john.florian at dart.biz>
To: Discussion of Fedora build system
<buildsys at lists.fedoraproject.org>
Subject: RE: how to setup the koji build system?
Message-ID:
<D83E0BFAF05CE549BA2A87BB89D443CAA59878DC at USILCHEXMBX02.solo.com>
Content-Type: text/plain; charset="utf-8"
 
 
 
> -----Original Message-----
> From: buildsys-bounces at lists.fedoraproject.org [mailto:buildsys-
> bounces at lists.fedoraproject.org] On Behalf Of Sérgio Basto
> Sent: Thursday, April 23, 2015 10:41
> To: buildsys at lists.fedoraproject.org
> Subject: Re: how to setup the koji build system?
> 
> On Qui, 2015-04-23 at 09:39 +0800, gssxd at qq.com wrote:
> > Hello,
> > I want to build my own linux based on the koji build system . However
> > the koji wiki page seems to be a little bit out-of date. I followed
> > the instructions to go through all of the steps, but it alway show me
> > some failures.
> > I am using the koji-1.9.0, and I saw the wiki page was refering to the
> > version 1.3.1.
> > Is there anybody has any suggestion about the setup information? or
> > anyone can provide me the latest document about how to build the koji
> > system?
> 
> I follow this page:
> http://www.devops-blog.net/koji/koji-rpm-build-system-installation-part-1
> 
> also a little bit out-of date, but on comments we have good tips, to
> solve the not updated things .
> 
 
I too have just gone through a Koji setup -- my 2nd time actually, I didn't adopt it after all the work the 1st time.  Those pages are helpful, but I found I really needed a combination of the following to get going:
 
https://fedoraproject.org/wiki/Koji/ServerHowTo
https://wiki.nikhef.nl/grid/Koji_Testbed
 
and for Sigul:
 
http://zenit.senecac.on.ca/wiki/index.php/Sigul_Signing_Server_Setup
 
I did lean on the devops-blog pages too that you already mentioned.
 
I also found it impossible to get going without adding numerous debug messages of my own into the koji code.  I encountered too many exceptions that failed to print any useful details about the current state, especially when I was trying to decode the magic of the proper setup for building from SCM.  I don't fault the code or its authors though, it was created to serve a purpose for the Fedora Project and that it does.  But, it's far from having the polish and documentation of the more popular FOSS packages that get so much more attention.
 
--
John Florian
 
------------------------------
 
Message: 2
Date: Mon, 27 Apr 2015 13:47:19 +0000
From: John Florian <john.florian at dart.biz>
To: Discussion of Fedora build system
<buildsys at lists.fedoraproject.org>
Subject: RE: how to setup the koji build system?
Message-ID:
<D83E0BFAF05CE549BA2A87BB89D443CAA59878F6 at USILCHEXMBX02.solo.com>
Content-Type: text/plain; charset="utf-8"
 
I’d bet you have the wrong value for the CN (CommonName) in one of your certificates and given what you’ve shown it’s likely your user certificate.  Make sure the CN there matches the user ID you created in the Koji DB.
 
--
John Florian
 
From: buildsys-bounces at lists.fedoraproject.org [mailto:buildsys-bounces at lists.fedoraproject.org] On Behalf Of gssxd at qq.com
Sent: Monday, April 27, 2015 01:12
To: buildsys
Subject: how to setup the koji build system?
 
hi,
I followed the wiki page:
https://fedoraproject.org/wiki/Koji/ServerHowTo
also, the page that Sérgio M. B. pointed out
http://www.devops-blog.net/koji/koji-rpm-build-system-installation-part-1
 
 
but, so far I still can't get it installed.
The failure I am seeing as following:
[root at www koji]# su kojiadmin
[kojiadmin at www koji]$ koji call getLoggedInUser
Error: [('asn1 encoding routines', 'ASN1_item_verify', 'unknown message digest algorithm'), ('SSL routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')]
[kojiadmin at www koji]$
 
 
Could you please give any idea? how to fix it?
 
________________________________
Thanks
Suney
 
From: buildsys-request<mailto:buildsys-request at lists.fedoraproject.org>
Date: 2015-04-24 20:00
To: buildsys<mailto:buildsys at lists.fedoraproject.org>
Subject: buildsys Digest, Vol 122, Issue 18
Send buildsys mailing list submissions to
buildsys at lists.fedoraproject.org<mailto:buildsys at lists.fedoraproject.org>
 
To subscribe or unsubscribe via the World Wide Web, visit
https://admin.fedoraproject.org/mailman/listinfo/buildsys
or, via email, send a message with subject or body 'help' to
buildsys-request at lists.fedoraproject.org<mailto:buildsys-request at lists.fedoraproject.org>
 
You can reach the person managing the list at
buildsys-owner at lists.fedoraproject.org<mailto:buildsys-owner at lists.fedoraproject.org>
 
When replying, please edit your Subject line so it is more specific
than "Re: Contents of buildsys digest..."
 
 
Today's Topics:
 
   1. Re: how to setup the koji build system? (Didier Fabert)
   2. Re: how to setup the koji build system? (Sérgio Basto)
 
 
----------------------------------------------------------------------
 
Message: 1
Date: Thu, 23 Apr 2015 15:42:01 +0200
From: Didier Fabert <didier.fabert at gmail.com<mailto:didier.fabert at gmail.com>>
To: Discussion of Fedora build system
<buildsys at lists.fedoraproject.org<mailto:buildsys at lists.fedoraproject.org>>
Subject: Re: how to setup the koji build system?
Message-ID: <2589606.sBjckj0VDC at didier.b2pweb.com<mailto:2589606.sBjckj0VDC at didier.b2pweb.com>>
Content-Type: text/plain; charset="us-ascii"
 
Hi,
 
Do you talking about this wiki page:
https://fedoraproject.org/wiki/Koji/ServerHowTo ?
I recently upgrade my personnal koji from el6 to el7 and all rock's without
any problem (excepting sigul but it's a another story).
 
What are your failures exactly ? During install, bootstrap or first use ?
 
On Thursday 23 April 2015 09:39:38 gssxd at qq.com<mailto:gssxd at qq.com> wrote:
> Hello,
> I want to build my own linux based on the koji build system . However the
> koji wiki page seems to be a little bit out-of date. I followed the
> instructions to go through all of the steps, but it alway show me some
> failures.
> I am using the koji-1.9.0, and I saw the wiki page was refering
> to the version 1.3.1. Is there anybody has any suggestion about the setup
> information? or anyone can provide me the latest document about how to
> build the koji system?
> Thanks very much.
>
> Thanks
> Suney
 
 
 
------------------------------
 
Message: 2
Date: Thu, 23 Apr 2015 15:40:52 +0100
From: Sérgio Basto <sergio at serjux.com<mailto:sergio at serjux.com>>
To: buildsys at lists.fedoraproject.org<mailto:buildsys at lists.fedoraproject.org>
Subject: Re: how to setup the koji build system?
Message-ID: <1429800052.29728.14.camel at serjux.com<mailto:1429800052.29728.14.camel at serjux.com>>
Content-Type: text/plain; charset="ISO-8859-15"
 
On Qui, 2015-04-23 at 09:39 +0800, gssxd at qq.com<mailto:gssxd at qq.com> wrote:
> Hello,
> I want to build my own linux based on the koji build system . However
> the koji wiki page seems to be a little bit out-of date. I followed
> the instructions to go through all of the steps, but it alway show me
> some failures.
> I am using the koji-1.9.0, and I saw the wiki page was refering to the
> version 1.3.1.
> Is there anybody has any suggestion about the setup information? or
> anyone can provide me the latest document about how to build the koji
> system?
 
I follow this page:
http://www.devops-blog.net/koji/koji-rpm-build-system-installation-part-1
 
also a little bit out-of date, but on comments we have good tips, to
solve the not updated things .
 
Best regards,
--
Sérgio M. B.
 
 
 
------------------------------
 
--
buildsys mailing list
buildsys at lists.fedoraproject.org<mailto:buildsys at lists.fedoraproject.org>
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
End of buildsys Digest, Vol 122, Issue 18
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/buildsys/attachments/20150427/00d1b2f9/attachment.html>
 
------------------------------
 
--
buildsys mailing list
buildsys at lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
 
End of buildsys Digest, Vol 122, Issue 21
*****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.fedoraproject.org/pipermail/buildsys/attachments/20150428/c9903b5c/attachment.html>


More information about the buildsys mailing list