Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1122970 - [RFE] Allow uploading ISO images to data domains and using them in VMs
[RFE] Allow uploading ISO images to data domains and using them in VMs
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine (Show other bugs)
unspecified
All All
medium Severity medium
: ovirt-4.2.1
: ---
Assigned To: Tal Nisan
Kevin Alon Goldblatt
: FutureFeature, Reopened, UserExperience, ZStream
: 630655 706873 RHEV_ISO_Uploader_UI 1093548 (view as bug list)
Depends On: RHEV_ISO_Uploader_UI 1314387 1317253 1532537 1536826
Blocks: 1417161 1058798 1148699 1511420 1530730 1548856
  Show dependency treegraph
 
Reported: 2014-07-24 09:39 EDT by Daniel Erez
Modified: 2018-05-15 13:38 EDT (History)
36 users (show)

See Also:
Fixed In Version:
Doc Type: Enhancement
Doc Text:
In the current release, an ISO image file can be uploaded, via the Manager or the REST API, to a data storage domain and attached to a virtual machine as a CDROM device.
Story Points: ---
Clone Of: RHEV_ISO_Uploader_UI
: 1530730 (view as bug list)
Environment:
Last Closed: 2018-05-15 13:36:09 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---
sherold: Triaged+
ratamir: testing_plan_complete+


Attachments (Terms of Use)
mockup: Images sub-tab: action buttons (47.12 KB, image/png)
2014-08-04 12:44 EDT, Einav Cohen
no flags Details
mockup: "Upload Image" dialog (39.77 KB, image/png)
2014-08-04 12:44 EDT, Einav Cohen
no flags Details
mock-up: Import Disk (108.52 KB, image/png)
2015-03-23 16:15 EDT, Einav Cohen
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 83136 master MERGED core: Allow uploading of ISO images through webadmin 2017-10-29 11:45 EDT
oVirt gerrit 84434 master MERGED core: Allow attach as CD of ISO images from data domain in webadmin 2017-12-26 07:16 EST
oVirt gerrit 85018 master MERGED storage: Allow attaching a cdrom device from block domain 2017-12-26 06:30 EST
oVirt gerrit 85019 master MERGED core: Allow attaching ISO file on data domains to VM as a cdrom 2017-12-26 07:16 EST
Red Hat Product Errata RHEA-2018:1488 None None None 2018-05-15 13:38 EDT

  None (edit)
Description Daniel Erez 2014-07-24 09:39:35 EDT
+++ This bug was initially created as a clone of Bug #1091377 +++

Description of problem:
It would be helpful to be able to upload iso images through the gui.
Being able to add them through the hosted engine and through nfs is fine in many cases of course, but a more integrated solution into the webgui would be great.

Letting users choose their own iso seems a better solution in many cases, especially if it can go under their own resource pool.

First time poster, so please tell me if I'm doing anything incorrectly.

With my best regards
Klas

--- Additional comment from Sean Cohen on 2014-07-24 09:37:32 EDT ---
Comment 1 Sean Cohen 2014-07-24 09:41:53 EDT
*** Bug 1093548 has been marked as a duplicate of this bug. ***
Comment 2 Einav Cohen 2014-08-04 12:44:20 EDT
Created attachment 923963 [details]
mockup: Images sub-tab: action buttons
Comment 3 Einav Cohen 2014-08-04 12:44:50 EDT
Created attachment 923964 [details]
mockup: "Upload Image" dialog
Comment 4 Einav Cohen 2014-08-04 12:48:35 EDT
graphic design is pretty straight forward IMO:

- add "Upload", "Edit" (? maybe not needed) and "Remove" buttons to the "Images" sub-tab (displayed when an ISO domain is selected in the Storage main tab).
[see attachment 923963 [details]]

- Once "Upload" is clicked, the "Upload Image" dialog is opened. 
[see attachment 923964 [details]]

-  "Edit" opens an "Edit Image", which should be identical to the "Upload Image" dialog, with the information filled and potentially some of the fields disabled (again, probably doesn't make sense, hence not needed). 

- "Remove" should open a standard "are you sure" confirmation dialog.
Comment 5 Sandro Bonazzola 2014-08-13 04:31:32 EDT
Moving to storage: it's a change needed in the engine webadmin for importing an image in an iso domain. Doesn't look like an integration task.
Comment 6 Allon Mureinik 2015-01-24 07:51:40 EST
*** Bug 706873 has been marked as a duplicate of this bug. ***
Comment 7 Allon Mureinik 2015-01-24 08:10:00 EST
*** Bug 630655 has been marked as a duplicate of this bug. ***
Comment 8 Allon Mureinik 2015-03-23 05:17:17 EDT
Note to the UXD team:
We want to handle bug 706873 (uploading a VM's DISK, not an ISO) as part of this effort too.

This will probably require slightly different screens.
Comment 9 Einav Cohen 2015-03-23 16:15:42 EDT
Created attachment 1005575 [details]
mock-up: Import Disk
Comment 10 Einav Cohen 2015-03-23 16:22:37 EDT
(In reply to Allon Mureinik from comment #8)
> Note to the UXD team:
> We want to handle bug 706873 (uploading a VM's DISK, not an ISO) as part of
> this effort too.
> 
> This will probably require slightly different screens.

Thanks for the update, Allon. 

After discussing with Liz:

It may make sense to utilize the 'Import' terminology that we are using throughout the application to represent the action of adding a pre-defined item to the system, rather than creating a 'New' one from scratch. 

It would probably make sense to make this action available from the Disks sub-tab of the VMs main tab as well as from the Disks main-tab [see attachment 1005575 [details]]. 

I am not sure if we will have (or already have) capabilities of importing a Disk from e.g. an Export domain - if we do / will, it would make sense to enable this capability from the same button/dialog, and let the user the option to choose whether he wants to Import the Disk from his local file system, from an Export domain, etc. 

If makes completely no sense to use the 'Import' terminology here, I guess that we can use 'Upload' instead (similarly to the action-name for the ISOs - see attachment 923963 [details]). We can also change the terminology for ISOs to 'Import' (though in ISOs, we are never creating new ones from scratch anyway, so a bit of a different case here). 

If you need any further UXD assistance, please feel free to further 'needinfo' us. thanks.
Comment 11 Tony James 2015-05-20 12:10:09 EDT
From the mockup images it appears as though the graphical image/iso uploader will only support NFS paths.  Will http and/or smb also be an option so users can specify a path like http://$host/$file.iso or smb://$user@$host/$file.iso?

It would be nice for users to be able to upload images/isos from their local machines.  Supporting smb and nfs may provide a way to allow this by allowing users to create a share or export on their local machine.
Comment 12 Waldirio M Pinheiro 2015-07-08 00:04:27 EDT
Morning

I was today in a customer and we was testing and comparing environments (RHEV and VMWare) and this point was very important. In VMWare the client can upload/download image, all from webui, without necessity to copy .iso file between machines for example. This will be a great feature in RHEV, the idea is just upload to ISO data store, defining the correct permission, or download if necessary, without necessity to access the server via cli.

Appreciate and let me know if I can help you about it.

B'Regards
Waldirio
Comment 13 Waldirio M Pinheiro 2016-03-07 20:49:46 EST
Good morning

Would like to ask if are there roadmap for this feature.

Appreciate
Waldirio
Comment 14 Yaniv Lavi 2016-03-09 06:38:38 EST
(In reply to Waldirio M Pinheiro from comment #13)
> Good morning
> 
> Would like to ask if are there roadmap for this feature.
> 
> Appreciate
> Waldirio

We are planning to add image uploader in the GUI on RHEV 4.0.
ISO uploader is planned later on and requires some infra work which has already started.
Comment 19 Daniel Erez 2017-09-27 07:32:07 EDT
*** Bug 1091377 has been marked as a duplicate of this bug. ***
Comment 21 Raz Tamir 2017-11-09 05:21:55 EST
No qe_ack:

No feature page available for us to test this feature
Comment 22 RHEL Product and Program Management 2017-11-09 05:22:57 EST
Quality Engineering Management has reviewed and declined this request.
You may appeal this decision by reopening this request.
Comment 23 Yaniv Lavi 2017-11-09 05:55:02 EST
(In reply to Raz Tamir from comment #21)
> No qe_ack:
> 
> No feature page available for us to test this feature

Please use QE Conditional NAK. Nacking means you are not willing to test and it closes the ticket.
Comment 25 Red Hat Bugzilla Rules Engine 2017-11-21 04:11:33 EST
The documentation text flag should only be set after 'doc text' field is provided. Please provide the documentation text and set the flag to '?' again.
Comment 26 Yaniv Lavi 2017-11-27 10:51:37 EST
Please provide doc text first.
Comment 27 Tal Nisan 2018-01-03 11:56:16 EST
In order to create an ISO disk container via the REST-API the following should be specified within the request:

<disk>
 ....
 <content_type>iso</content_type>
 ....
</disk>


When the disk exists on an active storage domain in the data center it can be attached to the VM as a CDROM device via the REST-API by sending a POST request to: ....ovirt-engine/api/vms/{vm-id}/cdroms

With the content:

<cdrom>
 <file id="{disk-id}"/>
</cdrom>

Where {disk-id} is the ID of the ISO disk created
Comment 29 Kevin Alon Goldblatt 2018-02-28 10:08:24 EST
Verified with the following code:
--------------------------------------
ovirt-engine-4.2.2.1-0.1.el7.noarch
vdsm-4.20.19-1.el7ev.x86_64

Verified with the following scenario:
---------------------------------------
Verified with Tier1 for the upload iso part and by verification of https://bugzilla.redhat.com/show_bug.cgi?id=1536826

Moving to VERIFIED
Comment 32 errata-xmlrpc 2018-05-15 13:36:09 EDT
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/RHEA-2018:1488

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