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 1372731

Summary: [RFE] Hammer should provide commands for showing host's ENC YAML
Product: Red Hat Satellite Reporter: Tomas Strachota <tstrachota>
Component: Configuration ManagementAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Chris Brown <dbrownjr>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: dave.rock, hprakash, jcoopman, jhutar, jyejare
Target Milestone: 6.4.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 15:26:14 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:
Bug Depends On: 1362372, 1405512    
Bug Blocks:    
Attachments:
Description Flags
enc-dump command
none
enc-dump output none

Description Tomas Strachota 2016-09-02 13:56:12 UTC
Description of problem:
There's no way of reviewing host's ENC config from CLI. Hammer should provide some command for dumping the YAML configuration.

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

Actual results:
There are no such commands

Expected results:
Command `hammer host enc-dump --name host1.example.com` (or similar) that prints ENC YAML to stdout.

Comment 1 Tomas Strachota 2016-09-02 14:12:10 UTC
Created redmine issue http://projects.theforeman.org/issues/16423 from this bug

Comment 3 hprakash 2016-11-08 10:25:57 UTC
*** Bug 1392747 has been marked as a duplicate of this bug. ***

Comment 4 hprakash 2017-01-06 04:21:04 UTC
Any updates on this?

Comment 5 Josh Coopman 2017-04-25 02:27:34 UTC
Any updates?  Is this something that could potentially be added?

Comment 6 Satellite Program 2018-02-22 13:15:57 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/16423 has been resolved.

Comment 7 Chris Brown 2018-07-20 15:00:27 UTC
Created attachment 1465258 [details]
enc-dump command

Comment 8 Chris Brown 2018-07-20 15:01:39 UTC
Created attachment 1465269 [details]
enc-dump output

Output of hammer host enc-dump --name <host> on Satellite 6.4

Comment 11 errata-xmlrpc 2018-10-16 15:26:14 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