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 2035195 - command "hammer full-help" gives error "Error: uninitialized constant HammerCLIForeman::CommandExtensions::PuppetEnvironment"
Summary: command "hammer full-help" gives error "Error: uninitialized constant HammerC...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.11.0
Assignee: Oleh Fedorenko
QA Contact: sganar
URL:
Whiteboard:
: 2063864 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-23 09:05 UTC by sganar
Modified: 2022-11-16 13:55 UTC (History)
8 users (show)

Fixed In Version: hammer-cli-foreman-dicovery-1.1.0, hammer-cli-foreman-puppet-0.0.5
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-05 14:31:12 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34352 0 Normal New command "hammer full-help" gives error "Error: uninitialized constant HammerCLIForeman::CommandExtensions::PuppetEnviron... 2022-01-31 12:21:26 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:31:28 UTC

Description sganar 2021-12-23 09:05:11 UTC
Description of problem:

command "hammer full-help" gives error "Error: uninitialized constant HammerCLIForeman::CommandExtensions::PuppetEnvironment"

Version-Release number of selected component (if applicable):
Satellite 7.0.0 Snap 3
tfm-rubygem-hammer_cli-3.1.0-1.el7sat.noarch

How reproducible:
always

Steps to Reproduce:
1. hammer full-help


Actual results:
Gives error "Error: uninitialized constant HammerCLIForeman::CommandExtensions::PuppetEnvironment"

Expected results:
command "hammer full-help" should work fine

Additional info:
hammer (3.1.0)
 * hammer_cli_foreman (3.1.0)
 * hammer_cli_foreman_admin (1.1.0)
 * hammer_cli_foreman_ansible (0.3.4)
 * hammer_cli_foreman_azure_rm (0.2.2)
 * hammer_cli_foreman_bootdisk (0.3.0)
 * hammer_cli_foreman_discovery (1.0.2)
 * hammer_cli_foreman_openscap (0.1.13)
 * hammer_cli_foreman_remote_execution (unknown version)
 * hammer_cli_foreman_tasks (unknown version)
 * hammer_cli_foreman_templates (0.2.0)
 * hammer_cli_foreman_virt_who_configure (unknown version)
 * hammer_cli_foreman_webhooks (0.0.2)
 * hammer_cli_katello (1.3.1)

Comment 1 Oleh Fedorenko 2022-01-31 12:21:25 UTC
Created redmine issue https://projects.theforeman.org/issues/34352 from this bug

Comment 2 Bryan Kearney 2022-01-31 16:05:45 UTC
Upstream bug assigned to ofedoren

Comment 3 Bryan Kearney 2022-01-31 16:05:47 UTC
Upstream bug assigned to ofedoren

Comment 4 Bryan Kearney 2022-03-02 16:05:06 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34352 has been resolved.

Comment 5 Oleh Fedorenko 2022-03-14 15:33:11 UTC
*** Bug 2063864 has been marked as a duplicate of this bug. ***

Comment 6 Patrick Creech 2022-03-15 20:30:29 UTC
We need an upstream release of hammer_cli_foreman_discovery with this fix in it, if possible

Comment 9 sganar 2022-04-27 10:53:24 UTC
Verified.

Tested on Satellite 6.11.0 Snap 17.0

Steps followed: 
1. # hammer full-help

Observation: 

`hammer full-help` works perfect and lists all available help options.

Comment 12 errata-xmlrpc 2022-07-05 14:31:12 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 (Moderate: Satellite 6.11 Release), 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-2022:5498


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