Bug 1109863
| Summary: | Traceback when trying to remove disk by its name via CLI or SDK. | ||
|---|---|---|---|
| Product: | [Retired] oVirt | Reporter: | Ondra Machacek <omachace> |
| Component: | ovirt-engine-sdk | Assignee: | Juan Hernández <juan.hernandez> |
| Status: | CLOSED DUPLICATE | QA Contact: | Pavel Stehlik <pstehlik> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.5 | CC: | acathrow, alukiano, amureini, bugs, gklein, iheim, yeylon |
| Target Milestone: | --- | ||
| Target Release: | 3.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | infra | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-09-03 16:17:35 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: | |||
*** Bug 1111217 has been marked as a duplicate of this bug. *** *** This bug has been marked as a duplicate of bug 1091725 *** |
Description of problem: Version-Release number of selected component (if applicable): ovirt-engine-restapi-3.5.0-0.0.master.20140605145557.git3ddd2de.el6.noarch How reproducible: always Steps to Reproduce: 1. try to remove disk specifing it's name(alias): [oVirt shell (connected)]# remove disk test Actual results: Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/cli/context.py", line 191, in execute_string self._execute_command(command) File "/usr/lib/python2.6/site-packages/cli/context.py", line 411, in _execute_command command.run(self) File "/usr/lib/python2.6/site-packages/cli/command/command.py", line 101, in run self.execute() File "/usr/lib/python2.6/site-packages/ovirtcli/command/remove.py", line 149, in execute context_variants=typs[args[0]] File "/usr/lib/python2.6/site-packages/ovirtcli/command/command.py", line 357, in get_object return self.__get_by_name(coll, obj_id, kwargs) File "/usr/lib/python2.6/site-packages/ovirtcli/command/command.py", line 371, in __get_by_name return coll.get(name=name) TypeError: get() got an unexpected keyword argument 'name' Expected results: Disable support for removing disk by it's name, or remove the first one which is found. Additional info: