Bug 1592267 - hammer doesn't show "release-version" and "service-level" for "activation-key"
Summary: hammer doesn't show "release-version" and "service-level" for "activation-key"
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer - Content
Version: 6.3.1
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.4.0
Assignee: satellite6-bugs
QA Contact: jcallaha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-18 09:46 UTC by Anand Agrawal
Modified: 2021-09-09 14:38 UTC (History)
2 users (show)

Fixed In Version: tfm-rubygem-hammer_cli_katello-0.13.3-1.el7sat
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 19:34:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 23972 0 None None None 2018-06-18 09:47:24 UTC

Description Anand Agrawal 2018-06-18 09:46:18 UTC
Description of problem:

We are able to set/update "release-version" and "service-level" for an activation key from hammer as below:
# hammer activation-key update --organization REDHAT --name ak1 --release-version 7.3

But we can not get these values back through hammer,

# hammer activation-key info --organization REDHAT --name ak1
Name: ak1
ID: 1
Description:
Host Limit: Unlimited
Auto Attach: true
Lifecycle Environment: Development
Content View: My_Content_view
Host Collections:
1) ID: 2
Name: host_collection2

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

How reproducible:
Always

Steps to Reproduce:
1. hammer activation-key info --organization REDHAT --name ak1


Actual results:
It doesn't display service level and release version.

Expected results:

It should show release version and service level

Additional info:

Comment 2 jcallaha 2018-07-18 19:59:41 UTC
Verified in Satellite 6.4 Snap 12.

-bash-4.2# hammer activation-key info --name suse --organization-id 1
Name:                  suse
ID:                    1
Description:           
Host Limit:            Unlimited
Auto Attach:           true
Service Level:         Self-Support
Release Version:       test
Lifecycle Environment: Library
Content View:          suse
Host Collections:

Comment 3 Bryan Kearney 2018-10-16 19:34: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/RHSA-2018:2927


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