Bug 1223114 - Running Database garbage collection from the UI gives error
Summary: Running Database garbage collection from the UI gives error
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: UI - OPS
Version: 5.4.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: GA
: 5.5.0
Assignee: Aparna Karve
QA Contact: Nandini Chandra
URL:
Whiteboard:
Depends On:
Blocks: 1223934
TreeView+ depends on / blocked
 
Reported: 2015-05-19 21:40 UTC by Nandini Chandra
Modified: 2015-12-08 13:10 UTC (History)
5 users (show)

Fixed In Version: 5.5.0.1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1223934 (view as bug list)
Environment:
Last Closed: 2015-12-08 13:10:38 UTC
Category: ---
Cloudforms Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:2551 0 normal SHIPPED_LIVE Moderate: CFME 5.5.0 bug fixes and enhancement update 2015-12-08 17:58:09 UTC

Description Nandini Chandra 2015-05-19 21:40:15 UTC
Description of problem:
-----------------------
This flash error message is displayed on running Database garbage collection from the UI.

Edit aborted! CFME does not support the browser's back button or access from multiple tabs or windows of the same browser. Please close any duplicate sessions before proceeding.


Version-Release number of selected component (if applicable):
-------------------
5.4.0.0.26


How reproducible:
----------------
Always


Steps to Reproduce:
------------------
1.Navigate to Configure->Diagnostics.
2.Under the Database tab,hit Submit under 'Run Database Garbage Collection Now'


Actual results:
--------------


Expected results:
---------------
Database garbage collection should be initiated and an appropriate message should be displayed on the screen.


Additional info:
----------------

Comment 2 Nandini Chandra 2015-05-19 21:48:20 UTC
From the log files,it doesn't look like the VACUUM command was issued.

Comment 5 CFME Bot 2015-05-21 18:21:02 UTC
New commit detected on manageiq/master:
https://github.com/ManageIQ/manageiq/commit/58620a58e7dcd71ae5b8b6ecc1e51a0b7606cad1

commit 58620a58e7dcd71ae5b8b6ecc1e51a0b7606cad1
Author:     Aparna Karve <akarve>
AuthorDate: Thu May 21 10:46:56 2015 -0700
Commit:     Aparna Karve <akarve>
CommitDate: Thu May 21 10:46:56 2015 -0700

    Removed load_edit in garbage collection called from db diagnostics form
    
    db diagnostics form has been converted to angular with all instances
    of @edit removed. load_edit is not relevant anymore
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1223114

 vmdb/app/controllers/ops_controller/diagnostics.rb | 1 -
 1 file changed, 1 deletion(-)

Comment 6 Nandini Chandra 2015-09-15 20:45:07 UTC
1)Verified in master.20150915141925_58436ca
2)Verified that and an appropriate flash message is displayed on the screen and that the database garbage collection is initiated(based on evm.log).

Snippet from evm.log:

[----] I, [2015-09-15T16:39:58.310086 #13112:54d990]  INFO -- : MIQ(PostgresAdmin.runcmd_with_logging) Running command... vacuumdb --no-password --dbname vmdb_production --username root

Comment 7 Nandini Chandra 2015-09-29 17:01:26 UTC
Verified in 5.5.0.1

Comment 9 errata-xmlrpc 2015-12-08 13:10:38 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2015:2551


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