Changes between Version 28 and Version 29 of Internal/InventoryV3


Ignore:
Timestamp:
Jun 24, 2010, 10:36:38 PM (14 years ago)
Author:
ssugrim
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Internal/InventoryV3

    v28 v29  
    55Versions:
    66
    7  * gather.rb:0.87
    8  * writer.rb:0.99
    9  * logcopy:0.01
     7 * gather.rb:0.91
     8 * writer.rb:1.02
     9 * logcopy:0.04
    1010 * inventoryv2.rb:0.05
    1111
     
    299299 * I've modified the inventoryV2.rb  script to call logcopy as the final step. it's now named inventoryV2-1.rb
    300300 
     301=== 6/24/2010 ====
     302I forgot to log a bunch of changes:
     303 * found a bug because I reduced the wait time for the experiment to complete. Since connect retry was rand(60)+(60) my log copies would copy over
     304   incomplete files, since it waited only 30 seconds to copy. I've redone the numbers, I wait only rand(20) to attempt to reconnect but now try 3 times.
     305   I wait 90 seconds before trying to copy the log file, this should give me enough time to capture the retries.
     306 * There was a cascade of query failures due to the fact that I was searching for the testbed id with the short domain name, instead of the FQDN in the
     307   test bed table. This value was given to me by the gatherer, I've since modified the gatherer to use the FQDN. All the other queries depended on this
     308   number so the error propagated down.
     309 * This error however demonstrated a specific flaw in how I handled empty query results. I indicate Failed queries by returning nil, instead of an array.
     310   The only reason I caught the error was because I tried to flatten the nil return. I've updated this to raise an exception if a nil query occurs for
     311   any of the members of the Identify class. Not being able to identify the node should be a fatal error. This exception is unhandled so it will
     312   propagate up to main block where it gets logged and terminates the script.
     313 * Also added a little bit of logging to gatherer but not much. I should really fix it's error handeling
     314 * Noticed that sometimes I get a xml create object error. I'll have to figure out why that's happening. It's probably due to gatherer not completing
     315   properly. But Now I should be able to find the nodes where it happens.
     316 * Trying to stick to the logging/exception rasing convention of setting the error text to: "class.method - error"
    301317   
    302    
    303318
    304319