Bug 947401 - Update dc name with cli fails with an exception
Summary: Update dc name with cli fails with an exception
Keywords:
Status: CLOSED DUPLICATE of bug 947085
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-cli
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Michael Pasternak
QA Contact: Elena
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-04-02 10:45 UTC by Ohad Basan
Modified: 2015-09-22 13:09 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-04-02 10:48:30 UTC
oVirt Team: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ohad Basan 2013-04-02 10:45:37 UTC
Description of problem:

Update datacenter command fails with an exception:

update datacenter RestDataCenter1  --description 'Data Center Description' --name 'RestDataCenterUpdated' --correlation_id 303 > /tmp/cli_output.tmp


[K[?1l>Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/cli/context.py", line 187, in execute_string
    self._execute_command(command)
  File "/usr/lib/python2.6/site-packages/cli/context.py", line 275, in _execute_command
    command.run(self)
  File "/usr/lib/python2.6/site-packages/cli/command/command.py", line 100, in run
    self.execute()
  File "/usr/lib/python2.6/site-packages/ovirtcli/command/remove.py", line 146, in execute
    context_variants=typs[args[0]])
  File "/usr/lib/python2.6/site-packages/ovirtcli/command/command.py", line 334, in get_object
    return coll.get(name=obj_id)
  File "/usr/lib/python2.6/site-packages/ovirtsdk/infrastructure/brokers.py", line 1191, in get
    query="name=" + name
TypeError: getItem() got an unexpected keyword argument 'query'
[RHEVM shell (connected)]#

Comment 2 Michael Pasternak 2013-04-02 10:48:30 UTC

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


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