Created attachment 1158171 [details] Install xen fullvirt vm via network install Description of problem: Cannot install xen fullvirt guest via Network Install with virt-manager . It report error message: "Unable to complete install: 'unsupported configuration: videoram must be at least 8MB for CIRRUS'" and when I add a "CIRRUS" type video device the RAM is set by default below the requirement, so still cannot start the HVM guest installation. Actually install xen fullvirt guest via Network Boot (PXE) with the same CIRRUS RAM default size (8192) is successful, and also OK if importing a existing disk image. Version-Release number of selected component (if applicable): Host: Fedora24 development version with latest packages: kerenl-4.5.4-300.fc24.x86_64 xen-4.6.1-8.fc24.x86_64 libvirt-1.3.3.1-1.fc24.x86_64 virt-manager-1.3.2-3.fc24.noarch Guest: RHEL6.8 with: kernel-2.6.32-642.el6.x86_64 virt-manager version on RHEL7.2: virt-manager-1.3.2-1.el7.noarch How reproducible: Always Steps to Reproduce: 1. Start virt-manager and connect localhost or remote xen-4.6.1-8 hypervisor. 2. At virt-manager GUI create a new virtual machine, Select below options: Connection: Xen Choose how you would like to install the operating system: Network Install (HTTP,FTP, or NFS) Xen Type: xen(fullvirt) And Press Forward. 3. File the URL with the compose link, select Forward and keep the setting as default, then press Finish to start the installation. 4. Installation cannot start with the error message "Unable to complete install: 'unsupported configuration: videoram must be at least 8MB for CIRRUS'" displays and detailed information will add in additional info 1. 5. Click "Close" and select "Customize configuration before install", press "Finish" to configure the installation, remove the default type video device and press "Add Hardware" to add a Video device, select "Cirrus" model and press "Begin Installation". Actual results: Installation failed to start with error message "Unable to complete install: 'internal error: libxenlight failed to create new domain 'rhel6.8''". Details are as below: Unable to complete install: 'internal error: libxenlight failed to create new domain 'rhel6.8'' 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 3440, in createLinux if ret is None:raise libvirtError('virDomainCreateLinu) failed', conn=self) libvirtError: internal error: libxenlight failed to create new domain 'rhel6.8' Expected results: The installation should be start successfully. Additional info: 1. The details of error message "Unable to complete install: 'unsupported configuration: videoram must be at least 8MB for CIRRUS'" in step 4 are as below: Unable to complete install: 'unsupported configuration: videoram must be at least 8MB for CIRRUS' 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 3440, in createLinux if ret is None:raise libvirtError('virDomainCreateLinu) failed', conn=self) libvirtError: unsupported configuration: videoram must be at least 8MB for CIRRUS 2. I have tried guests of RHEL5, RHEL6, RHEL7 and Fedora, all guests have this problem. 3. Installing xen fullvirt guest by other method with default type video device also reports the videoram added limitation error, but after adding a CIRRUS type video device the installation can be started, such as Local install media (ISO image or CDROM), Network Boot (PXE) and Import existing disk image. 4. The error also can be reproduced on Fedora23 xen-4.5.3-4.fc23 hypervisor but it doesn't report videoram limitation error, it report the libxenlight failed error directly as in the actual results with the default video device. 5. The error also can be reproduced with upstream virt-manager-1.3.2-3.fc24.
Created attachment 1158172 [details] Error message with the default type video device
Created attachment 1158173 [details] Add a DIRRUS type video device
Created attachment 1158174 [details] Error message with CIRRUS type video device
Moving to libvirt, because libvirt is the one who adds an implicit video device and set the video memory. Upstream commit: commit 3e4286703273b06a21ae07f3e76a66f9661199dc Author: Ján Tomko <jtomko> Date: Wed May 11 12:13:51 2016 +0200 Call per-device post-parse callback even on implicit video
The patch only works when installing guest with xen server, but xen server is not supported by rhel7, so I think the bug should be moved to Fedora24. Would you help to check that please? The test steps below also show that the bug can only be reproduced and verified when using libvirt to install a xen guest. Reproduce Version: xen server: xen-4.6.3-1.fc24.x86_64, libvirt-1.3.3.1-1.fc24.x86_64. local:libvirt-1.3.5-1.el7 Steps to reproduce: 1.Start virt-manager on the local host and connect to the xen server. 2. At virt-manager GUI create a new virtual machine, Select below options and Press Forward. Connection: Xen Select: Network Install (HTTP,FTP, or NFS) Xen Type: xen(fullvirt) 3. File the URL with the compose link, select Forward and keep the setting as default, then press Finish to start the installation. Can not install guest with error occurred: “'unsupported configuration: videoram must be at least 8MB for CIRRUS'". 4.On xen sever , define a xen guest, check the domain xml , it will automatically generate a video 'cirrus'' without vram : <video> <model type='cirrus' heads='1' primary='yes'/> </video> Verify Version: xen server:xen-4.6.3-1.fc25.x86_64, libvirt-1.3.5-2.fc25.x86_64. local: libvirt-1.3.4-1.el7 Steps to verify: 1.Start virt-manager on the local host and connect to the xen server. 2. At virt-manager GUI create a new virtual machine, Select below options and Press Forward Connection: Xen Select: Network Install (HTTP,FTP, or NFS) Xen Type: xen(fullvirt) 3. File the URL with the compose link, select Forward and keep the setting as default, then press Finish to start the installation. No errors like:“'unsupported configuration: videoram must be at least 8MB for CIRRUS'". Only error like "Unable to complete install: 'internal error: libxenlight failed to create new domain 'rhel7.1''". 4. On xen server, define a xen guest, check the domain xml , it will automatically generate a video 'cirrus'' with '8192' vram: <video> <model type='cirrus' vram='8192' heads='1' primary='yes'/> </video>
Oh, definitely. The original bug was filed against virt-manager on RHEL (which was used to access libvirt on a Fedora host). Since the bug affects libvirt on the host, it no longer applies to RHEL.
libvirt-1.3.3.2-1.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-65cc608ebe
libvirt-1.3.3.2-1.fc24 has been pushed to the Fedora 24 testing repository. If problems still persist, please make note of it in this bug report. See https://fedoraproject.org/wiki/QA:Updates_Testing for instructions on how to install test updates. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-65cc608ebe
libvirt-1.3.3.2-1.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report.