Bug 885787
| Summary: | Wallaby agent exception while running in memory | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Tomas Rusnak <trusnak> |
| Component: | wallaby | Assignee: | Will Benton <willb> |
| Status: | CLOSED ERRATA | QA Contact: | Lubos Trilety <ltrilety> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 2.3 | CC: | esammons, ltrilety, matt, mkudlej, willb |
| Target Milestone: | 2.3 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | wallaby-0.16.2-1 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-03-06 18:47:41 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Tomas Rusnak
2012-12-10 16:02:25 UTC
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. 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 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
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 |