Bug 1209646 - spacecmd report_inactivesystems should have system IDs as output
Summary: spacecmd report_inactivesystems should have system IDs as output
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite 5
Classification: Red Hat
Component: New Feature
Version: unspecified
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ---
Assignee: Ondrej Gajdusek
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
Depends On:
Blocks: sat580-low
TreeView+ depends on / blocked
 
Reported: 2015-04-07 21:43 UTC by Oliver Ilian
Modified: 2017-06-21 12:17 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-21 12:17:23 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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