koji.build: Session expired

Mike Bonnet mikeb at redhat.com
Wed May 7 16:46:20 UTC 2008


On Wed, 2008-05-07 at 11:27 -0500, Paul B Schroeder wrote:
> Oh yea..  It should also be noted that I set this up using SSL
> authentication, not kerberos..
> 
> Thanks again...Paul..

Are kojid and kojira using the same SSL cert for authentication?  This
would cause the problem you're seeing, as they would be sharing the same
session, and when one of them logs out, the other would think it had
been logged out as well.  You need to use different SSL certs (with
different CNs) for each user, including the daemons.

> 
> On Wed, 2008-05-07 at 11:24 -0500, Paul B Schroeder wrote:
> > Hello..
> > 
> > I'm running F8 with the latest koji-* packages:
> > [root at koji koji]# rpm -qa 'koji*'
> > koji-hub-1.2.2-2.fc8
> > koji-1.2.2-2.fc8
> > koji-utils-1.2.2-2.fc8
> > koji-web-1.2.2-2.fc8
> > koji-builder-1.2.2-2.fc8
> > 
> > I've been following the Koji Server HOWTO here:
> > http://fedoraproject.org/wiki/Koji/ServerHowTo
> > 
> > I've gotten all of the way through it, but I'm having issues when
> > starting kojira.  It doesn't stay running and it seems to somehow be
> > causing  kojid to shutdown as well.  I've turned on debug for kojid and
> > kojira.  I see this in kojid.log:
> > 
> > 2008-05-07 06:10:37,895 [ERROR] koji.build: Session expired
> > 2008-05-07 06:10:37,896 [WARNING] koji.build: Shutting down, please
> > wait...
> > 
> > Below is a full output of what I see in those logs.  Am I missing
> > something simple?  Anybody have any clue what's going wrong?
> > 
> > Thanks in advance...Paul...
> > 
> > 
> > /var/log/kojid.log (before I attempt to start kojira):
> > 2008-05-07 06:10:04,662 [INFO] koji.build: Starting up
> > 2008-05-07 06:10:05,125 [DEBUG] koji.build.TaskManager: Local
> > buildroots: 0
> > 2008-05-07 06:10:05,125 [DEBUG] koji.build.TaskManager: Active
> > buildroots: 0
> > 2008-05-07 06:10:05,126 [DEBUG] koji.build.TaskManager: Expired/stray
> > buildroots: 0
> > 2008-05-07 06:10:05,438 [DEBUG] koji.build.TaskManager: Task Load: 0.0
> > 2008-05-07 06:10:05,438 [DEBUG] koji.build.TaskManager: Current tasks:
> > {}
> > 2008-05-07 06:10:05,743 [DEBUG] koji.build.TaskManager: hostdata:
> > {'capacity': 2.0, 'name': 'koji.bcstx.cacheflow.com', 'enabled': True,
> > 'arches': 'i386 x86_64', 'task_load': 0.0, 'ready': True, 'user_id': 3,
> > 'id': 1}
> > 2008-05-07 06:10:05,750 [DEBUG] koji.build.TaskManager: disk space
> > available in '/var/lib/mock': 43829 MB
> > 2008-05-07 06:10:06,186 [DEBUG] koji.build.TaskManager: Load Data:
> > 2008-05-07 06:10:06,186 [DEBUG] koji.build.TaskManager:   hosts:
> > [{'capacity': 2.0, 'name': 'koji.bcstx.cacheflow.com', 'channels': [1,
> > 2], 'arches': 'i386 x86_64', 'task_load': 0.0, 'id': 1}]
> > 2008-05-07 06:10:06,187 [DEBUG] koji.build.TaskManager:   tasks: []
> > 2008-05-07 06:10:06,187 [DEBUG] koji.build.TaskManager: bins:
> > {'1:noarch': 1, '2:noarch': 1, '1:x86_64': 1, '1:i386': 1, '2:x86_64':
> > 1, '2:i386': 1}
> > 
> > /var/log/kojid.log (after I start kojira):
> > 2008-05-07 06:10:21,504 [DEBUG] koji.build.TaskManager: Local
> > buildroots: 0
> > 2008-05-07 06:10:21,505 [DEBUG] koji.build.TaskManager: Active
> > buildroots: 0
> > 2008-05-07 06:10:21,505 [DEBUG] koji.build.TaskManager: Expired/stray
> > buildroots: 0
> > 2008-05-07 06:10:21,818 [DEBUG] koji.build.TaskManager: Task Load: 0.0
> > 2008-05-07 06:10:21,818 [DEBUG] koji.build.TaskManager: Current tasks:
> > {}
> > 2008-05-07 06:10:22,138 [DEBUG] koji.build.TaskManager: hostdata:
> > {'capacity': 2.0, 'name': 'koji.bcstx.cacheflow.com', 'enabled': True,
> > 'arches': 'i386 x86_64', 'task_load': 0.0, 'ready': True, 'user_id': 3,
> > 'id': 1}
> > 2008-05-07 06:10:22,145 [DEBUG] koji.build.TaskManager: disk space
> > available in '/var/lib/mock': 43829 MB
> > 2008-05-07 06:10:22,586 [DEBUG] koji.build.TaskManager: Load Data:
> > 2008-05-07 06:10:22,586 [DEBUG] koji.build.TaskManager:   hosts:
> > [{'capacity': 2.0, 'name': 'koji.bcstx.cacheflow.com', 'channels': [1,
> > 2], 'arches': 'i386 x86_64', 'task_load': 0.0, 'id': 1}]
> > 2008-05-07 06:10:22,587 [DEBUG] koji.build.TaskManager:   tasks: []
> > 2008-05-07 06:10:22,587 [DEBUG] koji.build.TaskManager: bins:
> > {'1:noarch': 1, '2:noarch': 1, '1:x86_64': 1, '1:i386': 1, '2:x86_64':
> > 1, '2:i386': 1}
> > 2008-05-07 06:10:37,895 [ERROR] koji.build: Session expired
> > 2008-05-07 06:10:37,896 [WARNING] koji.build: Shutting down, please
> > wait...
> > 
> > 
> > /var/log/kojira.log:
> > 2008-05-07 06:10:25,519 [DEBUG] koji.repo.manager: Reading current repo
> > data
> > 2008-05-07 06:10:25,654 [DEBUG] koji.repo.manager: Repo data: []
> > 2008-05-07 06:10:25,654 [DEBUG] koji.repo.manager: Scanning filesystem
> > for repos
> > 
> > 
> > 
> > 
> > --
> > Fedora-buildsys-list mailing list
> > Fedora-buildsys-list at redhat.com
> > https://www.redhat.com/mailman/listinfo/fedora-buildsys-list
> 
> --
> Fedora-buildsys-list mailing list
> Fedora-buildsys-list at redhat.com
> https://www.redhat.com/mailman/listinfo/fedora-buildsys-list




More information about the Fedora-buildsys-list mailing list