Cannot install VM ('Consider setting virt_use_nfs')

Solution Verified - Updated -

Issue

  • When trying to install a new VM, we see the following error:
Dec 26 16:27:59 rhel8.example.com libvirtd[834]: 2018-12-26 06:27:59.391+0000: 4616: warning : virSecuritySELinuxSetFileconHelper:1195 : Setting security context 'system_u:object_r:virt_content_t:s0' on '<install-disk.iso>' not supported. Consider setting virt_use_nfs
Dec 26 16:27:59 rhel8.example.com libvirtd[834]: 2018-12-26 06:27:59.465+0000: 834: error : qemuProcessReportLogError:1923 : internal error: qemu unexpectedly closed the monitor: 2018-12-26T06:27:59.439731Z qemu-kvm: -drive file=<install-disk.iso>,format=raw,if=none,id=drive-sata0-0-0,media=cdrom,readonly=on: Could not open '<install-disk.iso>': Permission denied

Environment

  • Red Hat Enterprise Linux (RHEL) 8 (KVM Virtualization host)
  • install ISO mounted from NFS server

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content