Bug 1129246

Summary: update of entity in ovirt-shell not reflected in engine
Product: [Retired] oVirt Reporter: Lukas Svaty <lsvaty>
Component: ovirt-engine-cliAssignee: Juan Hernández <juan.hernandez>
Status: CLOSED DUPLICATE QA Contact: Lukas Svaty <lsvaty>
Severity: urgent Docs Contact:
Priority: medium    
Version: 3.5CC: acathrow, bugs, ecohen, gklein, iheim, mavital, oourfali, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.5.0   
Hardware: All   
OS: All   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-20 08:17:04 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 Lukas Svaty 2014-08-12 11:30:30 UTC
Description of problem:
update in ovirt-shell not working on entities

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

How reproducible:
100%

Steps to Reproduce:
1. ovirt-shell --insecure (+log with credentials)
2. [oVirt shell (connected)]# update cluster bar --name "foo"

id                                         : 00000001-0001-0001-0001-000000000349
name                                       : bar
description                                : The default server cluster
ballooning_enabled                         : False
cpu-id                                     : Intel Nehalem Family
cpu-architecture                           : X86_64
data_center-id                             : 00000002-0002-0002-0002-0000000003a6
error_handling-on_error                    : migrate
gluster_service                            : False
ha_reservation                             : False
ksm-enabled                                : False
memory_policy-overcommit-percent           : 100
memory_policy-transparent_hugepages-enabled: True
optional_reason                            : False
scheduling_policy-id                       : b4ed2332-a7ac-4d5f-9596-99a439cb2812
scheduling_policy-name                     : none
scheduling_policy-policy                   : none
threads_as_cores                           : False
trusted_service                            : False
tunnel_migration                           : False
version-major                              : 3
version-minor                              : 5
virt_service                               : True

Actual results:
As you can see in results name did not change.

Expected results:
Let me update entities with ovirt-shell :)

Additional info:
engine log:
2014-08-12 13:29:20,457 INFO  [org.ovirt.engine.core.bll.UpdateVdsGroupCommand] (ajp--127.0.0.1-8702-2) [486d7132] Running command: UpdateVdsGroupCommand internal: false. Entities affected :  ID: 00000001-0001-0001-0001-000000000349 Type: VdsGroups
2014-08-12 13:29:20,465 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (ajp--127.0.0.1-8702-2) [486d7132] Correlation ID: 486d7132, Call Stack: null, Custom Event ID: -1, Message: Host cluster bar was updated by admin

Even the log is lying, nothing was updated.

Comment 1 Juan Hernández 2014-08-20 08:17:04 UTC

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