Bug 1333889
| Summary: | missing import in ovirtsdk.xml.params | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-engine-sdk-python | Reporter: | Fabrice Bacchella <fabrice.bacchella> |
| Component: | Core | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Gonza <grafuls> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.6.3.0 | CC: | bugs, mgoldboi |
| Target Milestone: | ovirt-3.6.7 | Keywords: | Rebase, ZStream |
| Target Release: | 3.6.5.1 | Flags: | rule-engine:
ovirt-3.6.z+
mgoldboi: planning_ack+ juan.hernandez: devel_ack+ pstehlik: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ovirt-engine-sdk-python-3.6.5.1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-07-04 12:30:17 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: | |
| Embargoed: | |||
Issue is still occurring on: ovirt-engine-sdk-python-4.0.0.0-0.1.20150908.gitceb901a.fc22.noarch Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release. Verified with: rhevm-sdk-python-3.6.7.0-1.el6ev.noarch |
The following simple python code fails : from ovirtsdk.xml import params ip = params.IP(address = '10.1.1.1', netmask = '255.255.254.0', gateway = '10.1.1.254') With : Traceback (most recent call last): File "<stdin>", line 1, in <module> File "build/bdist.linux-x86_64/egg/ovirtsdk/xml/params.py", line 16346, in __init__ File "build/bdist.linux-x86_64/egg/ovirtsdk/xml/params.py", line 371, in __setattr__ KeyError: 'ovirtsdk.infrastructure.brokers' But it succed if : import ovirtsdk.infrastructure.brokers is added. This import should not be needed, as only params are used in this simple code.