RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1086577 - [RFE]No error shows with invalid kickstart url or invalid kernel options for Network Install VM
Summary: [RFE]No error shows with invalid kickstart url or invalid kernel options for ...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: virt-manager
Version: 7.0
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: ---
Assignee: Pavel Hrdina
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-04-11 07:05 UTC by zhengqin
Modified: 2016-11-04 01:57 UTC (History)
6 users (show)

Fixed In Version: virt-manager-1.3.2-1.el7
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-04 01:57:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2269 0 normal SHIPPED_LIVE virt-manager bug fix and enhancement update 2016-11-03 13:34:19 UTC

Description zhengqin 2014-04-11 07:05:47 UTC
escription of problem:
For Network Install VM, If you input invalid install URL, an error will be shown, but if you input invalid kickstart url or invalid kernel options, no error will be shown.

Version-Release number of selected component:
virt-manager-0.10.0-20.el7.noarch

How reproducible:
100%

Steps to Reproduce:
1. Start virt-manager.

2. Create a new vm by "Network Install" until "step 2 of 5" on New VM window, input a correct URL for install URL, such as: "http://myhost/server"

3. For Kickstart URL, input an invalid URL, such as: "xxxxxxxxxxxx", and click "Forward" button



Actual result:
1. No error shows.


Expected results:
1. An error should be shown for invalid URL.


Additional info:
1. If you input invalid install URL, an error will be shown.
2. No error will be shown for invalid kernel options.
3. This issue also occurs on latest rhel6u5.

Comment 4 Cole Robinson 2015-11-22 02:11:54 UTC
So I sidestepped this a bit and just removed the kickstart field from the UI:

commit 2178cc8c939cbd74b3c18b1a52b411a4d4f304d6
Author: Cole Robinson <crobinso>
Date:   Sat Nov 21 20:21:09 2015 -0500

    create: Drop explicit kickstart UI
    
    Few users actually use this, and they can easily do it with the kernel
    options field.


Justification is there. As far as kernel options, if someone sent in a patch with a simple syntax check (if there even is one) I'd consider it, but it's not a big deal IMO.

Comment 5 Mike McCune 2016-03-28 23:17:33 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 7 XiaoyunHu 2016-06-20 02:33:23 UTC
Bug 1086577 - [RFE]No error shows with invalid kickstart url or invalid kernel options for Network Install VM

I can reproduce this bug with package:
virt-manager-1.2.1-8.el7.noarch

Steps are the same as description above.

Then try to verify with new build:
virt-manager-1.3.2-1.el7.noarch

Step:
1. Lauch virt-manager
2. Create a new vm by "Network Install" until "step 2 of 5" on New VM window, click URL Options to check if Kickstart URL textbox shown.
3. Input correct URL for install URL, such as: "http://myhost/server", Click "Forward" button.
4. Click "Back" button to step 2 and input incorrect URL for install URL, such as: "xxxxxx", Click "Forward" button.
5. Click "Back" button to step 2 and input correct URL for install URL, such as: "http://myhost/server" and input incorrect URL for Kernal options, such as "xxxx", click "Forward" button.

Result:
After step 2 , KIckstart URL textbox is not shown under URL options.
After step 3, No error shows.
After step 4, An error is shown for invalid URL.
After step 5, No error shows.

According to the result above in the latest version of virt-manager, move this bug from ON_QA to VERIFIED.

Comment 9 errata-xmlrpc 2016-11-04 01:57:21 UTC
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://rhn.redhat.com/errata/RHBA-2016-2269.html


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