Bug 1466338

Summary: Datastores are missing a status indication
Product: Red Hat CloudForms Management Engine Reporter: Ilanit Stein <istein>
Component: ProvidersAssignee: Martin Perina <mperina>
Status: CLOSED CURRENTRELEASE QA Contact: Angelina Vasileva <anikifor>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.8.0CC: bodnopoz, dmetzger, gblomqui, istein, jfrey, jhardy, jocarter, lavenel, mgoldboi, michal.skrivanek, obarenbo, simaishi
Target Milestone: GA   
Target Release: 5.12.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: datastores
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-12-18 18:17:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: Bug
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: CFME Core Target Upstream Version:
Embargoed:

Description Ilanit Stein 2017-06-29 13:08:27 UTC
Description of problem:
Datastores status, that is displayed on RHV side, is missing in CFME UI.
It do not appear in the Quad datastore icon, nor in datastore details page. 

Version-Release number of selected component (if applicable):
CFME-5.8.1.0/RHV-4.1.3 (though this problem is not for specific RHV version)

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Shmuel Melamud 2017-09-12 13:56:04 UTC
Ilanit, in what place in the Quad icon you what the status to appear? Top left is the type and bottom right is the space usage.

Comment 3 Ilanit Stein 2017-09-12 17:28:35 UTC
On CFME Datastore status is not displayed at all. In any place.

Quad icon:
=========
According to CFME documentation,
Datastore Quad icon consists of:

- File system type
- Number of hosts
- Number of virtual machines
- Available space

Status of the Datastore is a very important indication.
Can having it reflected in one of those 4 Quad parts can be considered?

For VMs, for example, the quad icon include Power state.

Datastore Details page:
=======================
Essential to add here a field reporting the datastore status.

Comment 4 Shmuel Melamud 2017-09-24 20:03:25 UTC
Moran, what do you think? There are two difficulties in implementing this.

First, all parts of the Datastore Quad icon are used. If we want to show the status in the Quad, we need to decide where to put it. Is it possible, for example, to create two flavours of 'File system type' icons - one for an active datastore and one for an inactive one?

Second, status of a datastore may depend of the data center it is attached to. Usual datastores may be attached only to one data center. But ISO datastores may be attached to several data centers and may have a different status in each data center. How will we represent these different statuses in the UI?

Comment 5 Moran Goldboim 2017-10-29 13:19:45 UTC
(In reply to Shmuel Melamud from comment #4)
> Moran, what do you think? There are two difficulties in implementing this.
> 
> First, all parts of the Datastore Quad icon are used. If we want to show the
> status in the Quad, we need to decide where to put it. Is it possible, for
> example, to create two flavours of 'File system type' icons - one for an
> active datastore and one for an inactive one?
> 
> Second, status of a datastore may depend of the data center it is attached
> to. Usual datastores may be attached only to one data center. But ISO
> datastores may be attached to several data centers and may have a different
> status in each data center. How will we represent these different statuses
> in the UI?

we are trying to reexemine the future UI those days, I'm pushing this bug for the next version in which we'll hopefully have a overall design for this view.

Comment 7 CFME Bot 2018-06-25 17:31:43 UTC
New commit detected on ManageIQ/manageiq-schema/master:

https://github.com/ManageIQ/manageiq-schema/commit/b11da5324b6cd35bbff5f74ab5b3dd9474340af2
commit b11da5324b6cd35bbff5f74ab5b3dd9474340af2
Author:     Adam Grare <agrare>
AuthorDate: Mon Jun 11 09:13:44 2018 -0400
Commit:     Adam Grare <agrare>
CommitDate: Mon Jun 11 09:13:44 2018 -0400

    Add a Status column to Storages

    Add a column to store a status property to storages.

    https://bugzilla.redhat.com/show_bug.cgi?id=1466338

 db/migrate/20180611131314_add_status_to_storages.rb | 5 +
 1 file changed, 5 insertions(+)