Virtual Machine Migration Failing to local cluster with the following error `Can't stat exclude path "/sysroot/selinux", No such file or directory`
Issue
-
When attempting to cold-migrate a VM that has SELinux disabled, v2v fails with the following error:
commandrvf: stdout=n stderr=y flags=0x0^M commandrvf: setfiles -F -e /sysroot/dev -e /sysroot/proc -e /sysroot/selinux -e /sysroot/sys -m -r /sysroot -v /sysroot/etc/selinux/targeted/contexts/files/file_contexts /sysroot/^M Can't stat exclude path "/sysroot/selinux", No such file or directory - ignoring.^M setfiles: Could not set context for /sysroot/etc/issue.net: Operation not permitted^M guestfsd: error: Can't stat exclude path "/sysroot/selinux", No such file or directory - ignoring.^M setfiles: Could not set context for /sysroot/etc/issue.net: Operation not permitted^M libguestfs: trace: v2v: selinux_relabel = -1 (error)
Environment
- Openshift Migration Toolkit for Virtualization (MTV)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.