libvirt fails to unlink the image disks after creating VMs using virt-install: cannot unlink file 'FOO': Success

Solution Verified - Updated -

Issue

  • Deleting an ISO used to install a VM fails
  • The error cannot unlink file '/var/lib/libvirt/images/xxx.iso': Success is recorded

Environment

  • Red Hat Enterprise Linux 7.2
  • Vitual machines using libvirt and KVM

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