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 1656895 - Libvirt fails to start a VM using SPICE graphics with OpenGL turned off with error "No DRM render nodes available"
Summary: Libvirt fails to start a VM using SPICE graphics with OpenGL turned off with ...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.7
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Erik Skultety
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-06 15:49 UTC by Erik Skultety
Modified: 2018-12-07 09:13 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-12-07 09:13:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1628892 0 unspecified CLOSED Permission denied when start guest with egl-headless display 2021-02-22 00:41:40 UTC

Internal Links: 1628892

Description Erik Skultety 2018-12-06 15:49:00 UTC
Description of problem:
Libvirt is trying to pick a default DRI renderer for SPICE even if the XML doesn't have OpenGL turned on using <gl enable='yes'/>. This is a problem on a headless server without DRI because it fails to start a domain which previously started just fine.

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

How reproducible:
100% if the host doesn't have DRI

Steps to Reproduce:
1. prepare a VM with the following in the XML:
  <graphics type='spice'>
    <listen type='none'/>
  </graphics>
2. rename all /dev/dri/renderDX devices (skip if your host doesn't have DRI)
3. start the VM using virsh

Actual results:
error: Failed to start domain f-live
error: internal error: No DRM render nodes available

Expected results:
The domain starts just fine.

Additional info:

Comment 1 Erik Skultety 2018-12-06 16:13:55 UTC
Patch proposed upstream:
https://www.redhat.com/archives/libvir-list/2018-December/msg00176.html

Comment 2 Erik Skultety 2018-12-07 09:13:44 UTC
I'm closing this as NOTABUG since the intended future version of libvirt (5.0.0) will have this fixed, so technically there wouldn't be an issue to reproduce. However, I'm moving the reproducer for test verification purposes to the BZ linked below.


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