Bug 679333 - rhnPushClient table is not being updated appropriately when a system is deleted
Summary: rhnPushClient table is not being updated appropriately when a system is deleted
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Spacewalk
Classification: Community
Component: Server
Version: 1.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Zázrivec
QA Contact: Red Hat Satellite QA List
URL:
Whiteboard:
Depends On:
Blocks: space15
TreeView+ depends on / blocked
 
Reported: 2011-02-22 09:57 UTC by Milan Zázrivec
Modified: 2011-07-21 14:42 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-07-21 14:42:53 UTC
Embargoed:


Attachments (Terms of Use)

Description Milan Zázrivec 2011-02-22 09:57:36 UTC
Description of problem:

SQL> desc rhnPushClient
 Name                                      Null?    Type
 ----------------------------------------- -------- ---------------
 ID                                        NOT NULL NUMBER
 NAME                                      NOT NULL VARCHAR2(64)
 SERVER_ID                                 NOT NULL NUMBER
 JABBER_ID                                          VARCHAR2(128)
 SHARED_KEY                                NOT NULL VARCHAR2(64)
 STATE_ID                                  NOT NULL NUMBER
 NEXT_ACTION_TIME                                   DATE
 LAST_MESSAGE_TIME                                  DATE
 LAST_PING_TIME                                     DATE
 CREATED                                   NOT NULL DATE
 MODIFIED                                  NOT NULL DATE

rhnPushClient table contains references to rhnServer table (not as a foreign
key), though the table is not being updated when a system is being removed
from rhnServer table.

This state needs to be fixed.

Version-Release number of selected component (if applicable):
spacewalk-schema-1.3.18-1

How reproducible:
Always

Steps to Reproduce:
1. Register a system to Spacewalk, osad running and working
2. Check content of rhnPushClient table
3. Delete the system from Spacewalk (webui for example)
4. Check content of rhnPushClient table again
  
Actual results:
The records from rhnPushClient table are not being deleted.

Expected results:
The records from rhnPushClient table are being deleted.

Additional info:
N/A

Comment 1 Miroslav Suchý 2011-04-11 07:33:09 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 2 Miroslav Suchý 2011-04-11 07:37:03 UTC
We did not have time for this one during Spacewalk 1.4 time frame. Mass moving to Spacewalk 1.5.

Comment 3 Milan Zázrivec 2011-05-20 14:35:08 UTC
spacewalk.git master: 90e5ec5daa5d5e45b111a65d714fbe4ebe9791e5

Comment 4 Jan Pazdziora (Red Hat) 2011-07-19 19:36:33 UTC
This bugzilla is currently MODIFIED, so we believe the fix is in the Spacewalk nightly yum repository at http://spacewalk.redhat.com/yum/nightly/

Therefore, moving ON_QA.

Comment 5 Jan Pazdziora (Red Hat) 2011-07-21 14:42:53 UTC
Spacewalk 1.5 was released.


Note You need to log in before you can comment on or make changes to this bug.