Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1627812 - [RFE] There should be an API for getting the Satellite version and release
Summary: [RFE] There should be an API for getting the Satellite version and release
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Branding
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.9.0
Assignee: Adam Ruzicka
QA Contact: Akhil Jha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-11 14:28 UTC by Ondrej Gajdusek
Modified: 2023-01-20 16:56 UTC (History)
9 users (show)

Fixed In Version: tfm-rubygem-foreman_theme_satellite-7.0.1.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:11:19 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:11:51 UTC

Description Ondrej Gajdusek 2018-09-11 14:28:16 UTC
Description of problem:
There is no API provided by Satellite to get its version.

Version-Release number of selected component (if applicable):
6.4

How reproducible:
always

Actual results:
There is no API endpoint provided to get the version of the Satellite.

Expected results:
Existing API endpoint which returns the version and release of the Satellite.

Additional info:
Satellite 5 already has this feature. Visit https://<SATELLITE5>/rhn/apidoc/handlers/ApiHandler.jsp#systemVersion

Comment 1 Marek Hulan 2018-09-11 15:57:48 UTC
There is /api/v2/status page, does that solve your issue? It lists Foreman version. If you need to get branded version, please change the component to branding plugin, the API endpoint is there.

Comment 2 Ondrej Gajdusek 2018-09-11 16:12:45 UTC
I see the Foreman version listed in /api/v2/status. I still think that it would be good to be able to get also the branded version.

Changing component to Branding.

Comment 9 errata-xmlrpc 2021-04-21 13:11:19 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 (Moderate: Satellite 6.9 Release), 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/RHSA-2021:1313


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