Bug 1340626 - Support update of the HE OVF ad-hoc
Summary: Support update of the HE OVF ad-hoc
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.6
Hardware: Unspecified
OS: Unspecified
urgent
high
Target Milestone: ovirt-4.0.2
: 4.0.2
Assignee: Martin Sivák
QA Contact: sefi litmanovich
URL:
Whiteboard:
Depends On:
Blocks: 1343455 1343991
TreeView+ depends on / blocked
 
Reported: 2016-05-29 07:38 UTC by Roy Golan
Modified: 2016-11-15 11:06 UTC (History)
11 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Cause: The configuration of the HE VM was saved but not propagated to the shared storage. Consequence: Hosted engine tooling did not see the updated configuration and had to wait for the normal OVF refresh cycle. Fix: The engine was fixed to push the configuration update to the storage domain immediately. Result: Hosted engine tooling on hosts should see the OVF with updated values almost instantly (meaning about a minute or so).
Clone Of:
: 1343991 (view as bug list)
Environment:
Last Closed: 2016-08-23 20:41:04 UTC
oVirt Team: SLA
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
agent.log and engine.log (933.04 KB, application/x-gzip)
2016-08-02 10:55 UTC, sefi litmanovich
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1372000 0 high CLOSED [Re opening] Support update of the HE OVF ad-hoc 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHEA-2016:1743 0 normal SHIPPED_LIVE Red Hat Virtualization Manager 4.0 GA Enhancement (ovirt-engine) 2016-09-02 21:54:01 UTC
oVirt gerrit 51842 0 master MERGED core: Update the OVF store when hosted engine VM is edited 2016-10-05 12:10:54 UTC
oVirt gerrit 59968 0 None None None 2016-07-04 10:14:21 UTC

Internal Links: 1372000

Description Roy Golan 2016-05-29 07:38:21 UTC
Description of problem:
 Once the HE VM config has been changed we must wait for the interval of OvfUpdateIntervalInMinutes to kick in. In HE scenario we would like to eagerly run this operation to prepare for the next run ASAP.

Version-Release number of selected component (if applicable):
 -relevant component is only ovirt-engine 3.6.6

How reproducible:
 100%

Steps to Reproduce:
 1. Update the HE VM
 2. Wait for the OvfUpdater to kick in
 3. See the fresh vm.conf under each HE host updated at /var/run/ovirt-hosted-engine/vm.conf

Actual results:
 - Must wait for OvfUpdater to perform the update

Expected results:
 - Immediately after finishing the Update VM command go and update the OVF

Comment 2 sefi litmanovich 2016-08-02 10:54:26 UTC
So far failed to see the effect after hotpluging memory to the HE vm.

Set the agent.log to DEBUG level.
added memory to the vm (8192 instead of 4096), the change is reflected in the webadmin but fails in practice:

2016-08-02 06:17:38,094 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (default task-32) [3c39f550] Correlation ID: 3c39f550, Call Stack: null, Custom Event ID: -1, Message: Failed to hot set memory to VM Hos
tedEngine. Underlying error message: unsupported configuration: maxMemory has to be specified when using memory devices 

OVF is expected to update with the new values anyway, but doesn't.
Attaching both engine log and agent log.. notice the 7 hour offset in the time stamp between the logs -> in engine log 06:00 would be 13:00.

Comment 3 sefi litmanovich 2016-08-02 10:55:36 UTC
Created attachment 1186745 [details]
agent.log and engine.log

Comment 4 sefi litmanovich 2016-08-11 08:56:38 UTC
Verified with rhevm-4.0.2.3-0.1.el7ev.noarch, ovirt-hosted-engine-ha-2.0.1-1.el7ev.noarch.
HE OVF does update ad-hoc, might take several minutes for it reflect in vm.conf.

Comment 7 errata-xmlrpc 2016-08-23 20:41:04 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, 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://rhn.redhat.com/errata/RHEA-2016-1743.html


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