Bug 1381181 - [FC24] ImportError: No module named 'ovirtsdk4.services'
Summary: [FC24] ImportError: No module named 'ovirtsdk4.services'
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-log-collector
Classification: oVirt
Component: Core
Version: ---
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.1.0-alpha
: ---
Assignee: Rafael Martins
QA Contact: Pavel Stehlik
URL:
Whiteboard:
Depends On:
Blocks: oVirt_Fedora24_Support
TreeView+ depends on / blocked
 
Reported: 2016-10-03 10:49 UTC by Sandro Bonazzola
Modified: 2017-05-11 09:27 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-10-03 11:48:39 UTC
oVirt Team: Integration
Embargoed:
sbonazzo: ovirt-4.1?
rule-engine: blocker?
rule-engine: planning_ack?
sbonazzo: devel_ack+
rule-engine: testing_ack?


Attachments (Terms of Use)

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.


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