Bug 1031722

Summary: report from a cluster with no DC - report portal doesn't open and no error message appear
Product: [oVirt] ovirt-engine Reporter: sefi litmanovich <slitmano>
Component: Frontend.WebAdminAssignee: Alexander Wels <awels>
Status: CLOSED DEFERRED QA Contact: movciari
Severity: unspecified Docs Contact:
Priority: low    
Version: ---CC: bazulay, bugs, emesika, nbarcet, oourfali, rbalakri, Rhev-m-bugs, srevivo, ykaul
Target Milestone: ---Flags: oourfali: ovirt-4.1?
rule-engine: planning_ack?
rule-engine: devel_ack?
rule-engine: testing_ack?
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-22 04:43:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: UX RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description sefi litmanovich 2013-11-18 15:40:33 UTC
Description of problem:

when trying to create a report by choosing a cluster that has no DC, double clicking on it and choosing show report: {some report}, nothing happens. the report portal doesn't pop, and no error message is provoked.

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


Steps to Reproduce:
1. engine-setup.
2. * yum install rhevm-dwh rhevm-reports
* rhevm-dwh-setup
* rhevm-reports-setup
3. create some DCs, clusters etc.
4. force remove one of the DCs leaving one of the clusters without a DC
5. double click on that cluster and choose show report: {some report}.

Actual results:
Nothing happens, the action seems to be ignored completely


Expected results:

2 options:

1. an error message: "cluster is not attached to any DC, cannot show rhevm-report"
2. report portal opens allowing you to produce a report from some existing and working DC

Comment 1 Einav Cohen 2013-11-21 18:28:32 UTC
@Yaniv - will/should the cluster reports (available from the web-admin when selecting a cluster) work properly for "orphan" cluster (i.e. clusters that don't belong to any DC)?

Comment 2 Yaniv Lavi 2013-11-21 19:39:16 UTC
(In reply to Einav Cohen from comment #1)
> @Yaniv - will/should the cluster reports (available from the web-admin when
> selecting a cluster) work properly for "orphan" cluster (i.e. clusters that
> don't belong to any DC)?

Is this a option for a active cluster with hosts and vms?

Comment 3 Einav Cohen 2013-11-21 20:43:16 UTC
(In reply to Yaniv Dary from comment #2)
> (In reply to Einav Cohen from comment #1)
> > @Yaniv - will/should the cluster reports (available from the web-admin when
> > selecting a cluster) work properly for "orphan" cluster (i.e. clusters that
> > don't belong to any DC)?
> 
> Is this a option for a active cluster with hosts and vms?

it may have Hosts, not sure. it probably won't have VMs, as VMs need storage domains, and if there is no DC - there are no storage domains.

Comment 4 Yaniv Lavi 2013-11-22 09:27:26 UTC
(In reply to Einav Cohen from comment #3)
> (In reply to Yaniv Dary from comment #2)
> > (In reply to Einav Cohen from comment #1)
> > > @Yaniv - will/should the cluster reports (available from the web-admin when
> > > selecting a cluster) work properly for "orphan" cluster (i.e. clusters that
> > > don't belong to any DC)?
> > 
> > Is this a option for a active cluster with hosts and vms?
> 
> it may have Hosts, not sure. it probably won't have VMs, as VMs need storage
> domains, and if there is no DC - there are no storage domains.

So there is no point in allowing reporting on it. We should add a pop up to tell the user he must add it to DC to report on it.



Yaniv

Comment 5 Einav Cohen 2013-11-22 15:14:34 UTC
(In reply to Yaniv Dary from comment #4)
> 
> So there is no point in allowing reporting on it. We should add a pop up to
> tell the user he must add it to DC to report on it.
> 

you are probably right, and this is probably what we should/will do; but just so I will have all the information / understand the root cause of the problem: As far as you know: As the reports are implemented today: Is it impossible to run them on orphan clusters (e.g. since they require the relevant DC identifier, for example), or is it possible, just not interesting?

Comment 6 Yaniv Lavi 2013-11-24 02:35:46 UTC
(In reply to Einav Cohen from comment #5)
> (In reply to Yaniv Dary from comment #4)
> > 
> > So there is no point in allowing reporting on it. We should add a pop up to
> > tell the user he must add it to DC to report on it.
> > 
> 
> you are probably right, and this is probably what we should/will do; but
> just so I will have all the information / understand the root cause of the
> problem: As far as you know: As the reports are implemented today: Is it
> impossible to run them on orphan clusters (e.g. since they require the
> relevant DC identifier, for example), or is it possible, just not
> interesting?

There is no way to do this. Since the report need DC and also the right click reporting looks for dc ID and this is way it doesn't work. should not be possible and not interesting to my opinion.


Yaniv

Comment 8 Eli Mesika 2013-11-24 13:44:18 UTC
Einav 

Is that a UI BZ ?

Comment 9 Einav Cohen 2013-11-25 19:18:33 UTC
(In reply to Eli Mesika from comment #8)
> Einav 
> 
> Is that a UI BZ ?

yes (and indeed the component is set correctly to 'ovirt-engine-webadmin-portal').

Comment 10 Einav Cohen 2015-09-17 13:34:48 UTC
low priority, no capacity - pushing to 4.0 for now.

Comment 11 Red Hat Bugzilla Rules Engine 2015-11-30 20:43:25 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 12 Alexander Wels 2016-07-21 17:08:17 UTC
Can we close this one, since the reports are no longer available in 4.0?