perfsonar-dev - Re: [pS-dev] Re: Self-test triggering/response messages pointer
Subject: perfsonar development work
List archive
- From: Jason Zurawski <>
- To: Michael Bischoff <>, Verena Venus <>, "Luchesar V. ILIEV" <>
- Cc: Aaron Brown <>, Roman Lapacz <>, Szymon Trocha <>, Maciej Glowiak <>, Stijn Melis <>, Cándido Rodríguez Montes <>, Nicolas Simar <>, Domenico Vicinanza <>, perfSONAR developers <>, , "Jeff W. Boote" <>
- Subject: Re: [pS-dev] Re: Self-test triggering/response messages pointer
- Date: Tue, 24 Jun 2008 10:48:45 +0200
- Openpgp: id=B94D59A6; url=http://people.internet2.edu/~zurawski/key.txt
- Organization: Internet2
Michael;
Verena and me where discussing the one here:
http://wiki.perfsonar.net/jra1-wiki/index.php/Talk:Service_Self-testing
I actually mentioned that it can return more then one result in the form of
causes, although
that wasn't clear from the examples. (I added more examples now.)
So both (new) proposals can return more then one return value.
Your example from the talk page is skirting the key issue we addressed last week that was the entire reason for the alternate proposal: multiple datum elements confuse the semantics of the result. Your example:
<nmwg:message id="message1213971959" type="EchoResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" xmlns:result="http://ggf.org/ns/nmwg/result/2.0/">
<nmwg:metadata id="meta">
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/MP/BWCTL/well_configured/failure/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="causes" metadataIdRef="meta">
<nmwg:datum value="warning">Could not read configuration falling back to
defaults</nmwg:datum>
<nmwg:datum value="error">bwctld executable not found!</nmwg:datum>
<nmwg:datum value="error">bwctld not running!</nmwg:datum>
</nmwg:data>
</nmwg:message>
sends back conflicting messages as to the results of the test (why are there 2 errors and a warning, it appears that again we have run 3 separate tests here...). It also is imposing additional result semantics to the datum items, if this was an 'error' or a 'waring' the eventType should say so. If this proposal is being offered to extend syslog information mining it is being done in the wrong manner, there would need to be 3 sub-results (note the altered eventTypes and single datum elements) as per the original example where the selftest itself was code for several tests:
<nmwg:message id="message1213971959" type="EchoResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" xmlns:result="http://ggf.org/ns/nmwg/result/2.0/">
<nmwg:metadata id="meta">
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/MP/BWCTL/well_configured/WARNING/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="causes" metadataIdRef="meta">
<nmwgr:datum value="warning">Could not read configuration falling back to
defaults</nmwgr:datum>
</nmwg:data>
</nmwg:message>
<nmwg:message id="message1213971959" type="EchoResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" xmlns:result="http://ggf.org/ns/nmwg/result/2.0/">
<nmwg:metadata id="meta">
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/MP/BWCTL/well_configured/ERROR/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="causes" metadataIdRef="meta">
<nmwgr:datum value="error">bwctld executable not found!</nmwgr:datum>
</nmwg:data>
</nmwg:message>
<nmwg:message id="message1213971959" type="EchoResponse"
xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/" xmlns:result="http://ggf.org/ns/nmwg/result/2.0/">
<nmwg:metadata id="meta">
<nmwg:eventType>http://schemas.perfsonar.net/tools/admin/selftest/MP/BWCTL/well_configured/ERROR/1.0</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="causes" metadataIdRef="meta">
<nmwgr:datum value="error">bwctld not running!</nmwgr:datum>
</nmwg:data>
</nmwg:message>
-jason
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, (continued)
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Jason Zurawski, 06/20/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Luchesar V. ILIEV, 06/20/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Jason Zurawski, 06/20/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Verena Venus, 06/20/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Luchesar V. ILIEV, 06/20/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Michael Bischoff, 06/20/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Verena Venus, 06/23/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Michael Bischoff, 06/23/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Aaron Brown, 06/23/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Michael Bischoff, 06/23/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Jason Zurawski, 06/24/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Guilherme Fernandes, 06/24/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Jason Zurawski, 06/24/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Verena Venus, 06/24/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Michael Bischoff, 06/24/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Verena Venus, 06/25/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Verena Venus, 06/24/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Jason Zurawski, 06/21/2008
- Re: [pS-dev] Re: Self-test triggering/response messages pointer, Luchesar V. ILIEV, 06/18/2008
Archive powered by MHonArc 2.6.16.