Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1592267

Summary: hammer doesn't show "release-version" and "service-level" for "activation-key"
Product: Red Hat Satellite Reporter: Anand Agrawal <aagrawal>
Component: Hammer - ContentAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.1CC: adprice, tstrachota
Target Milestone: 6.4.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-hammer_cli_katello-0.13.3-1.el7sat Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 19:34:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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