Bug 973513 - [RFE] export all grid data to CSV
Summary: [RFE] export all grid data to CSV
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: RFEs
Version: 3.2.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Nobody
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-12 06:03 UTC by vvyazmin@redhat.com
Modified: 2019-05-16 13:20 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-06-17 14:51:29 UTC
oVirt Team: Infra
Target Upstream Version:
Embargoed:
sherold: Triaged+


Attachments (Terms of Use)
## Print-screen (234.92 KB, image/png)
2013-06-12 06:03 UTC, vvyazmin@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1139198 0 unspecified CLOSED [RFE] Add "Export to CSV" options throughout the GUI (search results for main tabs, alerts, tasks) 2022-07-04 11:52:35 UTC

Internal Links: 1139198

Description vvyazmin@redhat.com 2013-06-12 06:03:31 UTC
Created attachment 759959 [details]
## Print-screen

Description of problem: 
Give to user option to export to OVF file after relevant query in search options

Version-Release number of selected component (if applicable):
RHEVM 3.2 - SF17.1 environment: 

RHEVM: rhevm-3.2.0-11.28.el6ev.noarch 
VDSM: vdsm-4.10.2-21.0.el6ev.x86_64 
LIBVIRT: libvirt-0.10.2-18.el6_4.5.x86_64 
QEMU & KVM: qemu-kvm-rhev-0.12.1.2-2.355.el6_4.3.x86_64 
SANLOCK: sanlock-2.6-2.el6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create a query in search options

Example from real life:
* I'm a regular user of RHEVM product, and I have a permission to use this system, but a don't have any privileges for SysAdmin user.
* Once I found that some of my VM's have status “Image Locked”.
* I did a quick query in search options:
Vms: datacenter = DC01 status != down
* Voila, I get all list with 20 VM's, that have status “Image Locked” (see print-screen)
* Now I want to send this list to System Administrator of company, in order to fix them.
  
Actual results:
I can't do it.

Expected results:
I can export to OVF file after relevant query in search options

Impact on user:

Workaround:
Do  print-screen

Additional info:

print-screen attached. 

/var/log/ovirt-engine/engine.log

/var/log/vdsm/vdsm.log

Comment 1 Itamar Heim 2013-06-13 04:53:09 UTC
I assume CSV, not OVF here (which would make it valid for all grids)

Comment 2 Einav Cohen 2013-09-21 17:44:17 UTC
(In reply to vvyazmin from comment #0)
> 
> Example from real life:
> * I'm a regular user of RHEVM product, and I have a permission to use this
> system, but a don't have any privileges for SysAdmin user.
> * Once I found that some of my VM's have status “Image Locked”.
> * I did a quick query in search options:
> Vms: datacenter = DC01 status != down
> * Voila, I get all list with 20 VM's, that have status “Image Locked” (see
> print-screen)
> * Now I want to send this list to System Administrator of company, in order
> to fix them.
>   
> Actual results:
> I can't do it.

assuming you want to send it to someone with admin access to the RHEV-M setup: why not create a bookmark and refer that admin to the bookmark, or simply send him the search query that you have used ("Vms: datacenter = DC01 status != down")?

[if it is someone without admin privileges to the RHEV-M setup, then it makes sense, however there isn't much that the recipient will be able to do with this list without having such privileges anyway, so doesn't really makes sense...]

Comment 8 RHEL Program Management 2015-04-28 13:26:08 UTC
Quality Engineering Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 11 Einav Cohen 2015-04-29 23:22:12 UTC
We have something today for PDFs via the REST API, I am wondering if this is similar to what we are looking for, only we need CSV format rather than PDF:

./backend/manager/modules/restapi/jaxrs/src/main/java/org/ovirt/engine/api/restapi/pdf
./backend/manager/modules/restapi/jaxrs/src/main/resources/pdf

Comment 12 Einav Cohen 2015-04-30 11:28:47 UTC
Yaniv, do we want the results of the current page being viewed only (we are displaying only 100 items per page, by default)? or of *all* of the results (cross-pages)?

Comment 13 Yaniv Lavi 2015-04-30 14:02:04 UTC
(In reply to Einav Cohen from comment #12)
> Yaniv, do we want the results of the current page being viewed only (we are
> displaying only 100 items per page, by default)? or of *all* of the results
> (cross-pages)?

All of the results, not paged.

Comment 18 Greg Sheremeta 2017-11-30 22:55:06 UTC
I was about to say "related to or blocked by Bug 1154556", but Comment 13 says all results should be returned. So moving to infra.

Comment 19 Doron Fediuck 2018-06-17 14:51:29 UTC
Closing old issues.
If needed, please re-open with a use-case.

Comment 20 Franta Kust 2019-05-16 13:08:48 UTC
BZ<2>Jira Resync


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