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 1737497 - hammer docker --help returns ERROR output
Summary: hammer docker --help returns ERROR output
Keywords:
Status: CLOSED DUPLICATE of bug 1730026
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: vijsingh
URL:
Whiteboard:
Depends On:
Blocks: 1737463
TreeView+ depends on / blocked
 
Reported: 2019-08-05 14:07 UTC by Sergei Petrosian
Modified: 2019-08-08 12:18 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-08 09:08:47 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Sergei Petrosian 2019-08-05 14:07:07 UTC
Description of problem:

The `hammer docker --help` command returns Error output:
~~~~~~
# hammer docker --help
Error: uninitialized constant HammerCLIKatello::LifecycleEnvironmentNameResolvable
Did you mean?  HammerCLIKatello::LifecycleEnvironmentNameMapping
~~~~~~

This causes the more serious problem: I cannot get the full output from the "hammer full-help" command as it finishes with the same output.

Version-Release number of selected component (if applicable):
# rpm -q satellite
satellite-6.6.0-5.beta.el7sat.noarch

How reproducible:
Always


Steps to Reproduce:
1. Run hammer docker --help
2. Or run hammer full-help

Actual results:
Successful output

Expected results:
Error: uninitialized constant HammerCLIKatello::LifecycleEnvironmentNameResolvable
Did you mean?  HammerCLIKatello::LifecycleEnvironmentNameMapping

Additional info:
This issue is urgent for Satellite Docs because we are using the output of `hammer full-help --md` to generate the Hammer CLI guide. The new version of Hammer reference must be generated before the beta release.

Comment 3 Sergei Petrosian 2019-08-08 09:08:47 UTC
This somehow works for me on the latest snap.

Comment 4 Martin Bacovsky 2019-08-08 12:18:17 UTC
This should be already fixed in latest snap. Closing as a duplicate.

*** This bug has been marked as a duplicate of bug 1730026 ***


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