Bug 1208510 - table RHQ_CONFIG_PROPERTY not purged
Summary: table RHQ_CONFIG_PROPERTY not purged
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: RHQ Project
Classification: Other
Component: Database
Version: 4.13,4.12
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: RHQ Project Maintainer
QA Contact: Mike Foley
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-04-02 12:17 UTC by rhqlille
Modified: 2016-04-01 22:33 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-04-01 22:33:00 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1323332 0 medium CLOSED Orphaned configuration left in database 2021-02-22 00:41:40 UTC

Internal Links: 1323332

Description rhqlille 2015-04-02 12:17:52 UTC
Description of problem:
The table RHQ_CONFIG_PROPERTY contains 43620376 rows.
The purge is logged,  but it not purging table RHQ_CONFIG_PROPERTY.

Version-Release number of selected component (if applicable):
RHQ 4.13.1
Database Product Name : PostgreSQL 9.1.15 
JVM SUN 1_7_0_07
Linux x86_64 RHEL 5

How reproducible:
Every time

Steps to Reproduce:


Actual results:
The Data is not purged.

Expected results:
purging of the table RHQ_CONFIG_PROPERTY

Additional info:
see in attachment server.log (DEBUG)

Comment 1 rhqlille 2015-04-02 12:20:09 UTC
how to purge this table with batch or script ?

Comment 2 Larry O'Leary 2015-06-11 15:32:38 UTC
The configuration database does not get "purged" on purpose. If you purge it, you lose your inventory data and your RHQ system would be corrupt or non-functioning.

Are you instead thinking of "configuration history?" If you want to get rid of your configuration history then do so from the Reports > Configuration History page. Simply select the configuration update history you no longer want and delete it. Alternatively, you can do this on specific resources from their configuration history page.

Comment 3 Larry O'Leary 2016-04-01 22:33:00 UTC
Closing due to insufficient data but there does seem to be an issue with orphaned configuration entries. This could be what comment 0 is actually reporting.

Bug 1323332 has been captured with the relevant details -- or what little is known -- in regards to the orphaned configuration issue.


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