Bug 1836404 - missing python2-fmf dependency resulting in traceback in standard-inventory-qcow2 ImportError: No module named fmf
Summary: missing python2-fmf dependency resulting in traceback in standard-inventory-q...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora EPEL
Classification: Fedora
Component: standard-test-roles
Version: epel7
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Andrei Stepanov
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-05-15 19:42 UTC by Pavel Cahyna
Modified: 2024-07-09 03:10 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2024-07-09 03:10:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Pavel Cahyna 2020-05-15 19:42:00 UTC
Description of problem:
/usr/share/ansible/inventory/standard-inventory-qcow2 is a python script and it imports fmf, but the package pulls in only python36-fmf (indirectly via fmf). It does not pull in the python2 version of fmf, so importing it fails.

Version-Release number of selected component (if applicable):
standard-test-roles-2.17-1.el7

How reproducible:
easily

Steps to Reproduce:
1. /usr/share/ansible/inventory/standard-inventory-qcow2 --help

Actual results:
Traceback (most recent call last):
  File "/usr/share/ansible/inventory/standard-inventory-qcow2", line 8, in <module>
    import fmf
ImportError: No module named fmf


Expected results:

usage: standard-inventory-qcow2 [-h] [--list] [--host HOST]
                                [subjects [subjects ...]]

Inventory for a QCow2 test image
...

Additional info:

Workaround is to install python2-fmf manually. The package should depend on it, or alternatively it should ship the python3 version of the inventory script.

Comment 1 Troy Dawson 2024-07-09 03:10:15 UTC
EPEL 7 entered end-of-life (EOL) status on 2024-06-30.\n\nEPEL 7 is no longer maintained, which means that it\nwill not receive any further security or bug fix updates.\n As a result we are closing this bug.


Note You need to log in before you can comment on or make changes to this bug.