Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1072791

Summary: Shutdown VM with no OS installed, show irrelevant reports error in the log
Product: Red Hat Enterprise Virtualization Manager Reporter: Ilanit Stein <istein>
Component: ovirt-engineAssignee: Nobody <nobody>
Status: CLOSED DUPLICATE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: acathrow, gklein, iheim, lpeer, mavital, Rhev-m-bugs, yeylon, ylavi
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: infra
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-03-05 13:28:20 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 Ilanit Stein 2014-03-05 08:55:32 UTC
Description of problem:
Shutdown a running VM, with no OS installed, give this error in engine.log:
Can't read file "/var/lib/ovirt-engine/reports.xml" for request "/ovirt-engine/services/reports-ui", will send a 404 error response.

engine.log:
==========
2014-03-04 14:14:15,602 INFO  [org.ovirt.engine.core.bll.ShutdownVmCommand] (org.ovirt.thread.pool-4-thread-46) [7f640c5] Sending shutdown command for VM test.
2014-03-04 14:14:15,607 INFO  [org.ovirt.engine.core.vdsbroker.DestroyVmVDSCommand] (org.ovirt.thread.pool-4-thread-46) [7f640c5] START, DestroyVmVDSCommand(HostName = lilach-vdsb.tlv.redhat.com, HostId = e265dd29-6f62-4bb2-8474-168e4950f3db, vmId=1baf843c-e363-43ca-bcfc-774a4c14ec27, force=false, secondsToWait=30, gracefully=true), log id: 208f0c3e
2014-03-04 14:14:15,613 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand] (org.ovirt.thread.pool-4-thread-46) [7f640c5] START, DestroyVDSCommand(HostName = lilach-vdsb.tlv.redhat.com, HostId = e265dd29-6f62-4bb2-8474-168e4950f3db, vmId=1baf843c-e363-43ca-bcfc-774a4c14ec27, force=false, secondsToWait=30, gracefully=true), log id: 4f5e5c67
2014-03-04 14:14:15,621 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.DestroyVDSCommand] (org.ovirt.thread.pool-4-thread-46) [7f640c5] FINISH, DestroyVDSCommand, log id: 4f5e5c67
2014-03-04 14:14:15,626 INFO  [org.ovirt.engine.core.vdsbroker.DestroyVmVDSCommand] (org.ovirt.thread.pool-4-thread-46) [7f640c5] FINISH, DestroyVmVDSCommand, return: PoweringDown, log id: 208f0c3e
2014-03-04 14:14:15,641 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-4-thread-46) [7f640c5] Correlation ID: 7f640c5, Job ID: 55c294c1-2e16-49eb-b989-febc36522166, Call Stack: null, Custom Event ID: -1, Message: VM shutdown initiated by admin on VM test (Host: lilach-vdsb.tlv.redhat.com).
2014-03-04 14:14:15,646 INFO  [org.ovirt.engine.core.bll.ShutdownVmCommand] (org.ovirt.thread.pool-4-thread-46) [7f640c5] Lock freed to object EngineLock [exclusiveLocks= key: 1baf843c-e363-43ca-bcfc-774a4c14ec27 value: VM
, sharedLocks= ]
2014-03-04 14:17:11,593 ERROR [org.ovirt.engine.core.utils.servlet.ServletUtils] (ajp-/127.0.0.1:8702-7) Can't read file "/var/lib/ovirt-engine/reports.xml" for request "/ovirt-engine/services/reports-ui", will send a 404 error response.
2014-03-04 14:19:16,711 INFO  [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-19) VM test 1baf843c-e363-43ca-bcfc-774a4c14ec27 moved from PoweringDown --> Up
2014-03-04 14:19:16,730 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler_Worker-19) Correlation ID: null, Call Stack: null, Custom Event ID: -1, Message: Shutdown of VM test failed.

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

Expected results:
1. Have relevant error in engine.log
2. Add more details on failure cause to the event "Shutdown of VM test failed."

Comment 1 Yaniv Lavi 2014-03-05 13:28:20 UTC

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

Comment 2 Ilanit Stein 2014-03-05 15:12:43 UTC
would you please explain why this is a duplicate?
Indeed I see the same error message in the engine.log,
But the flow is different. In bug 1060242, the flow is install, connect to webadmin. Here it is try (and fail) to shutdown a non OS VM.

Comment 3 Yaniv Lavi 2014-03-05 15:21:07 UTC
(In reply to Ilanit Stein from comment #2)
> would you please explain why this is a duplicate?
> Indeed I see the same error message in the engine.log,
> But the flow is different. In bug 1060242, the flow is install, connect to
> webadmin. Here it is try (and fail) to shutdown a non OS VM.

It's a matter of webadmin refresh cycle. causing this error to appear again on missing file.



Yaniv