Bug 1826801

Summary: [CNV&RHV] update of memory on cnv side does not propagate to rhv
Product: Red Hat Enterprise Virtualization Manager Reporter: Pavol Brilla <pbrilla>
Component: ovirt-engineAssignee: Piotr Kliczewski <pkliczew>
Status: CLOSED ERRATA QA Contact: Pavol Brilla <pbrilla>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.4.0CC: lleistne, mperina, mtessun, pelauter
Target Milestone: ovirt-4.4.1   
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: rhv-4.4.1-3 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-08-04 13:22:48 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 Pavol Brilla 2020-04-22 15:12:07 UTC
Description of problem:
I updated Vm memory on cnv side relevant code here:
        resources:
          limits:
            memory: 2Gi
          requests:
            memory: 2Gi


but rhv has old values:

Defined Memory: 1074 M
Physical Memory Guaranteed: 1074M


No event was catched by engine.log

Software Version:4.4.0-0.33.master.el8ev

How reproducible:
100%

Additional info:

environment is available to dev to look around

Comment 3 Pavol Brilla 2020-07-09 18:00:54 UTC
2020-07-09 19:59:17,546+02 INFO  [org.ovirt.engine.core.bll.UpdateVmCommand] (pool-57-thread-1) [3101ca24] Lock Acquired to object 'EngineLock:{exclusiveLocks='[cirros-vm-notfromtemplate=VM_NAME]', sharedLocks='[08e73976-e63f-46f1-baae-0f84e9bae728=VM]'}'
2020-07-09 19:59:17,619+02 INFO  [org.ovirt.engine.core.bll.UpdateVmCommand] (pool-57-thread-1) [3101ca24] Running command: UpdateVmCommand internal: true. Entities affected :  ID: 08e73976-e63f-46f1-baae-0f84e9bae728 Type: VMAction group EDIT_VM_PROPERTIES with role type USER
2020-07-09 19:59:17,687+02 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (pool-57-thread-1) [3101ca24] EVENT_ID: SYSTEM_UPDATE_VM(253), VM cirros-vm-notfromtemplate configuration was updated by system.
2020-07-09 19:59:17,688+02 INFO  [org.ovirt.engine.core.bll.UpdateVmCommand] (pool-57-thread-1) [3101ca24] Lock freed to object 'EngineLock:{exclusiveLocks='[cirros-vm-notfromtemplate=VM_NAME]', sharedLocks='[08e73976-e63f-46f1-baae-0f84e9bae728=VM]'}'
2020-07-09 19:59:17,688+02 INFO  [org.ovirt.engine.core.bll.kubevirt.VMsMonitoring] (pool-57-thread-1) [3101ca24] vm cirros-vm-notfromtemplate updated!


changes of memory from ocp are now visible in rhevm

Software Version:4.4.1.5-0.17.el8ev

Comment 5 errata-xmlrpc 2020-08-04 13:22:48 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: RHV Manager (ovirt-engine) 4.4 security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:3247