Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 885787 - Wallaby agent exception while running in memory
Wallaby agent exception while running in memory
Status: CLOSED ERRATA
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: wallaby (Show other bugs)
2.3
Unspecified Unspecified
low Severity low
: 2.3
: ---
Assigned To: Will Benton
Lubos Trilety
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-12-10 11:02 EST by Tomas Rusnak
Modified: 2013-03-06 13:47 EST (History)
5 users (show)

See Also:
Fixed In Version: wallaby-0.16.2-1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2013-03-06 13:47:41 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2013:0564 normal SHIPPED_LIVE Low: Red Hat Enterprise MRG Grid 2.3 security update 2013-03-06 18:37:09 EST

  None (edit)
Description Tomas Rusnak 2012-12-10 11:02:25 EST
Description of problem:
Running wallaby-agent on foreground (in memory) ends up with error:

# wallaby-agent -f 
storing results to :memory:
storing snapshots to :memory:
creating user tables
creating table for Mrg::Grid::Config::Feature...
creating table for Mrg::Grid::Config::Group...
creating table for Mrg::Grid::Config::Parameter...
creating table for Mrg::Grid::Config::Subsystem...
creating table for Mrg::Grid::Config::Node...
creating table for Mrg::Grid::Config::ArcLabel...
creating table for Mrg::Grid::Config::ParameterArc...
creating table for Mrg::Grid::Config::FeatureArc...
creating table for Mrg::Grid::Config::FeatureParams...
creating table for Mrg::Grid::Config::NodeMembership...
creating table for Mrg::Grid::Config::GroupParams...
creating table for Mrg::Grid::Config::GroupFeatures...
creating table for Mrg::Grid::Config::SubsystemParams...
creating table for Mrg::Grid::Config::DirtyElement...
creating snapshot tables
checking for necessary user database migrations....
checking for necessary default database migrations....
agent exiting with exception #<Errno::ENOENT: No such file or directory - :memory:>
/usr/lib/ruby/1.8/fileutils.rb:1207:in `stat'
/usr/lib/ruby/1.8/fileutils.rb:1207:in `lstat'
/usr/lib/ruby/1.8/fileutils.rb:1185:in `stat'
/usr/lib/ruby/1.8/fileutils.rb:1267:in `copy_file'
/usr/lib/ruby/1.8/fileutils.rb:464:in `copy_file'
/usr/lib/ruby/1.8/fileutils.rb:383:in `cp'
/usr/lib/ruby/1.8/fileutils.rb:1402:in `fu_each_src_dest'
/usr/lib/ruby/1.8/fileutils.rb:1418:in `fu_each_src_dest0'
/usr/lib/ruby/1.8/fileutils.rb:1400:in `fu_each_src_dest'
/usr/lib/ruby/1.8/fileutils.rb:382:in `cp'
/usr/bin/wallaby-agent:261
/usr/lib/ruby/site_ruby/1.8/sqlite3/database.rb:564:in `transaction'
/usr/bin/wallaby-agent:256
/usr/lib/ruby/site_ruby/1.8/mrg/grid/config/dbmeta.rb:71:in `migrate'
/usr/bin/wallaby-agent:255
/usr/bin/wallaby-agent:248:in `each'
/usr/bin/wallaby-agent:248

Version-Release number of selected component (if applicable):
wallaby-utils-0.16.1-2.el6.noarch
wallaby-0.16.1-2.el6.noarch
condor-wallaby-base-db-1.25-1.el6_3.noarch
python-wallabyclient-5.0.4-1.el6_3.noarch
ruby-condor-wallaby-tools-5.0.2-1.el6.noarch
ruby-condor-wallaby-5.0.4-1.el6_3.noarch
condor-wallaby-client-5.0.4-1.el6_3.noarch
ruby-wallaby-0.16.1-2.el6.noarch
condor-wallaby-tools-5.0.4-1.el6_3.noarch

How reproducible:
100%

Steps to Reproduce:
1. run wallaby-agent on foreground (-f parameter)
  
Actual results:
wallaby agent won't run in memory

Expected results:
wallaby agent will be working
Comment 1 Will Benton 2012-12-12 10:43:10 EST
Note that the -f parameter has nothing to do with this behavior; rather, the issue is that we're running with db tables in memory instead of in a file.
Comment 3 Lubos Trilety 2013-01-08 12:08:47 EST
Successfully reproduced on wallaby-0.16.0-9

# wallaby-agent -f
storing results to :memory:
storing snapshots to :memory:
creating user tables
creating table for Mrg::Grid::Config::Feature...
creating table for Mrg::Grid::Config::Group...
creating table for Mrg::Grid::Config::Parameter...
creating table for Mrg::Grid::Config::Subsystem...
creating table for Mrg::Grid::Config::Node...
creating table for Mrg::Grid::Config::ArcLabel...
creating table for Mrg::Grid::Config::ParameterArc...
creating table for Mrg::Grid::Config::FeatureArc...
creating table for Mrg::Grid::Config::FeatureParams...
creating table for Mrg::Grid::Config::NodeMembership...
creating table for Mrg::Grid::Config::GroupParams...
creating table for Mrg::Grid::Config::GroupFeatures...
creating table for Mrg::Grid::Config::SubsystemParams...
creating table for Mrg::Grid::Config::DirtyElement...
creating snapshot tables
checking for necessary user database migrations....
checking for necessary default database migrations....
agent exiting with exception #<Errno::ENOENT: No such file or directory - :memory:>
/usr/lib/ruby/1.8/fileutils.rb:1189:in `stat'
/usr/lib/ruby/1.8/fileutils.rb:1189:in `lstat'
/usr/lib/ruby/1.8/fileutils.rb:1167:in `stat'
/usr/lib/ruby/1.8/fileutils.rb:1249:in `copy_file'
/usr/lib/ruby/1.8/fileutils.rb:459:in `copy_file'
/usr/lib/ruby/1.8/fileutils.rb:383:in `cp'
/usr/lib/ruby/1.8/fileutils.rb:1384:in `fu_each_src_dest'
/usr/lib/ruby/1.8/fileutils.rb:1400:in `fu_each_src_dest0'
/usr/lib/ruby/1.8/fileutils.rb:1382:in `fu_each_src_dest'
/usr/lib/ruby/1.8/fileutils.rb:382:in `cp'
/usr/bin/wallaby-agent:261
/usr/lib/ruby/site_ruby/1.8/sqlite3/database.rb:564:in `transaction'
/usr/bin/wallaby-agent:256
/usr/lib/ruby/site_ruby/1.8/mrg/grid/config/dbmeta.rb:71:in `migrate'
/usr/bin/wallaby-agent:255
/usr/bin/wallaby-agent:248:in `each'
/usr/bin/wallaby-agent:248
Comment 4 Lubos Trilety 2013-01-10 08:00:32 EST
Tested with:
wallaby-0.16.3-1

Tested on:
RHEL6 i386,x86_64
RHEL5 i386,x86_64

wallaby-agent is working

# wallaby-agent -f
storing results to :memory:
storing snapshots to :memory:
creating user tables
creating table for Mrg::Grid::Config::Feature...
creating table for Mrg::Grid::Config::Group...
creating table for Mrg::Grid::Config::Parameter...
creating table for Mrg::Grid::Config::Subsystem...
creating table for Mrg::Grid::Config::Node...
creating table for Mrg::Grid::Config::ArcLabel...
creating table for Mrg::Grid::Config::ParameterArc...
creating table for Mrg::Grid::Config::FeatureArc...
creating table for Mrg::Grid::Config::FeatureParams...
creating table for Mrg::Grid::Config::NodeMembership...
creating table for Mrg::Grid::Config::GroupParams...
creating table for Mrg::Grid::Config::GroupFeatures...
creating table for Mrg::Grid::Config::SubsystemParams...
creating table for Mrg::Grid::Config::DirtyElement...
creating snapshot tables
checking for necessary user database migrations....
checking for necessary default database migrations....
checking for necessary snapshot database migrations....
Agent Connection Established...
2013-01-10 07:06:12 [Management] notice Initial object-id bank assigned: 1.503


>>> verified
Comment 6 errata-xmlrpc 2013-03-06 13:47:41 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHSA-2013-0564.html

Note You need to log in before you can comment on or make changes to this bug.