Liran Zelkha has uploaded a new change for review.

Change subject: core: host stuck on Unassigned when moving from status 
Maintenance when storage is not availble from the host
......................................................................

core: host stuck on Unassigned when moving from status Maintenance when storage 
is not availble from the host

This patch makes sure the move of the host from Up to NonOperational is logged 
in the Audit Log

Change-Id: Ib88fcd733ec0b72fca7d8e6d40c4d28a7d926333
Bug-Url: https://bugzilla.redhat.com/962180
Signed-off-by: [email protected] <[email protected]>
---
M 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
1 file changed, 1 insertion(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/24/25824/1

diff --git 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
index 6e5576e..4b9579d 100644
--- 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
+++ 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/VdsUpdateRunTimeInfo.java
@@ -419,7 +419,7 @@
                     ResourceManager
                             .getInstance()
                             .getEventListener()
-                            .vdsNonOperational(_vds.getId(), 
_vds.getNonOperationalReason(), false, Guid.Empty);
+                            .vdsNonOperational(_vds.getId(), 
_vds.getNonOperationalReason(), true, Guid.Empty);
                 } else {
 
                     log.infoFormat("Host {0} : {1} is already in 
NonOperational status for reason {2}. SetNonOperationalVds command is skipped.",


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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib88fcd733ec0b72fca7d8e6d40c4d28a7d926333
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Liran Zelkha <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to