Bug 1381181

Summary: [FC24] ImportError: No module named 'ovirtsdk4.services'
Product: [oVirt] ovirt-log-collector Reporter: Sandro Bonazzola <sbonazzo>
Component: CoreAssignee: Rafael Martins <rmartins>
Status: CLOSED NOTABUG QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: ---CC: bugs, juan.hernandez, omachace
Target Milestone: ovirt-4.1.0-alphaKeywords: Regression
Target Release: ---Flags: sbonazzo: ovirt-4.1?
rule-engine: blocker?
rule-engine: planning_ack?
sbonazzo: devel_ack+
rule-engine: testing_ack?
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-10-03 11:48:39 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Integration RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1355626    

Description Sandro Bonazzola 2016-10-03 10:49:18 UTC
Description of problem:
On Fedora 24:

# ovirt-log-collector list --verbose
This command will collect system configuration and diagnostic
information from this system.
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before
being passed to any third party.
No changes will be made to system configuration.
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip): 
ERROR: Failure fetching information about hypervisors from API.
Error (ImportError): No module named 'ovirtsdk4.services'
ERROR: _get_hypervisors_from_api: No module named 'ovirtsdk4.services'
INFO: No hypervisors were found, therefore no hypervisor data will be listed.

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

ovirt-log-collector-4.1.0-0.0.master.20160823133351.git9a06a36.fc24.noarch
ovirt-engine-4.1.0-0.0.master.20161002221922.gitee66cd1.fc24.noarch
python3-ovirt-engine-sdk4-4.0.0-0.1.20160930git9bc8c0b.fc24.x86_64

Comment 1 Red Hat Bugzilla Rules Engine 2016-10-03 10:49:23 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 2 Juan Hernández 2016-10-03 11:34:26 UTC
The build of the SDK used was performed manually and from a commit that was never merged. The issue should not exist in a newer version of the SDK, which should be numbered 4.1.0, not 4.0.0.

Ondra, can you please trigger a new Jenkins build, using the latest tip of the master branch?

Comment 3 Ondra Machacek 2016-10-03 11:44:27 UTC
Yes, I was veryfing patch[1] by manually triggering the job.

[1] https://gerrit.ovirt.org/#/c/64997

Comment 4 Sandro Bonazzola 2016-10-03 11:48:39 UTC
Closing as not a bug. The issue was in the sdk4 python package and it was already fixed. The repository just missed the right package to be published due to a manual build which pulled in an obsolete version.