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 1290359 - Inconsistency in 'friendly name' field name for Operating System via CLI/API/UI
Summary: Inconsistency in 'friendly name' field name for Operating System via CLI/API/UI
Keywords:
Status: CLOSED DEFERRED
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Provisioning
Version: 6.1.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-10 10:27 UTC by Andrii Balakhtar
Modified: 2019-09-26 13:56 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-30 18:36:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Andrii Balakhtar 2015-12-10 10:27:26 UTC
Description of problem:
'Friendly name' field (which is name + major version + minor version) for Operating System is called, documented and acts differently for each interface (UI/CLI/API).
For UI, list of OSs is shown under 'Title' column. When you open any OS - there's no 'Title' field to change. There's 'Description' field instead, which is empty by default (meaning that's another field actually), but changing that description actually changes OS title.
Next, for CLI, 'hammer os create' command accepts '--description' (not --title) option. However, 'hammer os info' accepts and returns --title instead. Other commands like 'hammer medium add-operatingsystem' work with OS title, not description, too.
For API, apidoc contains no information about 'title' field, there's only 'description'. However, when you try to GET any custom OS, you'll see 'title' in output, which is representing OS friendly name, and 'description' field too, which is set to null by default.
Looks like there was no clear agreement on how the field should be called - in some places it's 'title', in others its 'description'. Both fields share same purpose so one of them (preferably 'description') should be dropped in favor of another.


Version-Release number of selected component (if applicable):
6.1.5C2, RHEL7.2

How reproducible:
Always.

Steps to Reproduce:
1. Create Operating system (via UI/CLI/API, doesn't matter), do not specify anything in 'title'/'description' field.
2. Check 'title'/'description' via UI/CLI/API.

Actual results:
See 'Description of problem'

Expected results:
Leave only 'title' field for all three interfaces.

Additional info:

Comment 2 Bryan Kearney 2016-07-26 15:25:24 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 3 Bryan Kearney 2016-07-26 15:38:05 UTC
Moving 6.2 bugs out to sat-backlog.

Comment 5 Bryan Kearney 2017-03-30 18:36:47 UTC
Thank you for your bug report. Given our other priorities, I do not see us addressing this in the next few releases. I am therefore closing this out. If you feel that this is a mistake, please feel free to re-open with additional information. Thank you for your interest in Red Hat Satellite.


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