Change in ovirt-engine[master]: engine: VM NewPool-1 was restarted on Host <UNKNOWN>

tjelinek at redhat.com tjelinek at redhat.com
Thu Sep 12 12:43:05 UTC 2013


Tomas Jelinek has submitted this change and it was merged.

Change subject: engine: VM NewPool-1 was restarted on Host <UNKNOWN>
......................................................................


engine: VM NewPool-1 was restarted on Host <UNKNOWN>

If the host has been started as prestarted the following
event log has been logged:
VM NewPool-1 was restarted on Host <UNKNOWN>

The problem was that the Vm has been started as stateless.
This first triggers the statelessVmTreatment() which
does not schedule the host but will already be logged (e.g. the host will be
unknown).

Fixed by checking if the host has already been scheduled and
if not than a different message will be logged (a similar to the one when
the VM is started as stateless by the user).

Change-Id: I60a74762984dc82154d0f8e073c60f631da229f0
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=966619
Signed-off-by: Tomas Jelinek <tjelinek at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RunVmCommand.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/AuditLogType.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dal/dbbroker/auditloghandling/AuditLogDirector.java
M backend/manager/modules/dal/src/main/resources/bundles/AuditLogMessages.properties
4 files changed, 17 insertions(+), 4 deletions(-)

Approvals:
  Tomas Jelinek: Verified
  Omer Frenkel: Looks good to me, approved



-- 
To view, visit http://gerrit.ovirt.org/18726
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I60a74762984dc82154d0f8e073c60f631da229f0
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Roy Golan <rgolan at redhat.com>
Gerrit-Reviewer: Tomas Jelinek <tjelinek at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list