Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-122315

guestfs tools fail to run with "could not create appliance through libvirt. Original error from libvirt: Cannot find 'passt' in path"

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.2
    • rhel-10.2
    • libguestfs
    • None
    • libguestfs-1.57.5-1.el10
    • None
    • Important
    • rhel-virt-tools
    • None
    • False
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • Requested
    • None
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      Guestfs tools, virt-v2v etc fail to run with the error:

      virt-v2v: error: libguestfs error: could not create appliance through libvirt. Original error from libvirt: Cannot find 'passt' in path: No such file or directory [code=38 int1=2]

      This problem was found in Fedora recently, and the reason for it is explained here:

      https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/message/YDHKKQSDURTMSKSN6GW3QGQI43DTFXNH/

      Dan Berrange worked out what's happening here.

      In libguestfs 1.57.1 we checked for passt at runtime, and fell back to
      the older (SLIRP) method of user networking. So the test would still
      have worked even though passt was not installed.

      In libguestfs 1.57.4 we now assume that passt is installed. So now
      the test is failed because passt is not installed.

      I'll need to add a Requires on passt (to libguestfs).

      Currently it is possible to uninstall passt which breaks everything, so we have to make that a hard Requires instead of Recommends.

              rhn-eng-rjones Richard Jones
              rhn-eng-rjones Richard Jones
              virt-maint virt-maint
              virt-bugs virt-bugs
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: