Bug 834650

Summary: The wallaby-agent fails to start with corrupted database
Product: Red Hat Enterprise MRG Reporter: Robert Rati <rrati>
Component: wallabyAssignee: Will Benton <willb>
Status: CLOSED ERRATA QA Contact: Tomas Rusnak <trusnak>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.1CC: ltoscano, matt, mkudlej, sgraf, trusnak, willb
Target Milestone: 2.2   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: wallaby-0.14.3-1 (backported to wallaby-0.12.5-10) Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-09-19 18:26:07 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:
Attachments:
Description Flags
wallaby config db
none
wallaby snapshot db none

Description Robert Rati 2012-06-22 16:38:51 UTC
Description of problem:
Attempting to start wallaby with the attached db files results in wallaby producing the following error in /var/log/messages:

/usr/bin/wallaby-agent[2532]: agent exiting with exception #<NameError: undefined local variable or method `s' for main:Object>

And refusing to start.

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Robert Rati 2012-06-22 16:40:17 UTC
Created attachment 593792 [details]
wallaby config db

Comment 2 Robert Rati 2012-06-22 16:40:43 UTC
Created attachment 593793 [details]
wallaby snapshot db

Comment 5 Tomas Rusnak 2012-07-18 12:09:59 UTC
Reproduced on:
Jul 18 08:00:30 rhel5_64 /usr/bin/wallaby-agent[17080]: agent exiting with exception #<NameError: undefined local variable or method `s' for main:Object>

# rpm -qa wallaby
wallaby-0.14.1-1.el5

Configuration files from bugzilla copied and tested with:
wallaby-0.12.5-10.el6.noarch
wallaby-0.12.5-10.el5.noarch

Jul 18 08:10:03 rhel5_64 /usr/bin/wallaby-agent[17360]: storing configuration to /var/lib/wallaby/config.db
Jul 18 08:10:03 rhel5_64 /usr/bin/wallaby-agent[17360]: storing snapshots to /var/lib/wallaby/snap.db

>>> VERIFIED