Opened 12 years ago

#136 new

gmoc-db2 throws a 500 error when datapath resource measurements are submitted via the measurement API

Reported by: chaos@bbn.com Owned by: somebody
Priority: major Milestone: GEC15 demo
Component: Database Version:
Keywords: Cc:
Dependencies:

Description

This code:

  attach_flowvisor_dpid_stats(resource[datapath], datapath)
...
  result = data.storeMeasurements(resource[datapath])

run in debug mode, yields:

<?xml version="1.0" ?>
<timeseries_data originator="someone" time="1350525693" version="0.1">
        <type_info name="flowvisor_dpid_stats">
                <column_names>
                        ports,ro_rules,rw_rules,tx_msgs,rx_msgs,drop_msgs,tx_msgs_flow_mod,tx_msgs_flow_remove,tx_msgs_error,tx_msgs_packet_in,tx_msgs_packet_out,tx_msgs_vendor,tx_msgs_other,rx_msgs_flow_mod,rx_msgs_flow_remove,rx_msgs_error,rx_msgs_packet_in,rx_msgs_packet_out,rx_msgs_vendor,rx_msgs_other
                </column_names>
                <column_units>
                        N,N,N,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s,msgs/s
                </column_units>
        </type_info>
        <node_info name="urn:publicid:IDN+openflow:foam:foam5.gpolab.bbn.com+datapath+04:4d:00:12:e2:b8:a5:d0">
                <location>
                        urn:publicid:IDN+gmoc.geni.net+pop+gpolab
                </location>
                <tags/>
        </node_info>
        <data_group end="1350525645" heartbeat="60" interval_type="open_closed" name="urn:publicid:IDN+openflow:foam:foam5.gpolab.bbn.com+datapath+04:4d:00:12:e2:b8:a5:d0-flowvisor_dpid_stats-dpid_urn:publicid:IDN+openflow:foam:foam5.gpolab.bbn.com+datapath+04:4d:00:12:e2:b8:a5:d0" start="1350525390" step="15">
                <column_names>
                        ports,ro_rules,rw_rules,tx_msgs,rx_msgs,drop_msgs,tx_msgs_flow_mod,tx_msgs_flow_remove,tx_msgs_error,tx_msgs_packet_in,tx_msgs_packet_out,tx_msgs_vendor,tx_msgs_other,rx_msgs_flow_mod,rx_msgs_flow_remove,rx_msgs_error,rx_msgs_packet_in,rx_msgs_packet_out,rx_msgs_vendor,rx_msgs_other
                </column_names>
                <type>
                        flowvisor_dpid_stats
                </type>
                <node_name>
                        urn:publicid:IDN+openflow:foam:foam5.gpolab.bbn.com+datapath+04:4d:00:12:e2:b8:a5:d0
                </node_name>
                <tags>
                        dpid:urn:publicid:IDN+openflow:foam:foam5.gpolab.bbn.com+datapath+04:4d:00:12:e2:b8:a5:d0
                </tags>
                <data>
                        1350525375,,,,,,,,,,,,,,,,,,,,;
1350525390,5.0,0.0,3.0,1.56755178908,3.10656308852,0.0,0.135668549905,None,0.0,0.0,1.23177024482,0.0,0.20011299435,0.0,None,0.0,2.58422787194,0.0,0.0,0.20011299435;
1350525405,5.0,0.0,3.0,1.56755178908,3.10656308852,0.0,0.135668549905,None,0.0,0.0,1.23177024482,0.0,0.20011299435,0.0,None,0.0,2.58422787194,0.0,0.0,0.20011299435;
1350525420,5.0,0.0,3.0,1.46307909604,2.68379943503,0.0,0.0388700564971,None,0.0,0.0,1.22098870056,0.0,0.203220338983,0.0,None,0.0,2.46391242937,0.0,0.0,0.203220338983;
1350525435,5.0,0.0,3.0,1.46307909604,2.68379943503,0.0,0.0388700564971,None,0.0,0.0,1.22098870056,0.0,0.203220338983,0.0,None,0.0,2.46391242937,0.0,0.0,0.203220338983;
1350525450,5.0,0.0,3.0,1.46307909604,2.68379943503,0.0,0.0388700564971,None,0.0,0.0,1.22098870056,0.0,0.203220338983,0.0,None,0.0,2.46391242937,0.0,0.0,0.203220338983;
1350525465,5.0,0.0,3.0,1.46307909604,2.68379943503,0.0,0.0388700564971,None,0.0,0.0,1.22098870056,0.0,0.203220338983,0.0,None,0.0,2.46391242937,0.0,0.0,0.203220338983;
1350525480,5.0,0.0,3.0,1.48983050848,2.80593220339,0.0,0.0661016949153,None,0.0,0.0,1.22033898305,0.0,0.203389830508,0.0,None,0.0,2.50593220339,0.0,0.0,0.203389830508;
1350525495,5.0,0.0,3.0,1.48983050848,2.80593220339,0.0,0.0661016949153,None,0.0,0.0,1.22033898305,0.0,0.203389830508,0.0,None,0.0,2.50593220339,0.0,0.0,0.203389830508;
1350525510,5.0,0.0,3.0,1.48983050848,2.80593220339,0.0,0.0661016949153,None,0.0,0.0,1.22033898305,0.0,0.203389830508,0.0,None,0.0,2.50593220339,0.0,0.0,0.203389830508;
1350525525,5.0,0.0,3.0,1.48983050848,2.80593220339,0.0,0.0661016949153,None,0.0,0.0,1.22033898305,0.0,0.203389830508,0.0,None,0.0,2.50593220339,0.0,0.0,0.203389830508;
1350525540,5.0,0.0,3.0,1.50736315643,2.72592386774,0.0,0.127979994443,None,0.0,0.0,1.18232842456,0.0,0.197054737427,0.0,None,0.0,2.52378438455,0.0,0.0,0.197054737427;
1350525555,5.0,0.0,3.0,1.50736315643,2.72592386774,0.0,0.127979994443,None,0.0,0.0,1.18232842456,0.0,0.197054737427,0.0,None,0.0,2.52378438455,0.0,0.0,0.197054737427;
1350525570,5.0,0.0,3.0,1.50736315643,2.72592386774,0.0,0.127979994443,None,0.0,0.0,1.18232842456,0.0,0.197054737427,0.0,None,0.0,2.52378438455,0.0,0.0,0.197054737427;
1350525585,5.0,0.0,3.0,1.50736315643,2.72592386774,0.0,0.127979994443,None,0.0,0.0,1.18232842456,0.0,0.197054737427,0.0,None,0.0,2.52378438455,0.0,0.0,0.197054737427;
1350525600,5.0,0.0,3.0,1.48445449406,2.88486904089,0.0,0.0731109854909,None,0.0,0.0,1.2051253062,0.0,0.206218202374,0.0,None,0.0,2.48554739024,0.0,0.0,0.206218202374;
1350525615,5.0,0.0,3.0,1.48445449406,2.88486904089,0.0,0.0731109854909,None,0.0,0.0,1.2051253062,0.0,0.206218202374,0.0,None,0.0,2.48554739024,0.0,0.0,0.206218202374;
1350525630,5.0,0.0,3.0,1.48445449406,2.88486904089,0.0,0.0731109854909,None,0.0,0.0,1.2051253062,0.0,0.206218202374,0.0,None,0.0,2.48554739024,0.0,0.0,0.206218202374;
1350525645,5.0,0.0,3.0,1.48445449406,2.88486904089,0.0,0.0731109854909,None,0.0,0.0,1.2051253062,0.0,0.206218202374,0.0,None,0.0,2.48554739024,0.0,0.0,0.206218202374;

                </data>
        </data_group>
</timeseries_data>

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,
 root@localhost and inform them of the time the error occurred,
and anything you might have done that may have
caused the error.</p>
<p>More information about this error may be available
in the server error log.</p>
<hr>
<address>Apache/2.2.3 (Red Hat) Server at gmoc-db2.grnoc.iu.edu Port 443</address>
</body></html>

Change History (0)

Note: See TracTickets for help on using tickets.