Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1334557
Summary: | libxl: default video errors with 'videoram must be at least 4MB for CIRRUS' | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Konrad Rzeszutek Wilk <ketuzsezr> |
Component: | libvirt | Assignee: | Libvirt Maintainers <libvirt-maint> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 24 | CC: | agedosier, berrange, clalancette, crobinso, dyuan, fjin, itamar, jfehlig, ketuzsezr, laine, libvirt-maint, veillard, virt-maint |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libvirt-1.3.3.1-2.fc24 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-05-23 20:02:31 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Attachments: |
Description
Konrad Rzeszutek Wilk
2016-05-10 02:13:20 UTC
This is also a problem with virt-install: [root@tst032 F19-64]# virt-install -v -n F24-64 --memory 1024 --cdrom /root/Fedora-Server-dvd-x86_64-24_Alpha-1.7.iso --disk /var/lib/libvirt/images/f24-i686.img --network bridge=switch,mac=00:0f:4b:01:00:87 Starting install... ERROR unsupported configuration: videoram must be at least 4MB for CIRRUS Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect xen:/// start F24-64 otherwise, please restart your installation. [root@tst032 F19-64]# virsh --connect xen:/// start F24-64 error: failed to get domain 'F24-64' error: Domain not found Thanks for the report, please provide virt-install --debug when reproducing Created attachment 1155800 [details]
Output from: virt-install -v -n F24-64 --memory 1024 --cdrom /root/Fedora-Server-dvd-x86_64-24_Alpha-1.7.iso --disk /var/lib/libvirt/images/f24-i686.img --network bridge=switch,mac=00:0f:4b:01:00:87
> libvirtError: unsupported configuration: videoram must be at least 4MB for
> CIRRUS
That error comes from src/libxl/libxl_conf.c:libxlMakeVideo . virt-install isn't adding an explicit video ddevice, so the default video dev is being added, and I suspect some part of the code isn't setting video ram correctly, or libxl should be updated to expect ram=0 or whatever the value is by default.
Unfortunately the libvirt unit test suite doesn't seem to touch this code, I tried editing one of the tests in xlconfigdata/ but it didn't trigger
(In reply to Cole Robinson from comment #4) > > libvirtError: unsupported configuration: videoram must be at least 4MB for > > CIRRUS > > That error comes from src/libxl/libxl_conf.c:libxlMakeVideo . virt-install > isn't adding an explicit video ddevice, so the default video dev is being > added, and I suspect some part of the code isn't setting video ram > correctly, or libxl should be updated to expect ram=0 or whatever the value > is by default. > > Unfortunately the libvirt unit test suite doesn't seem to touch this code, I > tried editing one of the tests in xlconfigdata/ but it didn't trigger This bug was introduced by libvirt commit 6879be48. I've sent a patch upstream that fixes the issue in my testing https://www.redhat.com/archives/libvir-list/2016-May/msg00700.html In libvirt 1.3.3-maint now Do you have a test-build I could try out? Thanks! I kicked off a scratch build here; http://koji.fedoraproject.org/koji/taskinfo?taskID=14108914 OK, I downloaded it and installed it. Now I get: nable 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 90, in cb_wrapper callback(asyncjob, *args, **kwargs) File "/usr/share/virt-manager/virtManager/create.py", line 2277, in _do_async_install guest.start_install(meter=meter) File "/usr/share/virt-manager/virtinst/guest.py", line 501, in start_install noboot) File "/usr/share/virt-manager/virtinst/guest.py", line 416, in _create_guest dom = self.conn.createLinux(start_xml or final_xml, 0) File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3701, in createLinux if ret is None:raise libvirtError('virDomainCreateLinux() failed', conn=self) libvirtError: unsupported configuration: videoram must be at least 8MB for CIRRUS Umm? Created attachment 1158086 [details] stderr output When running: virt-install --debug -v -n F24-64 --memory 1024 --cdrom /root/Fedora-Server-dvd-x86_64-24_Alpha-1.7.iso --disk /var/lib/libvirt/images/f24-i686.img --network bridge=switch,mac=00:0f:4b:01:00:87 2> ~/1334557_stdout.txt This is with: [root@tst032 ~]# rpm -qi libvirt Name : libvirt Version : 1.3.3.1 Release : 1.fc24 Architecture: x86_64 Install Date: Mon 16 May 2016 03:16:05 PM EDT Group : Development/Libraries Size : 0 License : LGPLv2+ Signature : (none) Source RPM : libvirt-1.3.3.1-1.fc24.src.rpm Build Date : Mon 16 May 2016 10:52:29 AM EDT Build Host : buildvm-07.phx2.fedoraproject.org Relocations : (not relocatable) Packager : Fedora Project Vendor : Fedora Project URL : http://libvirt.org/ Summary : Library providing a simple virtualization API Description : Libvirt is a C toolkit to interact with the virtualization capabilities of recent versions of Linux (and other OSes). The main package includes the libvirtd server exporting the virtualization support. [root@tst032 ~]# which is the libvirt RPMs built from http://koji.fedoraproject.org/koji/taskinfo?taskID=14108918 scratch build. I suppose some patches are missing. On top of 1.3.4 I have e4d131b8, 3e428670, 538012c8, 96b21fb0, and b90c4b5f to fix this bug. Note that 96b21fb0 and b90c4b5f are only adjusting tests to allow 'make check' to pass. I pulled in all of those. Konrad can you double check that libvirtd was restarted? I could have botched the build though I rebooted the box after I did the install. And just to make sure there were no odd things around I first did 'dnf remove libvirt' and then did 'dnf install libvirt' (with adjusting my local repo to be picked over the updates which had the same version). Pls keep in mind that the error is different - initially it was 4MB, now it is 8MB so there is a fix in there. Just rebooted the box once more just in case. Same error. # virt-install -v -n F24-64 --memory 1024 --cdrom /root/Fedora-Server-dvd-x86_64-24_Alpha-1.7.iso --disk /var/lib/libvirt/images/f24-i686.img --network bridge=switch,mac=00:0f:4b:01:00:87 Starting install... ERROR unsupported configuration: videoram must be at least 8MB for CIRRUS Domain installation does not appear to have been successful. If it was, you can restart your domain by running: virsh --connect xen:/// start F24-64 otherwise, please restart your installation. [root@tst032 ~]# May 16 16:57:24 tst032.dumpdata.com libvirtd[1668]: 1672: error : libxlMakeVideo:2022 : unsupported configuration: videoram must be at least 8MB for CIRRUS I just confirmed that the test build fixes the issues for me. What RPMs did you update? Make sure libvirt-daemon and libvirt-daemon-driver-libxl were included. You can use 'koji download-task 14108918' to download all the RPMs libvirt-1.3.3.1-2.fc24 has been submitted as an update to Fedora 24. https://bodhi.fedoraproject.org/updates/FEDORA-2016-a87b87586a libvirt-1.3.3.1-2.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-a87b87586a I am not sure why it did not work for me before. But I ended up removing all libvirt and then re-intalling (this this using the new repo). And it all worked! Thank you! libvirt-1.3.3.1-2.fc24 has been pushed to the Fedora 24 stable repository. If problems still persist, please make note of it in this bug report. |