Tal Nisan has uploaded a new change for review.

Change subject: core: Log problematic domain name when moving host to non 
operational
......................................................................

core: Log problematic domain name when moving host to non operational

Change-Id: I835443326b0344186e68476d8316a9fc6ebe7b15
Signed-off-by: Tal Nisan <tni...@redhat.com>
Bug-Url: https://bugzilla.redhat.com/1222770
---
M 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsProxyData.java
1 file changed, 2 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.ovirt.org:29418/ovirt-engine refs/changes/86/41386/1

diff --git 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsProxyData.java
 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsProxyData.java
index 0a124e4..34fdf33 100644
--- 
a/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsProxyData.java
+++ 
b/backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsProxyData.java
@@ -1582,6 +1582,7 @@
                                 vds.getName(),
                                 domainIdTuple);
 
+                        final Map<String, String> customLogValues = 
Collections.singletonMap("StorageDomainNames", storageDomain.getName());
                         ThreadPoolUtil.execute(new Runnable() {
                             @Override
                             public void run() {
@@ -1589,7 +1590,7 @@
                                         .getInstance()
                                         .getEventListener()
                                         .vdsNonOperational(vdsId, 
NonOperationalReason.STORAGE_DOMAIN_UNREACHABLE,
-                                                true, domainId);
+                                                true, domainId, 
customLogValues);
                             }
                         });
 


-- 
To view, visit https://gerrit.ovirt.org/41386
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I835443326b0344186e68476d8316a9fc6ebe7b15
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <tni...@redhat.com>
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to