Bug 1215664

Summary: guestfs broken on openSUSE-15.5: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH
Product: [openSUSE] openSUSE Distribution Reporter: Moritz Duge <duge>
Component: Virtualization:ToolsAssignee: Charles Arnold <carnold>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P3 - Medium CC: aginies
Version: Leap 15.5   
Target Milestone: ---   
Hardware: x86-64   
OS: openSUSE Leap 15.5   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Moritz Duge 2023-09-25 10:35:22 UTC
guestfs-tools are broken on openSUSE-LEAP-15.5.
I've tested virt-format an guestmount. And both give me this error:

libguestfs: error: cannot find any suitable libguestfs supermin, fixed or old-style appliance on LIBGUESTFS_PATH (search path: /usr/lib64/guestfs)

Tested on a freshly booted openSUSE-LEAP-15.5 live cd.
https://download.opensuse.org/distribution/leap/15.5/live/openSUSE-Leap-15.5-KDE-Live-x86_64-Build10.117-Media.iso
sudo zypper in guestfs-tools
fallocate -l64M disk.img
virt-format -a disk.img

Works on Tumbleweed (20230921).


Maybe related Tumbleweed bugs:

supermin throws error regarding wrong libguestfs version
https://bugzilla.opensuse.org/show_bug.cgi?id=997936

libguestfs: inconsistent LIBGUESTFS_PATH
https://bugzilla.opensuse.org/show_bug.cgi?id=1172818

guestfs regression: non functional network due to missing sysconfig-netconfig
https://bugzilla.opensuse.org/show_bug.cgi?id=1215586
Comment 1 Antoine Ginies 2023-09-25 10:49:44 UTC
please run:
libguestfs-test-tool


are you sure that libguestfs-appliance is installed on your system? The deps issue has been fixed in TW (https://bugzilla.suse.com/show_bug.cgi?id=1212972)
Comment 2 Moritz Duge 2023-09-25 11:23:15 UTC
(In reply to Antoine Ginies from comment #1)
> [...]
> are you sure that libguestfs-appliance is installed on your system?

Indeed, libguestfs-appliance was not installed.

This solves the problem:
zypper in libguestfs-appliance

I guess that dependency should be added to the openSUSE-LEAP-15.5 libguestfs RPM.


The deps
> issue has been fixed in TW
> (https://bugzilla.suse.com/show_bug.cgi?id=1212972)

I can't see that bug, even when being logged in:
You are not authorized to access bug #1212972.
Comment 3 Charles Arnold 2023-09-25 21:56:00 UTC
(In reply to Moritz Duge from comment #2)
> (In reply to Antoine Ginies from comment #1)
> > [...]
> > are you sure that libguestfs-appliance is installed on your system?
> 
> Indeed, libguestfs-appliance was not installed.
> 
> This solves the problem:
> zypper in libguestfs-appliance
> 
> I guess that dependency should be added to the openSUSE-LEAP-15.5 libguestfs
> RPM.

You have already resolved the problem but the fix for this problem may be
tested with RPMs found here.

https://download.opensuse.org/repositories/home:/charlesa/15.5/x86_64/

The official openSUSE-LEAP-15.5 update repo will have the fix in the coming
days.
Comment 5 OBSbugzilla Bot 2023-09-26 00:35:07 UTC
This is an autogenerated message for OBS integration:
This bug (1215664) was mentioned in
https://build.opensuse.org/request/show/1113550 Factory / libguestfs
Comment 6 Maintenance Automation 2023-10-16 12:30:03 UTC
SUSE-RU-2023:4088-1: An update that has five fixes can now be installed.

Category: recommended (moderate)
Bug References: 1212972, 1215461, 1215543, 1215586, 1215664
Sources used:
SUSE Linux Enterprise Micro 5.5 (src): libguestfs-1.48.6-150500.3.8.1
Server Applications Module 15-SP5 (src): libguestfs-1.48.6-150500.3.8.1

NOTE: This line indicates an update has been released for the listed product(s). At times this might be only a partial fix. If you have questions please reach out to maintenance coordination.
Comment 7 Charles Arnold 2023-10-25 20:48:37 UTC
The fix is now available in the update channel.