Bug 515401 - [RFE] logs for remote jobs on Satellite
Summary: [RFE] logs for remote jobs on Satellite
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: katello-agent
Version: 6.0.4
Hardware: All
OS: Linux
medium
medium
Target Milestone: Unspecified
Assignee: Katello Bug Bin
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks: sat-nextgen
TreeView+ depends on / blocked
 
Reported: 2009-08-04 04:25 UTC by Issue Tracker
Modified: 2019-09-25 21:14 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-07-27 11:24:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 579885 1 None None None 2021-01-20 06:05:38 UTC
Red Hat Bugzilla 709286 1 None None None 2021-01-20 06:05:38 UTC

Internal Links: 579885 709286

Description Issue Tracker 2009-08-04 04:25:12 UTC
Escalated to Bugzilla from IssueTracker

Comment 1 Issue Tracker 2009-08-04 04:25:13 UTC
Event posted on 07-31-2009 03:38pm EDT by RFE-tool

1) Customer Name:
Nomura Securities

2) Nature Of Problem:
Customer cannot provide txt based logs which show the remote commands
listed which are executed from the Satellite to their auditing team.
Currently they are providing screenshots of the Satellite WebUI which is
cumbersome for them to manually gather.

3) Business Requirements Satisfied By Request:
Internal security audits require that password changes are recorded and
reports are provided upon request. If there were text based logs somewhere
on the Satellite server that provided the osa-dispatcher events then they
would quickly be able to generate the reports required by their audit
folks.

4) Functional Requirements That Are Not Presently Possible:
They need a log from osa-dispather that shows the command, remote
hostname, and time of execution.

5) What Will Success Look Like:
A txt based log of remote events.

6) Desired Release Vehicle:
RHN Minor release.

7) Request Meets The Rhel Inclusion Criteria:
Yes

8) Affected Packages:
osa-dispatcher, rhn-satellite ?

9) Sales Sponsor:
Tushar Shah

10) Rh Business Opportunity With Customer:
RHEL deployment is expanding with a current acquisition of ex-Lehman
traders.

11) Status And Risk To Contract If Not Satisfied:
Customer will try to implement an unsupported solution (i.e. accessing the
underlying Satellite database directly).

12) If this request is vendor specific, has the customer engaged the
partner as well?:
Not Applicable





This event sent from IssueTracker by jwest  [SEG - Feature Request]
 issue 316677

Comment 11 Mike McCune 2014-01-30 16:31:21 UTC
Moving to Satellite 6 product.

Going to investigate how we can audit mcollective and gofer remote calls to satisfy this request.

Comment 12 Xixi 2014-01-30 16:37:46 UTC
For reference: related Bug 579885 "[RFE] log the remote command results on the machine that runs them" has bee implemented in Satellite 5.6 (see commits for more details)

Comment 17 jcallaha 2016-04-26 18:10:22 UTC
Verified in Satellite 6.2 Beta Snap 9 Compose 2. This feature was delivered with the new Remote Execution plugin. You can now query the /api/job_invocations path to see a list of job invocations. these can also be individually queried to give you a result like the one below.

{
  "id": 27,
  "description": "Run ping -c 5 google.com",
  "job_category": "Commands",
  "targeting_id": 27,
  "status": 0,
  "start_at": "2016-04-15 13:13:12 UTC",
  "status_label": "succeeded",
  "dynflow_task": {
    "id": "ab03799f-c4a6-4982-ab4e-f2a9dbe652d1",
    "state": "stopped"
  },
  "succeeded": 1,
  "failed": 0,
  "pending": 0,
  "total": 1,
  "targeting": {
    "bookmark_id": null,
    "search_query": "name = myhost.redhat.com",
    "targeting_type": "static_query",
    "user_id": 3,
    "hosts": []
  },
  "template_invocations": []
}

Comment 18 Bryan Kearney 2016-07-27 11:24:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2016:1501


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