[Spacewalk-list] Random Oracle Error Spacewalk 1.4 centos 5.6 x86_64

Michael Mraka michael.mraka at redhat.com
Tue Jun 7 08:57:20 UTC 2011


Matthew Darcy wrote:
% Looking at the problems I've been having recently, this appears to be one of the core factors in it, and appears to tie into the error message I see in my apache error_log on a clean boot
% 
% Any input as to what is causing Oracle to have a problem would be most appreciated.

Hi Matt,

it seems the bug is caused by changes in
3fd9dc08327d15d16d4307bfe847cb0878b85ac3.
Could you try if following patch solves your issue?

Regards,

--
Michael Mráka
Satellite Engineering, Red Hat

---------------------------------------------------------
diff --git a/backend/server/rhnAction.py b/backend/server/rhnAction.py
index 7c6cc89..1ac276d 100644
--- a/backend/server/rhnAction.py
+++ b/backend/server/rhnAction.py
@@ -123,7 +123,7 @@ def _invalidate_action_recursive(server_id, action_id, h, h_child):
         if not row:
             break
         child_ids = _invalidate_action_recursive(server_id, row['id'], h, h_child)
-        a_ids.append(child_ids)
+        a_ids += child_ids
     h.execute(server_id=server_id, action_id=action_id)
     s_row = h.fetchone_dict()
     if s_row and s_row['status'] <> 3:




More information about the Spacewalk-list mailing list