Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1684422 - [machines]There should be a warning when https://*.iso is used as the installation resource
Summary: [machines]There should be a warning when https://*.iso is used as the install...
Status: POST
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: cockpit-appstream
Version: 8.0
Hardware: x86_64
OS: Linux
Target Milestone: rc
: ---
Assignee: Katerina Koukiou
QA Contact: YunmingYang
Depends On:
TreeView+ depends on / blocked
Reported: 2019-03-01 08:58 UTC by YunmingYang
Modified: 2019-04-11 08:54 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

Description YunmingYang 2019-03-01 08:58:41 UTC
Description of problem:
Currently,when https://*.iso is used as the installation resource, vm will be created, but installation will fail with the following error:

"Error validating install location: Could not find an installable distribution at ''.The location must be the root directory of an install tree. See virt-install man page for various distro examples."

As https://*.iso is not supported, in order to be more user friendly, it's better to show a warning message when https://*.iso is used, and disable the create button to terminate vm creation process until correct parameters are setted.

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

How reproducible:

Steps to Reproduce:
1.Login to cockpit and open Virtual Machines page.
2.Click 'Create VM' button to open the vm creation dialogue window
3.Choose the url as the installation source type
4.Input a https url of iso for the installation source,such as
5.Check 'Immediately Start' checkbox,then click 'Create' button

Actual results:
1. the VM was created,but installation failed with the error above

Expected results:
1.There is a warning saying "https://*.iso is not supported" when https://*.iso is used as the installation source,and the create button should be disabled.

Additional info:

Comment 1 Martin Pitt 2019-03-04 09:47:53 UTC
Katerina, I thought that creating a VM from an iso was supported? We do have the --cdrom install method in the code at least.

This doesn't seem to be an RFE, but an actual bug, so adjusting the title.

Comment 2 Andreas Nilsson 2019-03-08 13:36:19 UTC
Martin, we support installing from local ISO and installing from http OS tree, but not installing a remote ISO served over http.
The UI is probably a bit vague here. Currently it does say URL as the Installation Source Type. Maybe "Installation Tree" or something similar would be clearer. It would also help if the error was inline instead of telling you only after it started creating the VM.

Comment 3 Katerina Koukiou 2019-04-11 08:54:30 UTC

This PR allows using ISOs on URLs.

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