Bug 896541
| Summary: | References(Role="XXX") throws an exception | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Jan Safranek <jsafrane> |
| Component: | pywbem | Assignee: | David Nalley <david> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 18 | CC: | david, dmalcolm, miminar |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-08 17:03:25 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: | |||
Patch sent upstream: http://sourceforge.net/mailarchive/message.php?msg_id=30364424 I pushed this patch upstream, SVN rev. 613. pywbem-0.7.0-8.20130128svn613.fc18 has been submitted as an update for Fedora 18. https://admin.fedoraproject.org/updates/pywbem-0.7.0-8.20130128svn613.fc18 pywbem-0.7.0-8.20130128svn613.fc18 has been pushed to the Fedora 18 testing repository. pywbem-0.7.0-8.20130128svn613.fc18 has been pushed to the Fedora 18 stable repository. |
I have python provider of LMI_HostedStorageService association class (association between CIM_OperatingSystem and LMI_StorageService). If I call CIM_OperatingSystem.References with Role argument, I get CIMError: (1, "** this shouldn't happen"). Reproducer (in lmishell): os=root.Linux_ComputerSystem.first_instance() os.references(Role='Antecedent', ResultClass="LMI_HostedStorageService") Traceback (most recent call last): File "<console>", line 1, in <module> File "/usr/lib/python2.7/site-packages/lmi/lmi_client_shell.py", line 387, in wrapped return fn(self, *args, **kwargs) File "/usr/lib/python2.7/site-packages/lmi/lmi_client_shell.py", line 573, in references references_list = self._client._get_references(self._inst, **references_args) File "/usr/lib/python2.7/site-packages/lmi/lmi_client_base.py", line 172, in _get_references return self._cliconn.References(instance.path, **params) File "/usr/lib/python2.7/site-packages/pywbem/cim_operations.py", line 749, in References **params) File "/usr/lib/python2.7/site-packages/pywbem/cim_operations.py", line 219, in imethodcall raise CIMError(code, tt[1]['DESCRIPTION']) Version-Release number of selected component (if applicable): pywbem-0.7.0-7.fc18.noarch