Bug 1209646

Summary: spacecmd report_inactivesystems should have system IDs as output
Product: Red Hat Satellite 5 Reporter: Oliver Ilian <oliver>
Component: New FeatureAssignee: Ondrej Gajdusek <ogajduse>
Status: CLOSED CURRENTRELEASE QA Contact: Lukáš Hellebrandt <lhellebr>
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: dyordano, lhellebr, ogajduse, tkasparek, tlestach, xdmoon
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-21 12:17:23 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:
Bug Depends On:    
Bug Blocks: 1358815    

Description Oliver Ilian 2015-04-07 21:43:08 UTC
Description of problem:
I am running 'spacecmd report_inactivesystems 180' to get all Sytems that have not checked in to Satellite during the last 180 days. I would need the System IDs as output to use the list further to delete outdated systems via a cron job.

Version-Release number of selected component (if applicable):
spacecmd-2.3.14-1.el7.noarch

How reproducible:
every time by running 'spacecmd report_inactivesystems 180'

Steps to Reproduce:
1. run spacecmd report_inactivesystems 180


Actual results:
A list with System Name and Last Checkin is displayed

Expected results:
A list with System Name, Last Checkin and System ID, as the System ID is the only unique identifier

Additional info:

Comment 1 Ondrej Gajdusek 2016-08-31 09:12:30 UTC
taking

Comment 2 Ondrej Gajdusek 2016-08-31 19:09:58 UTC
Commited as 16f74cbcd0d3f82bee5020519fe2df9de6db0811 in spacewalk/master. Tomas K. should I close this BZ?

Comment 3 Ondrej Gajdusek 2016-08-31 19:14:00 UTC
Sorry for mistake, I mean change it to MODIFIED, not close.

Comment 6 Lukáš Hellebrandt 2017-03-01 12:11:45 UTC
Verified with Sat 5.8 compose from 2017-02-26.

Output of "spacecmd report_inactivesystems 180" command now contains a "System ID" column.