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 1316562

Summary: hammer content-view incorrectly shows a deprecation message for --id
Product: Red Hat Satellite Reporter: Tom McKay <tomckay>
Component: HammerAssignee: John Mitsch <jomitsch>
Status: CLOSED ERRATA QA Contact: jcallaha
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.2.0CC: bbuckingham, cwelton, ehelms, jcallaha, jhutar, jomitsch, oshtaier, sthirugn
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/14139
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-07-27 11:27:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom McKay 2016-03-10 13:34:07 UTC
<pre>
$ hammer content-view info --id 11
Warning: Option --id is deprecated. This option will be removed in Katello 2.5, Use --uuid
</pre>

This message is only applicable to the puppet-module subcommand.

Comment 1 Tom McKay 2016-03-10 13:34:09 UTC
Created from redmine issue http://projects.theforeman.org/issues/14139

Comment 3 Jan Hutaƙ 2016-03-10 20:53:36 UTC
This might be a duplicate of 1313755

Comment 4 Brad Buckingham 2016-03-21 14:14:15 UTC
*** Bug 1313755 has been marked as a duplicate of this bug. ***

Comment 5 Brad Buckingham 2016-03-21 14:17:59 UTC
*** Bug 1319738 has been marked as a duplicate of this bug. ***

Comment 6 Brad Buckingham 2016-03-21 14:18:42 UTC
In resolving this bug, please ensure that the deprecation warning is addressed in all cases (e.g. refer to bugs marked as a duplicate of this one).

Comment 8 Oleksandr Shtaier 2016-03-21 14:32:20 UTC
Also, that issue can have impact for our test automation scripts as mentioned message is unexpected when we analyze command outputs

Comment 9 Bryan Kearney 2016-03-23 20:11:02 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/14139 has been closed
-------------
John Mitsch
Applied in changeset commit:hammer-cli-katello|dc66758c58de8a41694c51db1185cb23860003d3.

Comment 13 jcallaha 2016-04-01 15:08:06 UTC
Verified in Satellite 6.2 Beta Snap 6. No depreciation method display in all related examples given.

Comment 15 Bryan Kearney 2016-07-27 11:27:38 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/RHBA-2016:1501