Re: Koji: ServerOffline

2009-01-23 Thread Oliver Falk
Jitesh Shah wrote: On Thu, 2009-01-22 at 17:17 +0100, Oliver Falk wrote: > Mike McLean wrote: > I wonder if it would log this error in a way you know what's going on :-) > > Jitesh, can you check the logs as suggested by Mike, although it's fixed > now, I'

Re: Koji: ServerOffline

2009-01-22 Thread Oliver Falk
Mike McLean schrieb: Oliver Falk wrote: Mike McLean wrote: Actually, it does reconnect now. Since which version? The change is in commit 58b7313d. Should be in 1.2.6 https://fedorahosted.org/koji/changeset/58b7313d0af0e0ac1fe804cd9f247486b3130cab Well, thx. Good to know this is '

Re: Koji: ServerOffline

2009-01-22 Thread Oliver Falk
Hi! Jitesh Shah wrote: It finally worked!!! Rejoice! Great. So, while stracing httpd, as suggested by Oliver, I realised that koji was _NOT_ using localhost to connect to psql because the DBHost parameter in the koji configuration had been tampered with and changed to something else. And obv

Re: Koji: ServerOffline

2009-01-22 Thread Oliver Falk
Mike McLean wrote: Jitesh Shah wrote: On a different note, how does one debug a script which uses rpc calls and the error is on the server side? i.e. the debugger will run on the caller side, so, how do we debug the script that is executed on the server? (Except inserting write-to-file commands

Re: Koji: ServerOffline

2009-01-22 Thread Oliver Falk
Mike McLean wrote: Oliver Falk wrote: You have not written if you have tried to restart Apache. koji(hub) has no auto-reconnect if it looses connection to the database. So if for whatever reason it lost the connection to PostgreSQL, it will never reconnect. You have to manually restart Apache

Re: Koji: ServerOffline

2009-01-22 Thread Oliver Falk
You could do the following on your kojihub - I guess it's only running koji!? If not that's bad :-) # service httpd stop # strace -f httpd -X You may want to write it to some strace.log (add 2>&1 > strace.log). Try to analyse this. You should see where it tries to connect to. -of Jitesh Shah

Re: Koji: ServerOffline

2009-01-22 Thread Oliver Falk
Toshio Kuratomi wrote: Oliver Falk wrote: The settings in /etc/httpd/conf.d/kojihub.conf are correct I guess? Esp. DBName, DBUser, DBHost? And your /var/lib/pgsql/data/pg_hba.conf is also OK? And you can connect via command line? psql -U -h ? ... and the psql command is run on the same

Re: Koji: ServerOffline

2009-01-21 Thread Oliver Falk
Jitesh Shah wrote: So, this morning I moved to a newer version of koji. Reconfigured everything (restarted apache after re-configuring koji-hub) and quite surprisingly, I still get the same error! So, if reinitialising both, postgresql and koji, doesn't do the trick, I wonder what might have gon

Re: Koji: ServerOffline

2009-01-21 Thread Oliver Falk
Hi Jitesh! Jitesh Shah wrote: Hi, I've been running a local koji instance at my workplace. It worked absolutely fine for a fortnight. But, since Monday, I am getting this error : "ServerOffline: database outage" for any CLI command that I try to execute. I initially suspected that it might be b

Re: Koji feature proposals

2009-01-07 Thread Oliver Falk
Jesse Keating wrote: On Wed, 2009-01-07 at 17:23 +0100, Oliver Falk wrote: OKOK. I thought rpmbuild will automagically produce arch-specific and noarch packages in 'one step'... It will, for one arch. You do a rpmbuild --rebuild foo (on x86_64) and it'll spit out x86_64 bina

Re: Koji feature proposals

2009-01-07 Thread Oliver Falk
Jesse Keating wrote: On Wed, 2009-01-07 at 09:08 +0100, Oliver Falk wrote: Yet another post install section processing script (YAPISPS) :-) And yes, if it's not really noarch, it should fail. But shouldn't rpm itself check that? I mean, if someone writes a script to check that

Re: Koji feature proposals

2009-01-07 Thread Oliver Falk
Jason L Tibbitts III wrote: "OF" == Oliver Falk writes: OF> And regarding your point: '... different arches build noarch OF> subpackage with different contents'. Well, then it's definitly not OF> *noarch*, is't it? :-) It is quite possible for the

Re: Koji feature proposals

2009-01-07 Thread Oliver Falk
Mike Bonnet wrote: On Tue, 2009-01-06 at 21:51 +0100, Oliver Falk wrote: Hi Mike! Mike Bonnet schrieb: I've just created tickets for a few Koji features that I've been wanting to implement for a while (as well as updated an old one), and I'm planning to devote some time to in

Re: Koji feature proposals

2009-01-06 Thread Oliver Falk
Hi Mike! Mike Bonnet schrieb: I've just created tickets for a few Koji features that I've been wanting to implement for a while (as well as updated an old one), and I'm planning to devote some time to in the near future. If you have any comments on these features feel free to post to the ticket

Re: caching packages on koji builder

2008-11-05 Thread Oliver Falk
Dan Horák wrote: Oliver Falk píše v St 05. 11. 2008 v 11:07 +0100: Dan Horák wrote: Hello, is it possible to somehow cache the packages that are going from koji hub to the builder to create a build root? There is no NFS connection between the builder and hub in s390's koji and so each

Re: caching packages on koji builder

2008-11-05 Thread Oliver Falk
Dan Horák wrote: Hello, is it possible to somehow cache the packages that are going from koji hub to the builder to create a build root? There is no NFS connection between the builder and hub in s390's koji and so each build requires to download 100 MB via XMLRPC(?) Newest kojis do not downloa

Re: Koji probes

2008-10-20 Thread Oliver Falk
Andreas Thienemann wrote: On Mon, 20 Oct 2008, Doug Ledford wrote: So, I guess it's nice to know that koji is important enough that people are writing probes to try and ferret out information, but on the other hand, people are writing probes for it to try and ferret out information... This lo

Re: package upload/import speed

2008-07-23 Thread Oliver Falk
Mike Bonnet wrote: On Wed, 2008-07-23 at 15:56 -0400, Naveen Gavini wrote: Hello all, When importing or building RPM's from source is there an option that is throttling the upload speed of the package? We are seeing speeds of 10kbps which makes importing/building large packages very slow. P

Re: Mock / Koji issues on EL5

2008-04-16 Thread Oliver Falk
Jesse Keating schrieb: On Wed, 2008-04-16 at 18:17 +0200, Jeroen van Meeuwen wrote: On a CentOS 5, up-to-date box, I am running mock-0.9.7-1.el5, and koji-1.1-2.el5. I could not update to koji-1.2.3-1.el5 because it has a missing dependency on createrepo >= 0.4.11. The version of createrepo y

Re: [mock patch] add ia64 and alpha to personality_defs

2007-12-20 Thread Oliver Falk
On 12/20/2007 03:30 PM, Doug Chapman wrote: > Patch to quiet the "Unable to find predefined setarch personality" > warnings seen on ia64. I added alpha as well while I was at it. > > > Signed-off-by: Doug Chapman <[EMAIL PROTECTED]> > > > > diff -up mock-0.9.3/py/mock/util.py.arches mock-

Re: mock issues on ia64 with LoadLibrary("libc.so.6")

2007-12-20 Thread Oliver Falk
On 12/19/2007 09:49 PM, Doug Chapman wrote: > I am in the process of trying to build fedora on ia64. I updated to the > latest mock today in order to get the new --copyin functionality which I > think will help with a lot of the dependency issues I am having (very > cool functionality by the way!)

Re: Problems starting kojid: SSL issues

2007-11-26 Thread Oliver Falk
On 11/23/2007 08:46 PM, Devrim GÜNDÜZ wrote: > Hi, > > Following the guidelines on wiki, I am trying to install koji. So far, I > could run web interface, but I have problems with SSL things. > > Koji init script claims that it starts kojid, but I can't see it in the > processes. Looking it a bit

Re: Documentation for setting up koji?

2007-10-08 Thread Oliver Falk
On 10/07/2007 05:52 AM, Tom Diehl wrote: > Hi, > > I am trying to setup koji and friends but documentation for the packages > seems > sparse at best. The only document I can find is at > http://fedoraproject.org/wiki/Koji/ServerHowTo and it has several holes > in it > not to mention the note at th

Re: koji initialization, docs

2007-09-20 Thread Oliver Falk
Mike McLean schrieb: > [EMAIL PROTECTED] wrote: >> Note: kojira must be running and must have repo perms (perm_id 3) >> 1. import all srpms from the upstream RHEL/Fedora distribution, use >> --create-build >> koji import --create-build [SRPM] > > In Koji, builds are named after the srpm, i.e t

Re: Plague dependency question

2007-03-29 Thread Oliver Falk
On 03/29/2007 10:50 AM, Michael Schwendt wrote: On Thu, 29 Mar 2007 09:18:14 +0200, Oliver Falk wrote: I think, the bsys should raise up a list of deps that might need a rebuild; A webpage with checkboxes and a go button. :-) Eventuall a notification to the maintainer if build fails, and/or a

Re: Plague dependency question

2007-03-28 Thread Oliver Falk
On 03/28/2007 02:03 PM, Dan Williams wrote: On Wed, 2007-03-28 at 08:58 +0200, Oliver Falk wrote: On 03/28/2007 06:22 AM, Dan Williams wrote: On Tue, 2007-03-27 at 19:56 -0700, John Villalovos wrote: I have a question about Plague. Does Plague have the capability to handle dependencies where

Re: Plague dependency question

2007-03-27 Thread Oliver Falk
On 03/28/2007 06:22 AM, Dan Williams wrote: On Tue, 2007-03-27 at 19:56 -0700, John Villalovos wrote: I have a question about Plague. Does Plague have the capability to handle dependencies where if you build one RPM that other RPMS depend on for their BuildRequires that you can then build all t

Re: typo in KojiBuildSystem wiki

2007-03-27 Thread Oliver Falk
On 03/27/2007 10:07 AM, Jeroen Janssen wrote: I don't have wiki editing powers, but the following page contains a typo: http://fedoraproject.org/wiki/Infrastructure/KojiBuildSystem git clone http://git.fedoraprojet.org/hosted/koji should have been: git clone http://git.fedoraproject.org/hosted

Re: plague on fc7 with sqlite, xmlrpc problems

2007-03-01 Thread Oliver Falk
Am 2007-02-26 17:48, Dan Williams schrieb: On Mon, 2007-02-26 at 13:53 +0100, Oliver Falk wrote: Am 2007-02-26 13:39, Dan Williams schrieb: On Mon, 2007-02-26 at 12:06 +0100, Oliver Falk wrote: [ ... ] Yeah, using a real database is the way to go. Maybe someone should also have a look at the

Re: plague on fc7 with sqlite, xmlrpc problems

2007-02-26 Thread Oliver Falk
Am 2007-02-26 13:39, Dan Williams schrieb: On Mon, 2007-02-26 at 12:06 +0100, Oliver Falk wrote: [ ... ] Yeah, using a real database is the way to go. Maybe someone should also have a look at the default ports and other defaults... BUT... What's about plague? Will it live or will i

Re: plague on fc7 with sqlite, xmlrpc problems

2007-02-26 Thread Oliver Falk
Hi Ken! Am 2007-02-25 21:26, Ken MacLeod schrieb: [ ... ] Here's what I've done so far: * server/DBManager.py - import sqlite3 as sqlite - remove encoding="utf-8" from sqlite.connect * server/main.py * server/BuildMaster.py

Re: automate rpm signing?

2006-11-23 Thread Oliver Falk
On 11/22/2006 04:34 PM, Dennis Gilmore wrote: Once upon a time Wednesday 22 November 2006 6:09 am, Karanbir Singh wrote: Dennis Gilmore wrote: On Tuesday 21 November 2006 21:21, Douglas Hubler wrote: The Fedora website http://fedora.redhat.com/About/security/ mentions Fedora builds are automa

Re: New version of mock working (I think)

2006-06-21 Thread Oliver Falk
Clark Williams wrote: Thx for letting us know about your progress, Clark! Best would be you send a patch/diff to the list - first of all, so all can investigate... At least I would appreciate! Good point. Attached is a 'cvs diff" of my tree, plus the new source file src/mock.c Comments welco

Re: New version of mock working (I think)

2006-06-21 Thread Oliver Falk
Hi Clark! Clark Williams wrote: [ ... ] While none of the changes are massive, they are spread across a few files (Makefile, mock.py, mock.spec, etc/default.cfg, src/Makefile, src/mock.c) so I'm wondering if I should just blast out the files to the list, or if I should cut a branch in CVS and le