Bug 1011964 - time-related wallaby inventory constraints fail on 32 bit systems
Summary: time-related wallaby inventory constraints fail on 32 bit systems
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: wallaby-utils
Version: 2.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: grid-maint-list
QA Contact: MRG Quality Engineering
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-09-25 13:01 UTC by Peter Belanyi
Modified: 2016-05-26 19:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-05-26 19:43:51 UTC
Target Upstream Version:


Attachments (Terms of Use)

Description Peter Belanyi 2013-09-25 13:01:02 UTC
Description of problem:
On 32 bit systems wallaby inventory constraints using was_more_than and was_less_than can fail:

# wallaby inventory -c 'last_checkin.was_more_than 2.years_ago'
Console Connection Established...
fatal:  undefined method `was_more_than' for 1380106827768049:Bignum

# wallaby inventory -c 'last_checkin.was_less_than 2.years_ago'
Console Connection Established...
fatal:  undefined method `was_less_than' for 1380106827768049:Bignum

# wallaby inventory -c 'last_updated_version.was_more_than 2.years_ago'
Console Connection Established...
fatal:  undefined method `was_more_than' for 1380105473673735:Bignum

# wallaby inventory -c 'last_updated_version.was_less_than 2.years_ago'
Console Connection Established...
fatal:  undefined method `was_less_than' for 1380105473673735:Bignum

The same commands run fine on 64 bit systems, so I suppose the problem is that the timestamp does not fit into Fixnum so it's represented as Bignum.


Version-Release number of selected component (if applicable):
wallaby-0.16.3-1
wallaby-utils-0.16.3-1

How reproducible:
100%

Comment 1 Will Benton 2013-10-05 03:50:06 UTC
I have a candidate fix upstream in the bugfix/bz1011964 branch of the getwallaby/wallaby repo on github.

Comment 3 Anne-Louise Tangring 2016-05-26 19:43:51 UTC
MRG-Grid is in maintenance and only customer escalations will be considered. This issue can be reopened if a customer escalation associated with it occurs.


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