Bug 462208 - system.list_inactive_systems call missing the last checkin date info
Summary: system.list_inactive_systems call missing the last checkin date info
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: API
Version: 530
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Partha Aji
QA Contact: wes hayutin
URL:
Whiteboard:
Depends On:
Blocks: 456996
TreeView+ depends on / blocked
 
Reported: 2008-09-14 06:02 UTC by Partha Aji
Modified: 2009-09-10 19:53 UTC (History)
2 users (show)

Fixed In Version: sat530
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-09-10 19:53:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Partha Aji 2008-09-14 06:02:52 UTC
Description of problem:
Basically the last_checkin date information is not provided by the xmlrpc system.list_inactive_systems call.. 

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

How reproducible:
always

Steps to Reproduce:
1. try the following python script
import xmlrpc
client = xmlrpc.Server("http://<sat_server>/rpc/api")
key = client.auth.login("<login>","<password>")
systems = client.system.list_inactive_systems(key,0)
if not systems[0]['last_checkin']: print "NO LAST CHECKIN"
else: print "Looks COOL"
Actual results:

NO LAST CHECKIN
Expected results:

Looks COOL
Additional info:

Comment 3 wes hayutin 2009-01-27 17:12:58 UTC
[whayutin@whayutin tmp]$ python wes.py 
Looks COOL
[whayutin@whayu

verified

Comment 4 John Matthews 2009-08-13 18:32:18 UTC
Move to RELEASE_PENDING
'last_checkin' is populated


$ python
Python 2.6 (r26:66714, Jun  8 2009, 16:07:29) 
[GCC 4.4.0 20090506 (Red Hat 4.4.0-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import xmlrpclib
>>> client = xmlrpclib.Server("http://rhndev1.z900.redhat.com/rpc/api")
>>> key = client.auth.login("admin", "redhat")
>>> systems = client.system.list_inactive_systems(key, 0)
>>> print systems[0]
{'last_checkin': <DateTime '20090803T23:32:07' at 7f1e39684440>, 'id': 1000016284, 'name': 'bz443718--1249356683-0'}

Comment 5 Brandon Perkins 2009-09-10 19:53:14 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHEA-2009-1434.html


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