Bug 966607

Summary: [RESt-API]: 'data_center-id' is not included in autocompletion list for 'update cluster'
Product: Red Hat Enterprise Virtualization Manager Reporter: Katarzyna Jachim <kjachim>
Component: ovirt-engine-restapiAssignee: Ori Liel <oliel>
Status: CLOSED CURRENTRELEASE QA Contact: Ilia Meerovich <iliam>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, bazulay, iheim, jkt, ncredi, oramraz, Rhev-m-bugs
Target Milestone: ---   
Target Release: 3.3.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: is2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-01-21 22:18:12 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:

Description Katarzyna Jachim 2013-05-23 14:32:09 UTC
Description of problem:
command "update cluster localfsStorageTest --data_center-id ..." works and attaches cluster to a datacenter, but 'data_center-id' is not on autocompletion list for 'update cluster'

[RHEVM shell (connected)]# update cluster localfsStorageTest 
correlation_id                               memory_policy-transparent_hugepages-enabled  threads_as_cores
cpu-id                                       name                                         version-major
description                                  scheduling_policy-policy                     version-minor
error_handling-on_error                      scheduling_policy-thresholds-duration        virt_service
gluster_service                              scheduling_policy-thresholds-high            
memory_policy-overcommit-percent             scheduling_policy-thresholds-low    



Version-Release number of selected component (if applicable): sf17

Comment 1 Ori Liel 2013-06-03 11:34:15 UTC
http://gerrit.ovirt.org/#/c/15314/1

Comment 2 Ilia Meerovich 2013-07-03 07:56:09 UTC
[root@ilia-rhevm ~]#  /usr/bin/rhevm-shell -c --url=https://ilia-rhevm.qa.lab.tlv.redhat.com:443/api/ -u admin@internal -I
Password: 

 ==========================================
 >>> connected to RHEVM manager 3.3.0.0 <<<
 ==========================================


        
 ++++++++++++++++++++++++++++++++++++++++++
 
           Welcome to RHEVM shell
 
 ++++++++++++++++++++++++++++++++++++++++++
        
    
[RHEVM shell (connected)]# update cluster 
correlation_id                               description                                  memory_policy-transparent_hugepages-enabled  scheduling_policy-thresholds-high            version-major
cpu-id                                       error_handling-on_error                      name                                         scheduling_policy-thresholds-low             version-minor
data_center-id                               gluster_service                              scheduling_policy-policy                     threads_as_cores                             virt_service
datacenter                                   memory_policy-overcommit-percent             scheduling_policy-thresholds-duration        tunnel_migration                             
[RHEVM shell (connected)]# list clusters 

id         : 99408929-82cf-4dc7-a532-9d998063fa95
name       : Default
description: The default server cluster

[RHEVM shell (connected)]# update cluster Default 
correlation_id                               description                                  memory_policy-transparent_hugepages-enabled  scheduling_policy-thresholds-high            version-major
cpu-id                                       error_handling-on_error                      name                                         scheduling_policy-thresholds-low             version-minor
data_center-id                               gluster_service                              scheduling_policy-policy                     threads_as_cores                             virt_service
datacenter                                   memory_policy-overcommit-percent             scheduling_policy-thresholds-duration        tunnel_migration                             
[RHEVM shell (connected)]# update cluster Default data
data_center-id  datacenter      
[RHEVM shell (connected)]# 
[RHEVM shell (connected)]# exit
[root@ilia-rhevm ~]# rpm -q rhevm-cli
rhevm-cli-3.3.0.3-1.el6ev.noarch
[root@ilia-rhevm ~]#

Comment 3 Itamar Heim 2014-01-21 22:18:12 UTC
Closing - RHEV 3.3 Released

Comment 4 Itamar Heim 2014-01-21 22:24:36 UTC
Closing - RHEV 3.3 Released