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 - [RFE] Hammer should provide commands for showing host's ENC YAML
Summary: [RFE] Hammer should provide commands for showing host's ENC YAML
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Configuration Management
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.4.0
Assignee: satellite6-bugs
QA Contact: Chris Brown
URL:
Whiteboard:
: 1392747 (view as bug list)
Depends On: 1362372 1405512
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-02 13:56 UTC by Tomas Strachota
Modified: 2020-12-14 07:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-10-16 15:26:14 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
enc-dump command (75.56 KB, image/png)
2018-07-20 15:00 UTC, Chris Brown
no flags Details
enc-dump output (1.88 KB, text/plain)
2018-07-20 15:01 UTC, Chris Brown
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 16423 0 Normal Closed Hammer should provide commands for showing host's ENC YAML 2020-08-26 17:40:42 UTC
Red Hat Product Errata RHSA-2018:2927 0 None None None 2018-10-16 15:27:05 UTC

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


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