已开启
libguestfs: error: /usr/bin/supermin exited with error status 1 #15
AtomGit-Bot创建于  2022年11月10日
AtomGit-Bot
2022年11月10日 创建

【标题描述】能够简要描述问题:说明什么场景下,做了什么操作,出现什么问题(尽量使用正向表达方式)
yum install libguestfs后,使用libguestfs-test-tool跑测试用例不通过
【环境信息】
(1)操作系统信息:

[root@localhost ~]# uname --all
Linux localhost.localdomain 5.10.0-60.18.0.50.r509_2.hce2.x86_64 #1 SMP Sat Oct 8 13:01:36 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

(2)配置Repo源:openEuler-22.03-LTS
https://repo.huaweicloud.com/openeuler/openEuler-22.03-LTS/everything/x86_64/

(3)发现问题的组件版本信息
libguestfs

【问题复现步骤】
yum install libguestfs
libguestfs-test-tool
必现失败
【预期结果】
libguestfs-test-tool全部通过
【实际结果】
如下
【附件信息】

[root@localhost ~]# libguestfs-test-tool
     ************************************************************
     *                    IMPORTANT NOTICE
     *
     * When reporting bugs, include the COMPLETE, UNEDITED
     * output below in your bug report.
     *
     ************************************************************
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin
SELinux: Disabled
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: libvirt
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_hv: /usr/bin/qemu-kvm
guestfs_get_memsize: 768
guestfs_get_network: 0
guestfs_get_path: /usr/lib64/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recovery_proc: 1
guestfs_get_smp: 1
guestfs_get_sockdir: /tmp
guestfs_get_tmpdir: /tmp
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: launch: program=libguestfs-test-tool
libguestfs: launch: version=1.40.2libvirt
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=libvirt
libguestfs: launch: tmpdir=/tmp/libguestfsYD9Nl3
libguestfs: launch: umask=0027
libguestfs: launch: euid=0
libguestfs: libvirt version = 6002000 (6.2.0)
libguestfs: guest random name = guestfs-81m58dxj1k5kwvw2
libguestfs: connect to libvirt
libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0
libguestfs: successfully opened libvirt handle: conn = 0x55693ab655a0
libguestfs: qemu version (reported by libvirt) = 6002000 (6.2.0)
libguestfs: get libvirt capabilities
libguestfs: parsing capabilities XML
libguestfs: build appliance
libguestfs: begin building supermin appliance
libguestfs: run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d
supermin: could not detect package manager used by this system or distro.

If this is a new Linux distro, or not Linux, or a Linux distro that uses
an unusual packaging format then you may need to port supermin.  If
you are expecting that supermin should work on this system or distro
then it may be that the package detection code is not working.

To list which package handlers are compiled into this version of
supermin, do:

  supermin --list-drivers

supermin: version: 5.1.19
libguestfs: error: /usr/bin/supermin exited with error status 1, see debug messages above
libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt]
libguestfs: closing guestfs handle 0x55693ab64790 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsYD9Nl3

likedislike
AAtomGit-Bot
2022年11月10日 创建了缺陷
2022年11月10日 评论:

Hi gglzf4, welcome to the openEuler Community.
I'm the Bot here serving you. You can find the instructions on how to interact with me at Here.
If you have any questions, please contact the SIG: System-tool, and any of the maintainers: @Charlie_li , @eric14chan , @ruebb , @zhuchunyi , @gitee-cmd

likedislike
openeuler-ci-botopeneuler-ci-bot成员
2022年11月10日 添加了   sig/System-tool 标签
2022年11月11日 评论:

发现同样问题,无法使用,在20.03-sp3版本上测试正常

likedislike
2022年11月14日 评论:

遇到同样的问题,组件无法使用,问题比较严重

likedislike
AAtomGit-Bot
2022年11月15日 修改了描述
AAtomGit-Bot
2022年11月15日 修改了标题
AtomGit-Bot
2022年11月15日 评论:

supermin-5.1.19-15.oe2203 已解决

likedislike
2023年11月1日 评论:

supermin-5.1.19-15.oe2203 已解决

# libguestfs-test-tool
     ************************************************************
     *                    IMPORTANT NOTICE
     *
     * When reporting bugs, include the COMPLETE, UNEDITED
     * output below in your bug report.
     *
     ************************************************************
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/root/bin
XDG_RUNTIME_DIR=/run/user/0
SELinux: Disabled
guestfs_get_append: (null)
guestfs_get_autosync: 1
guestfs_get_backend: libvirt
guestfs_get_backend_settings: []
guestfs_get_cachedir: /var/tmp
guestfs_get_hv: /usr/bin/qemu-kvm
guestfs_get_memsize: 768
guestfs_get_network: 0
guestfs_get_path: /usr/lib64/guestfs
guestfs_get_pgroup: 0
guestfs_get_program: libguestfs-test-tool
guestfs_get_recovery_proc: 1
guestfs_get_smp: 1
guestfs_get_sockdir: /tmp
guestfs_get_tmpdir: /tmp
guestfs_get_trace: 0
guestfs_get_verbose: 1
host_cpu: x86_64
Launching appliance, timeout set to 600 seconds.
libguestfs: launch: program=libguestfs-test-tool
libguestfs: launch: version=1.40.2libvirt
libguestfs: launch: backend registered: unix
libguestfs: launch: backend registered: uml
libguestfs: launch: backend registered: libvirt
libguestfs: launch: backend registered: direct
libguestfs: launch: backend=libvirt
libguestfs: launch: tmpdir=/tmp/libguestfsCFsJxT
libguestfs: launch: umask=0022
libguestfs: launch: euid=0
libguestfs: libvirt version = 6002000 (6.2.0)
libguestfs: guest random name = guestfs-ozxdb1qo3j9hcmty
libguestfs: connect to libvirt
libguestfs: opening libvirt handle: URI = qemu:///system, auth = default+wrapper, flags = 0
libguestfs: successfully opened libvirt handle: conn = 0x55b950e685e0
libguestfs: qemu version (reported by libvirt) = 6002000 (6.2.0)
libguestfs: get libvirt capabilities
libguestfs: parsing capabilities XML
libguestfs: build appliance
libguestfs: begin building supermin appliance
libguestfs: run supermin
libguestfs: command: run: /usr/bin/supermin
libguestfs: command: run: \ --build
libguestfs: command: run: \ --verbose
libguestfs: command: run: \ --if-newer
libguestfs: command: run: \ --lock /var/tmp/.guestfs-0/lock
libguestfs: command: run: \ --copy-kernel
libguestfs: command: run: \ -f ext2
libguestfs: command: run: \ --host-cpu x86_64
libguestfs: command: run: \ /usr/lib64/guestfs/supermin.d
libguestfs: command: run: \ -o /var/tmp/.guestfs-0/appliance.d
supermin: could not detect package manager used by this system or distro.

If this is a new Linux distro, or not Linux, or a Linux distro that uses
an unusual packaging format then you may need to port supermin.  If
you are expecting that supermin should work on this system or distro
then it may be that the package detection code is not working.

To list which package handlers are compiled into this version of
supermin, do:

  supermin --list-drivers

supermin: version: 5.1.19
libguestfs: error: /usr/bin/supermin exited with error status 1, see debug messages above
libguestfs: clear_socket_create_context: setsockcreatecon failed: NULL: Invalid argument [you can ignore this message if you are not using SELinux + sVirt]
libguestfs: closing guestfs handle 0x55b950e67830 (state 0)
libguestfs: command: run: rm
libguestfs: command: run: \ -rf /tmp/libguestfsCFsJxT
[root@localhost virt-diff]# rpm -qi supermin
Name        : supermin
Version     : 5.1.19
Release     : 16.oe2203sp1
Architecture: x86_64

这个问题在openEuler 22.03 LTS SP1上也没有解决吧,supermin已经是5.1.19-16版本了?

likedislike