-
Bug
-
Resolution: Unresolved
-
Normal
-
rhel-10.0
-
qemu-kvm-9.1.0-17.el10
-
None
-
Low
-
Upstream
-
rhel-sst-virtualization
-
ssg_virtualization
-
3
-
False
-
-
None
-
None
-
Requested
-
None
-
-
All
-
None
What were you trying to do that didn't work?
Run qemu-trace-stap with `qemu-tools` installed, but without manually installing any other packages.
Please provide the package NVR for which bug is seen:
qemu-kvm-9.1.0-15.el10
How reproducible:
100%
Steps to reproduce
- after installing qemu-tools, but not manually adding any extra dependencies, try the following (as of this bug report, that means systemtap-client and systemtap-devel are not installed by default):
- qemu-trace-stap run `which qemu-io` 'nbd_send*'
Expected results
No python stack trace when systemtap-client is not installed.
We don't want to necessarily have qemu-tools drag in the entire systemtap ecosystem on every system, so our options are to split qemu-tools into two RPMs (with a new RPM for qemu-trace-stap and the proper dependency on /usr/bin/stap), or to keep the current packaging scheme where systemtap is not a dependency, but where the qemu-trace-stap script itself gives a graceful error message about needing to install stap rather than dumping a stack trace.
Actual results
Traceback (most recent call last):
File "/usr/bin/qemu-trace-stap", line 169, in <module>
main()
File "/usr/bin/qemu-trace-stap", line 165, in main
args.func(args)
File "/usr/bin/qemu-trace-stap", line 83, in cmd_run
subprocess.call(stapargs)
File "/usr/lib64/python3.12/subprocess.py", line 389, in call
with Popen(*popenargs, **kwargs) as p:
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib64/python3.12/subprocess.py", line 1026, in {}init{}
self._execute_child(args, executable, preexec_fn, close_fds,
File "/usr/lib64/python3.12/subprocess.py", line 1955, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)
FileNotFoundError: [Errno 2] No such file or directory: 'stap'
- clones
-
RHEL-47340 [Qemu RHEL-9] qemu-trace-stap should handle lack of stap more gracefully
-
- Release Pending
-
- links to
-
RHBA-2025:147447 qemu-kvm update