<?xml version="1.0" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugzilla.globus.org/bugzilla/bugzilla.dtd">

<bugzilla version="3.2.3"
          urlbase="http://bugzilla.globus.org/bugzilla/"
          maintainer="bacon@mcs.anl.gov"
>

    <bug>
          <bug_id>3017</bug_id>
          
          <creation_ts>2005-03-26 19:24</creation_ts>
          <short_desc>RFT auto-registration doesn&apos;t register enough resource properties</short_desc>
          <delta_ts>2005-03-27 19:25:39</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>RFT</product>
          <component>RFT</component>
          <version>development</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mats Rynge">rynge@isi.edu</reporter>
          <assigned_to name="Ravi Madduri">madduri@mcs.anl.gov</assigned_to>
          <cc>jms@mcs.anl.gov</cc>
    
    <cc>laura@isi.edu</cc>
    
    <cc>mdarcy@isi.edu</cc>
    
    <cc>neillm@mcs.anl.gov</cc>

      

      
          <long_desc isprivate="0">
            <who name="Mats Rynge">rynge@isi.edu</who>
            <bug_when>2005-03-26 19:24:55</bug_when>
            <thetext>This is what webmds shows about RFT resources:

  0 active transfer resources, transferring files.
  bytes transferred in files since start of database.

Both webmds and the container was install from trunk last night.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Laura Pearlman">laura@isi.edu</who>
            <bug_when>2005-03-26 19:44:43</bug_when>
            <thetext>When creating the summary line, WebMDS looks at four RFT resource properties: 
ActiveResourceInstances, TotalNumberOfActiveTransfers, NumberOfBytesTransferred,
and NumberOfTransfers.  It looks like when the RFTFactoryService starts up, it
only advertizes ActiveResourceInstances, and not the other three.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Mats Rynge">rynge@isi.edu</who>
            <bug_when>2005-03-26 20:02:24</bug_when>
            <thetext>I have RFT resource which has been up for a long time being presented the same
way. Querying the service also shows more info:

[rynge@devrandom ~]$ wsrf-query -s
https://128.9.72.178:9000/wsrf/services/ReliableFileTransferFactoryService
&lt;ns0:RFT_RP_SET xmlns:ns0=&quot;http://www.globus.org/namespaces/2004/10/rft&quot;
xmlns:ns1=&quot;http://mds.globus.org/metadata/2005/02&quot;
xmlns:ns2=&quot;http://schemas.xmlsoap.org/ws/2004/03/addressing&quot;
xmlns:ns3=&quot;http://schemas.xmlsoap.org/ws/2004/03/addressing&quot;
xmlns:ns4=&quot;http://schemas.xmlsoap.org/ws/2004/03/addressing&quot;&gt;
 &lt;ns1:TotalNumberOfTransfers
xmlns:ns1=&quot;http://www.globus.org/namespaces/2004/10/rft&quot;&gt;66365&lt;/ns1:TotalNumberOfTransfers&gt;
 &lt;ns1:ActiveResourceInstances
xmlns:ns1=&quot;http://www.globus.org/namespaces/2004/10/rft&quot;&gt;0&lt;/ns1:ActiveResourceInstances&gt;
 &lt;ns1:DelegationServiceEPR xmlns:ns1=&quot;http://www.globus.org/namespaces/2004/10/rft&quot;&gt;
  &lt;ns2:Address
xmlns:ns2=&quot;http://schemas.xmlsoap.org/ws/2004/03/addressing&quot;&gt;https://128.9.72.178:9000/wsrf/services/DelegationFactoryService&lt;/ns2:Address&gt;
  &lt;ns3:ReferenceProperties
xmlns:ns3=&quot;http://schemas.xmlsoap.org/ws/2004/03/addressing&quot;/&gt;
  &lt;ns4:ReferenceParameters/&gt;
 &lt;/ns1:DelegationServiceEPR&gt;
 &lt;ns1:RFTFactoryStartTime
xmlns:ns1=&quot;http://www.globus.org/namespaces/2004/10/rft&quot;&gt;2005-03-27T02:00:16.954Z&lt;/ns1:RFTFactoryStartTime&gt;
 &lt;ns1:TotalNumberOfActiveTransfers
xmlns:ns1=&quot;http://www.globus.org/namespaces/2004/10/rft&quot;&gt;0&lt;/ns1:TotalNumberOfActiveTransfers&gt;
 &lt;ns1:TotalNumberOfBytesTransferred
xmlns:ns1=&quot;http://www.globus.org/namespaces/2004/10/rft&quot;&gt;666568577&lt;/ns1:TotalNumberOfBytesTransferred&gt;
 &lt;ns1:ServiceMetaDataInfo&gt;
  &lt;ns1:startTime&gt;2005-03-27T02:00:16.961Z&lt;/ns1:startTime&gt;
  &lt;ns1:version&gt;3.9.5&lt;/ns1:version&gt;
  &lt;ns1:serviceTypeName&gt;unspecified&lt;/ns1:serviceTypeName&gt;
 &lt;/ns1:ServiceMetaDataInfo&gt;
&lt;/ns0:RFT_RP_SET&gt;
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Laura Pearlman">laura@isi.edu</who>
            <bug_when>2005-03-26 20:22:56</bug_when>
            <thetext>Ah -- what&apos;s going on is that the aggregator source for the RFT factory service
is configured to query only for the ActiveResourceInstances property (you can
see a prettier version of this if you click on the detail line for the RFT
factory service in the webmds display):

&lt;ns11:AggregatorConfig&gt;
  &lt;ns11:GetResourcePropertyPollType&gt;
    &lt;ns11:PollIntervalMillis&gt;300000&lt;/ns11:PollIntervalMillis&gt;
   
&lt;ns11:ResourcePropertyName&gt;rft:ActiveResourceInstances&lt;/ns11:ResourcePropertyName&gt;
  &lt;/ns11:GetResourcePropertyPollType&gt;
&lt;/ns11:AggregatorConfig&gt;

The RFT factory should probably use the GetMultipleResourcePropertiesPollType
and get more resource properties (there&apos;s an example of this configuration for
RFT in $G_L/etc/globus_wsrf_mds_aggregator/example-aggregator-registration.xml).</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who name="Ravi Madduri">madduri@mcs.anl.gov</who>
            <bug_when>2005-03-27 18:44:55</bug_when>
            <thetext>I commited changes suggested by Laura. Let me know if it works well</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>