Description of problem: Wallaby uses a base-26 representation of the Ruby thread ID as part of a temporary table name. If this ID is negative, the representation will include a leading "-", which results in a SQL syntax error. Version-Release number of selected component (if applicable): 0.9.2-1 How reproducible: service condor stop ; rm -f /var/lib/condor/config/00wallaby_node.config ; service condor start Actual results: Wallaby raises an exception and does not complete the operation; there will be errors in the agent log like this one: E, [2010-08-11T10:48:35.290651 #16654] ERROR -- : Error calling whatChanged: near "-": syntax error E, [2010-08-11T10:48:35.290890 #16654] ERROR -- : /usr/lib/ruby/site_ruby/1.8/sqlite3/errors.rb:62:in `check' /usr/lib/ruby/site_ruby/1.8/sqlite3/statement.rb:39:in `initialize' /usr/lib/ruby/site_ruby/1.8/sqlite3/database.rb:154:in `new' /usr/lib/ruby/site_ruby/1.8/sqlite3/database.rb:154:in `prepare' /usr/lib/ruby/site_ruby/1.8/sqlite3/database.rb:181:in `execute' /usr/lib/ruby/site_ruby/1.8/mrg/grid/config/Configuration.rb:94:in `build' /usr/lib/ruby/site_ruby/1.8/mrg/grid/config/Node.rb:236:in `whatChanged' /usr/lib/ruby/site_ruby/1.8/spqr/app.rb:130:in `send' /usr/lib/ruby/site_ruby/1.8/spqr/app.rb:130:in `method_call' /usr/lib/ruby/site_ruby/1.8/qmf.rb:1460:in `do_agent_events' /usr/lib/ruby/site_ruby/1.8/qmf.rb:1493:in `do_events' /usr/lib/ruby/site_ruby/1.8/qmf.rb:1519:in `sess_event_recv' /usr/lib/ruby/site_ruby/1.8/qmf.rb:308:in `run' /usr/lib/ruby/site_ruby/1.8/qmf.rb:242:in `initialize' /usr/lib/ruby/site_ruby/1.8/qmf.rb:241:in `new' /usr/lib/ruby/site_ruby/1.8/qmf.rb:241:in `initialize' /usr/lib/ruby/site_ruby/1.8/spqr/app.rb:211:in `new' /usr/lib/ruby/site_ruby/1.8/spqr/app.rb:211:in `main' /usr/bin/wallaby-agent:235 Expected results: The operation will complete successfully.
This is fixed in master.
Problem reproduced with version: wallaby-0.9.2-1
0.9.2 was released before the fix. The fix is in 0.9.4 and later.
Tested with (version): wallaby-0.9.4-1 Tested on: RHEL5 i386,x86_64 - passed RHEL4 i386,x86_64 (only client) - passed >>> VERIFIED