Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.

Bug 1362105

Summary: missing module enum for ovirtsdk4
Product: [oVirt] ovirt-engine-sdk-python Reporter: movciari
Component: CoreAssignee: Ondra Machacek <omachace>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.0.0aCC: bugs, juan.hernandez
Target Milestone: ---Flags: movciari: planning_ack?
movciari: devel_ack?
movciari: testing_ack?
Target Release: ---   
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-08-01 10:00:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Infra RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description movciari 2016-08-01 09:55:08 UTC
Description of problem:
On RHEL 7.2 where RHEV 4.0 is installed, which means ovirtsdk4 is installed there from RPM, "api = con.system_service()" gives "ImportError: No module named enum"

Version-Release number of selected component (if applicable):
python-ovirt-engine-sdk4-4.0.0-0.0.a3.el7ev.x86_64

How reproducible:
always

Steps to Reproduce:
1. from ovirtsdk4 import Connection
2. con = Connection(url='https://hostname/ovirt-engine/api', username='admin@internal', password='pass')
3. api = con.system_service()

Actual results:
ImportError: No module named enum

Expected results:
should return system service

Additional info:

Comment 1 Ondra Machacek 2016-08-01 10:00:56 UTC

*** This bug has been marked as a duplicate of bug 1349774 ***