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 1023352

Summary: Hammer CLI - several "os" commands fail
Product: Red Hat Satellite Reporter: Hayk Hovsepyan <hhovsepy>
Component: ProvisioningAssignee: Tomas Strachota <tstrachota>
Status: CLOSED CURRENTRELEASE QA Contact: Corey Welton <cwelton>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.0.2CC: cwelton, dcleal, jmontleo, skottler, tstrachota
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/3352
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:

Description Hayk Hovsepyan 2013-10-25 09:08:14 UTC
Description of problem:
Here are several "os" commands that fail to execute:

"os info" and "os list" commands does not show result and shows this message "interning empty string".

"os add_configtemplate", "os remove_configtemplate", "os remove_architecture", "os add_architecture" commands show error "Error: uninitialized constant HammerCLIForeman::AssociatedCommand::ResourceInstance".

Comment 1 RHEL Program Management 2013-10-25 09:37:55 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 3 Dominic Cleal 2013-10-25 12:25:21 UTC
Already fixed in upstream hammer-cli.  Martin, could you please make a hammer-cli release?

The ResourceInstance error is different, please file another BZ referencing http://projects.theforeman.org/issues/3499.

Comment 4 Dominic Cleal 2013-10-25 13:04:55 UTC
Don't worry about the ResourceInstance error BZ, we've already got bug #1023071 for it.

Comment 5 Tomas Strachota 2013-10-29 19:59:31 UTC
New versions released and available in koji:
 	rubygem-hammer_cli-0.0.8
 	rubygem-hammer_cli_foreman-0.0.9

Comment 6 Martin Bacovsky 2013-10-30 07:33:38 UTC
Fixed assignment to tstrachota.

Comment 9 Corey Welton 2013-10-31 13:40:36 UTC
QA Verified Satellite-6.0.2-RHEL-6-20131030.0

Comment 12 Bryan Kearney 2014-04-24 17:10:35 UTC
This was verified and delivered with MDP2. Closing it out.

Comment 13 Bryan Kearney 2014-04-24 17:11:44 UTC
This was delivered and verified with MDP2. Closing the bug.