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.