Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1743784

Summary: pywbemcli results in ModuleNotFoundError exception
Product: [Fedora] Fedora Reporter: Tony Asleson <tasleson>
Component: pywbemAssignee: Gris Ge <fge>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 30CC: fge, jsafrane
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: pywbem-0.14.3-5.fc30 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-22 02:25:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tony Asleson 2019-08-20 16:37:06 UTC
Description of problem:

The correction for BZ 1724104 renamed wbemcli to pywbemcli which also renamed
wbemcli.py to pywbemcli.py.  This causes the wbem cli to become non-functional.


Version-Release number of selected component (if applicable):

pywbem-0.14.3-2.fc30

How reproducible:

100%


Steps to Reproduce:
Install pywbem-0.14.3-2.fc30, run pywbemcli

Actual results:

$ pywbemcli
Traceback (most recent call last):
  File "/usr/bin/pywbemcli", line 4, in <module>
    import wbemcli
ModuleNotFoundError: No module named 'wbemcli'


Expected results:
$ pywbemcli
usage: pywbemcli [options] server
pywbemcli: error: No WBEM server specified


Additional info:

Need to patch pywbemcli to:


#!/usr/bin/python3

import sys
import pywbemcli

sys.exit(pywbemcli._main())

Comment 1 Fedora Update System 2019-09-13 05:33:06 UTC
FEDORA-2019-0de68db85c has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-0de68db85c

Comment 2 Fedora Update System 2019-09-14 03:39:37 UTC
pywbem-0.14.3-5.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-0de68db85c

Comment 3 Fedora Update System 2019-09-22 02:25:21 UTC
pywbem-0.14.3-5.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.