Bug 1374317 - Logging: improve error when cannot extract HEVM OVF
Summary: Logging: improve error when cannot extract HEVM OVF
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-hosted-engine-ha
Classification: oVirt
Component: General
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-4.1.0-beta
: 2.1.0
Assignee: Simone Tiraboschi
QA Contact: sefi litmanovich
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-08 12:37 UTC by Yaniv Kaul
Modified: 2017-03-16 14:48 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-16 14:48:22 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.1+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 67549 0 master MERGED OVF_STORE: provide more explicative error messages 2016-11-30 13:51:30 UTC

Description Yaniv Kaul 2016-09-08 12:37:12 UTC
Description of problem:
Log is not verbose enough when failing to read OVF:
MainThread::INFO::2016-09-08 14:48:53,797::ovf_store::118::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF) OVF_STORE volume path: /rhev/data-center/mnt/blockSD/373542dd-0aab-4d28-b587-4504c354e2d7/images/98a9d227-e5dc-4a19-8970-d55b01bc3e76/37fcec52-c1c9-483e-870e-cbc53142163c
MainThread::ERROR::2016-09-08 14:48:53,833::ovf_store::123::ovirt_hosted_engine_ha.lib.ovf.ovf_store.OVFStore::(getEngineVMOVF) Unable to extract HEVM OVF

<--- is it because it is missing? Can't be extracted? Partial/corrupted?

MainThread::ERROR::2016-09-08 14:48:53,834::config::235::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(refresh_local_conf_file) Unable to get vm.conf from OVF_STORE, falling back to initial vm.conf

Comment 1 Logan Kuhn 2016-10-25 17:52:13 UTC
I've actually got the exact same problem.  My installation is functional, but only because I've started it with an alternate vm.conf.  The error message is identical to what Yaniv reported aside from the parts that shouldn't be, UUID/path

Comment 2 sefi litmanovich 2017-03-06 14:00:45 UTC
Verified with ovirt-hosted-engine-ha-2.1.0.4-1.el7ev.noarch.
Created HE env and did not add a new storage domain to it. in agent.log I get:
MainThread::ERROR::2017-03-06 16:00:09,678::config::450::ovirt_hosted_engine_ha.agent.hosted_engine.HostedEngine.config::(_get_vm_conf_content_from_ovf_store) Unable to identify the OVF_STORE volume, falling back to initial vm.conf. Pleas
e ensure you already added your first data domain for regular VMs


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