Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionRichard W.M. Jones
2019-01-28 13:56:25 UTC
+++ This bug was initially created as a clone of Bug #1669891 +++
Description of problem:
nbdkit python plugin (both Python 2 & Python 3) was found to
be initializing the built in nbdkit API module incorrectly. A
simple test which demonstrates this is:
$ echo "import nbdkit" > test.py
$ nbdkit python test.py
Traceback (most recent call last):
File "test.py", line 1, in <module>
import nbdkit
ModuleNotFoundError: No module named 'nbdkit'
nbdkit: error: test.py: error running this script
NOTE you will only see the error with a very recent version
of Python 3.7. Earlier versions of Python don't fail, but
since we are using the Python API incorrectly they could
begin to fail at any time.
This is fixed upstream in:
https://github.com/libguestfs/nbdkit/commit/6e756abe3db120f67bd789e3eb2f5a0449b8dab1https://github.com/libguestfs/nbdkit/commit/308092dfaf191e9ef59eeaa3db81f3b65a3bb31f
Comment 2Richard W.M. Jones
2019-05-13 10:15:44 UTC
It looks like we aren't going to fix this in RHEL 7. The issue should be addressed
in RHEL 8.1 when we move to nbdkit >= 1.12 there.