Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
Description of problem:
virt-manager cannot create a new guest on a remote xen host if specify the os type.
Version-Release number of selected component (if applicable):
virt-manager-1.1.0-10.el7.noarch
How reproducible:
100%
Steps to Reproduce:
1.Launch virt-manager: #virt-manager.
2.Connect to a remote xen host
("File ->Add Connection ->Choose Xen for Hypervisor -> Click "connect to remote host"
--> choose 'SSH' --> Input the hostname (eg:10.66.106.64)-->Click 'Connect'")
3.Input the password and the connect suceesfully.
4.Click "Create a new virtual machine" and the "New VM" window pops.
5.Select local install media and click Forward.
6.In step 2, choose the needed iso file,
and then select the os type as "Linux" and version as "Red Hat Enterprise Linux 7.0" (or 7.0~5.6)
7.Following steps with default option and click "Foward" button.
8.In step 5, click 'Finish'.
Actual results:
The following error info. comes out:
Unable to complete install: 'invalid argument in Model name contains invalid characters'
Traceback (most recent call last):
File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper
callback(asyncjob, *args, **kwargs)
File "/usr/share/virt-manager/virtManager/create.py", line 1855, in do_install
guest.start_install(meter=meter)
File "/usr/share/virt-manager/virtinst/guest.py", line 411, in start_install
noboot)
File "/usr/share/virt-manager/virtinst/guest.py", line 475, in _create_guest
dom = self.conn.createLinustart_xml or final_xml, 0)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3398, in createLinux
if ret is None:raise libvirtError('virDomainCreateLinu) failed', conn=self)
libvirtError: invalid argument in Model name contains invalid characters
Expected results:
The new guest can be created successfully.
Additional info:
If the os type is 'Generic'/'Windows' or the version of 'Linux' is below RHEL 5.6, the installation will success.
With virt-manager-0.10.0-20.el7(rhel-7.0 released), I cannot reproduce this problem.
Comment 6Giuseppe Scrivano
2015-02-25 09:11:49 UTC
it seems this part is causing the second error during the installation:
<interface type="network">
<source network="default"/>
<mac address="00:16:3e:11:27:26"/>
<model type="virtio-net"/>
</interface>
It should be only "virtio", not "virtio-net"
Comment 7Giuseppe Scrivano
2015-02-25 12:10:59 UTC
Comment 8Giuseppe Scrivano
2015-02-25 14:33:56 UTC
upstream patch:
commit 478ba6d8856e71453dd0b00de87ccdefdb6a43b8
Author: Giuseppe Scrivano <gscrivan>
Date: Wed Feb 25 12:26:45 2015 +0100
Use virtio-net only when it is supported
Do not use the model specified by the OS if it is "virtio-net" and
virtionet is not supported.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1177113
Signed-off-by: Giuseppe Scrivano <gscrivan>
I can reproduce the bug with package:
virt-manager-1.1.0-10.el7.noarch
Try to verify the bug with new build:
virt-manager-1.2.0-3.el7.noarch
Steps:
1.Launch virt-manager: #virt-manager.
2.Connect to a remote xen host
("File ->Add Connection ->Choose Xen for Hypervisor -> Click "connect to remote host" --> choose 'SSH' --> Input the hostname (eg:10.66.106.64)-->Click 'Connect'")
3.Input the password and the connect suceesfully.
4.Click "Create a new virtual machine" and the "New VM" window pops.
5.Select local install media and click Forward.
6.In "Step 2 of 5", choose the needed iso file,
and then select the os type as "Linux" and version as "Red Hat Enterprise Linux 6.6"
7.Following steps with default option and click "Foward" button.
8.In "Step 5 of 5", click 'Finish'.
Result:
The new guest can be created successfully.
According to the result above in the latest version of virt-manager, move this bug from ON_QA to VERIFIED.
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-2015-2206.html
Description of problem: virt-manager cannot create a new guest on a remote xen host if specify the os type. Version-Release number of selected component (if applicable): virt-manager-1.1.0-10.el7.noarch How reproducible: 100% Steps to Reproduce: 1.Launch virt-manager: #virt-manager. 2.Connect to a remote xen host ("File ->Add Connection ->Choose Xen for Hypervisor -> Click "connect to remote host" --> choose 'SSH' --> Input the hostname (eg:10.66.106.64)-->Click 'Connect'") 3.Input the password and the connect suceesfully. 4.Click "Create a new virtual machine" and the "New VM" window pops. 5.Select local install media and click Forward. 6.In step 2, choose the needed iso file, and then select the os type as "Linux" and version as "Red Hat Enterprise Linux 7.0" (or 7.0~5.6) 7.Following steps with default option and click "Foward" button. 8.In step 5, click 'Finish'. Actual results: The following error info. comes out: Unable to complete install: 'invalid argument in Model name contains invalid characters' Traceback (most recent call last): File "/usr/share/virt-manager/virtManager/asyncjob.py", line 89, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/create.py", line 1855, in do_install guest.start_install(meter=meter) File "/usr/share/virt-manager/virtinst/guest.py", line 411, in start_install noboot) File "/usr/share/virt-manager/virtinst/guest.py", line 475, in _create_guest dom = self.conn.createLinustart_xml or final_xml, 0) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3398, in createLinux if ret is None:raise libvirtError('virDomainCreateLinu) failed', conn=self) libvirtError: invalid argument in Model name contains invalid characters Expected results: The new guest can be created successfully. Additional info: If the os type is 'Generic'/'Windows' or the version of 'Linux' is below RHEL 5.6, the installation will success.