Bug 813541

Summary: RFE - Enable application status filtering in web-ui
Product: [Retired] CloudForms Cloud Engine Reporter: James Laska <jlaska>
Component: aeolus-conductorAssignee: Jiri Tomasek <jtomasek>
Status: CLOSED ERRATA QA Contact: wes hayutin <whayutin>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.0.0CC: akarol, asettle, athomas, deltacloud-maint, dmacpher, jturner, slinaber, ssachdev
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Filtering was enabled on application states but the list of applications in the cloud resource zone was not allowing filtering based on status. A drop-down list was available but disabled. This enhancement displays the list of applications based on their status ("running", "failed", "vanished", "stopped") which now allows the application status' to filter in a UI.
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-12-04 15:04:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Applications screenshot.png none

Description James Laska 2012-04-17 19:43:49 UTC
Created attachment 578134 [details]
Applications screenshot.png

Description of problem:

The list of applications in a cloud resource zone does not allow filtering based on status (https://[[CONDUCTOR]]/conductor/pools/2).  A drop-down list is available, but disabled.  It would be helpful to filter the list of applications based on their status ("running", "failed", "vanished", "stopped")
 
 * This filter is available when listing the Cloud Resource Zones (https://[CONDUCTOR]/conductor/pools?details_tab=pools&only_tab=true&view=filter)
 * A similar filter is available when viewing the instances (https://[CONDUCTOR]/conductor/pools?details_tab=instances&only_tab=true&view=filter)

Version-Release number of selected component (if applicable):
 * aeolus-conductor-0.8.7-1.el6.src.rpm
 * aeolus-configure-2.5.2-1.el6.src.rpm
 * rubygem-aeolus-cli-0.3.1-1.el6.src.rpm
 * rubygem-aeolus-image-0.3.0-12.el6.src.rpm

Steps to Reproduce:
1. Ensure several applications are launched to a particular cloud resource zone
2. From Monitor, select a cloud resource zone
3. Choose the list-view (not the card view)
4. Attempt to filter applications by status
  
Actual results:

 * The status filter is disable, and I'm unable to make a selection

Expected results:

 * I should be able to filter the list of applications by selecting "Stopped Applications", or "Failed applications"

Additional info:

Comment 1 wes hayutin 2012-04-17 19:50:47 UTC
So.. after drawing a blank on this.. I think application filtering was disabled because applications can be in a "mixed" state..  where one instance is up and one is down, and one is vanished

so..  whats the state of that application..

Comment 2 wes hayutin 2012-04-17 19:51:31 UTC
Angus, I think this is probably not a bug.. ur comments please

Comment 3 Angus Thomas 2012-04-17 20:10:02 UTC
We have some preparatory work to do, in terms of the way that we report the possible states of multi-instance applications. Once that is done, we will enable filtering on application state.

Comment 4 Jiri Tomasek 2012-09-03 11:50:31 UTC
Pull request: https://github.com/aeolusproject/conductor/pull/32

Comment 5 Jiri Tomasek 2012-09-04 07:46:39 UTC
patch pushed to master(d6b64f1) and 1.1(ef230c5)

Comment 6 Steve Linabery 2012-09-07 21:53:06 UTC
in build aeolus-conductor-0.13.3-1.el6cf

Comment 8 Aziza Karol 2012-09-25 13:08:02 UTC
Application status filtering in web-ui is enabled now.

verified:
rpm -qa | grep aeolus
rubygem-aeolus-image-0.3.0-12.el6.noarch
rubygem-aeolus-cli-0.7.2-1.el6cf.noarch
aeolus-conductor-doc-0.13.14-1.el6cf.noarch
aeolus-configure-2.8.7-1.el6cf.noarch
aeolus-all-0.13.14-1.el6cf.noarch
aeolus-conductor-0.13.14-1.el6cf.noarch
aeolus-conductor-daemons-0.13.14-1.el6cf.noarch

Comment 10 errata-xmlrpc 2012-12-04 15:04:13 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.

http://rhn.redhat.com/errata/RHEA-2012-1516.html