[Spacewalk-devel] [PATCH] Fix query to determine available config channels in SSM

2011-11-29 Thread Johannes Renner
Hello, It looks like that the following query is not actually doing what it should do: config_queries.xml: ssm_channels_for_subscribe_choose How to see that: Put two systems in the SSM where only one of those is subscribed to a certain config channel. This config channel should appear in the

[Spacewalk-devel] lock_web_contact never return with postgres

2011-11-29 Thread Michael Calmer
Hi, after a little debugging I found out that the following function never return in case of postgres is used: package RHN::DB::User; sub lock_web_contact() It stops at this query: 'SELECT * FROM web_contact WHERE id = :user_id FOR UPDATE' It seems, that postgres support FOR UPDATE so I do

Re: [Spacewalk-devel] [PATCH] some patches for monitoring on postgres and pylint findings

2011-11-29 Thread Michael Calmer
Hi, Am Montag, 28. November 2011, 18:18:31 schrieb Miroslav Suchy: Dne 28.11.2011 17:33, Michael Calmer napsal(a): 0004-replace-synonyms-with-real-table-names-and-change-sy.patch From ab387975796b4b04a4ccab2cd600f01d0b69db2a Mon Sep 17 00:00:00 2001 From: Michael Calmerm...@suse.de

Re: [Spacewalk-devel] [PATCH] some patches for monitoring on postgres and pylint findings

2011-11-29 Thread Jan Pazdziora
On Tue, Nov 29, 2011 at 02:40:58PM +0100, Michael Calmer wrote: I hopefully fixed it with commit 6fe5acfe48abd7e07ef2f87da7422a6bf13dbd23 But you should write undef and not under :-) Indeed. -- Jan Pazdziora Principal Software Engineer, Satellite Engineering, Red Hat