perfsonar-dev - Re: [pS-dev] Add geant2-java-rrdma to psUI
Subject: perfsonar development work
List archive
- From: Szymon Trocha <>
- To:
- Subject: Re: [pS-dev] Add geant2-java-rrdma to psUI
- Date: Fri, 10 Apr 2009 14:42:41 +0200
- Organization: PCSS
Jason Zurawski pisze:
The good news is that I know the problem, it is 2 bugs, and everyone (except Nina and Michael) are to blame :) Both bugs are related to eventTypes actually, and not the IP addresses at all:
First bug (in the gLS):
Maciej told me some time ago that multiple eventTypes are not supported, so to fix this we allow eventType parameters:
<summary:parameters xmlns:summary="http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0/" id="summmary.md.1">
<nmwg:parameter name="eventType" value="http://ggf.org/ns/nmwg/characteristic/errors/2.0"/>
<nmwg:parameter name="keyword" value="project:geant2"/>
<nmwg:parameter name="eventType" value="http://ggf.org/ns/nmwg/characteristic/utilization/2.0"/>
<nmwg:parameter name="eventType" value="http://ggf.org/ns/nmwg/characteristic/discards/2.0"/>
</summary:parameters>
The gLS discovery code does search for these, but was failing due to a poorly constructed internal XPath. I have fixed this and will send e-mail to the gLS deployers immediately when I have a new package available.
The second bug is in the Java hLS:
Because the eventType parameters are used (and only one eventType could ever be present) I am seeing this being registered into the gLS from the Java hLSs:
<nmwg:data>
<nmwg:metadata>
<summary:subject>
<nmtb:domain />
<nmtl3:network />
</summary:subject>
<summary:parameters>
<nmwg:parameter name="eventType" />
</summary:parameters>
<nmwg:eventType>http://ggf.org/ns/nmwg/tools/org/perfsonar/service/lookup/summarization/2.0</nmwg:eventType>
</nmwg:metadata>
</nmwg:data>
The summarization eventType here is unexpected - there should only be 'data' eventTypes in this space (e.g. utilization, errors) and this was causing the Discovery code to ignore them.
Maciej: Just removing the eventType from this message will work for me - when you are able to support multiple eventTypes it can return.
Once these fixes are entered (and the summerization algorithms are enhanced) we can try Nina's use case again.
I upgraded PIONIER hLS:
szymon@ls:~$
dpkg-query -l |grep xml-ls
ii geant2-java-xml-ls 1.3.1-1 perfSONAR Lookup Service
Regards,
--
Szymon Trocha
Poznan Supercomputing & Netw. Center ::: NETWORK OPERATION CENTER
Tel. +48 618582022 ::: http://noc.man.poznan.pl
- Re: [pS-dev] Add geant2-java-rrdma to psUI, Szymon Trocha, 04/10/2009
Archive powered by MHonArc 2.6.16.