After upgrading from Fedora 14 to Fedora 15, I'm having the following
issue when trying to access my koji web install. I use Kerberos for my
private Koji instance.
I've see this:
http://www.redhat.com/archives/fedora-buildsys-list/2008-July/msg00022.html
I've checked my pg_hba.conf (it's the same as it was a few hours ago
with a working Fedora 14 Koji setup). Of course, now I'm using
PostgreSQL 9.
I run the PostgreSQL service on the same box and am able to access other
PostgreSQL stuff without issue, using Kerberos.
Any help would be appreciated. Thanks in advance. -Anthony
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
06-09-2011, 01:17 AM
Anthony Messina
Kojihub fails after F14 -> f15 upgrade
On 06/08/2011 07:12 PM, Anthony Messina wrote:
> After upgrading from Fedora 14 to Fedora 15, I'm having the following
> issue when trying to access my koji web install. I use Kerberos for my
> private Koji instance.
>
> I've see this:
> http://www.redhat.com/archives/fedora-buildsys-list/2008-July/msg00022.html
And I found
http://lists.fedoraproject.org/pipermail/buildsys/2011-May/003656.html
If I comment out
#from pgdb import _quoteparams
from /usr/lib/python2.7/site-packages/koji/db.py
the instance works again. I subscribe to the list, I'm not sure how I
missed the messages in May. -A
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
06-09-2011, 01:13 PM
Severin Gehwolf
Kojihub fails after F14 -> f15 upgrade
On Wed, 2011-06-08 at 20:17 -0500, Anthony Messina wrote:
> On 06/08/2011 07:12 PM, Anthony Messina wrote:
> > After upgrading from Fedora 14 to Fedora 15, I'm having the following
> > issue when trying to access my koji web install. I use Kerberos for my
> > private Koji instance.
> >
> > I've see this:
> > http://www.redhat.com/archives/fedora-buildsys-list/2008-July/msg00022.html
>
> And I found
> http://lists.fedoraproject.org/pipermail/buildsys/2011-May/003656.html
>
> If I comment out
>
> #from pgdb import _quoteparams
I stumbled upon this one as well.
As far as I can tell _quoteparams is a python function of the PostgreSQL
python driver. Concluding from its name, this was never meant to be used
outside the driver itself. Now, there is an updated pg Python driver
part of F15 and this improper API usage is causing the problem.
The question is:
Is there a way to provide debug output/logging without using pg driver
internal functions?
Thanks,
Severin
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys
06-09-2011, 07:08 PM
Mike McLean
Kojihub fails after F14 -> f15 upgrade
On 06/09/2011 09:13 AM, Severin Gehwolf wrote:
> As far as I can tell _quoteparams is a python function of the PostgreSQL
> python driver. Concluding from its name, this was never meant to be used
> outside the driver itself. Now, there is an updated pg Python driver
> part of F15 and this improper API usage is causing the problem.
I tend to read the single leading underscore as "use at your own risk"
and double leading underscore as "no, really. don't use this." The
double leading underscore is the standard for private names within
python classes.
> The question is:
> Is there a way to provide debug output/logging without using pg driver
> internal functions?
Short of writing a separate quoting function, you could do something
less optimal, like:
1) operation % parameters
or
2) "%r %r" % (operation,parameters)
The first doesn't quote, but does put the parameters in place. It might
make some string-heavy commands hard to read. The second loses no data,
but does not insert the parameters in place, which will be hard to read.
I'll be patching koji to do one of these shortly, unless I go crazy and
write my own quoting function.
--
buildsys mailing list
buildsys@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/buildsys