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 1156629 - Make hammer content-view info output consistent
Summary: Make hammer content-view info output consistent
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Hammer
Version: Nightly
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: Unspecified
Assignee: Bryan Kearney
QA Contact: Tazim Kolhar
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-24 20:19 UTC by Elyézer Rezende
Modified: 2017-02-23 20:51 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 05:18:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 8327 0 None None None 2016-04-22 15:07:03 UTC
Red Hat Product Errata RHSA-2015:1592 0 normal SHIPPED_LIVE Important: Red Hat Satellite 6.1.1 on RHEL 6 2015-08-12 09:04:35 UTC

Description Elyézer Rezende 2014-10-24 20:19:40 UTC
Description of problem:
All command options was renamed from environment[s] to lifecycle-environment[s] but the info output still outdated.

Version-Release number of selected component (if applicable):
* candlepin-0.9.32-1.el7.noarch
* candlepin-common-1.0.8-1.el7.noarch
* candlepin-selinux-0.9.32-1.el7.noarch
* candlepin-tomcat-0.9.32-1.el7.noarch
* elasticsearch-0.90.10-7.el7.noarch
* foreman-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
* foreman-compute-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
* foreman-gce-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
* foreman-libvirt-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
* foreman-ovirt-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
* foreman-postgresql-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
* foreman-proxy-1.7.0-0.develop.201410221520gitccd77aa.el7.noarch
* foreman-release-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
* foreman-selinux-1.7.0-0.develop.201410210825gitaab37c6.el7.noarch
* foreman-vmware-1.7.0-0.develop.201410232354git5e8706d.el7.noarch
* katello-2.1.0-1.201410231000gitac15899.el7.noarch
* katello-certs-tools-2.0.1-1.el7.noarch
* katello-default-ca-1.0-1.noarch
* katello-installer-2.1.0-1.201410162242git33b9fc3.el7.noarch
* katello-repos-2.1.1-1.el7.noarch
* katello-server-ca-1.0-1.noarch
* openldap-2.4.39-3.el7.x86_64
* pulp-docker-plugins-0.2.1-0.2.beta.el7.noarch
* pulp-katello-0.3-3.el7.noarch
* pulp-nodes-common-2.5.0-0.7.beta.el7.noarch
* pulp-nodes-parent-2.5.0-0.7.beta.el7.noarch
* pulp-puppet-plugins-2.5.0-0.7.beta.el7.noarch
* pulp-puppet-tools-2.5.0-0.7.beta.el7.noarch
* pulp-rpm-plugins-2.5.0-0.7.beta.el7.noarch
* pulp-selinux-2.5.0-0.7.beta.el7.noarch
* pulp-server-2.5.0-0.7.beta.el7.noarch
* python-ldap-2.4.6-6.el7.x86_64
* ruby193-rubygem-ldap_fluff-0.3.2-1.el7.noarch
* ruby193-rubygem-net-ldap-0.3.1-2.el7.noarch
* ruby193-rubygem-runcible-1.2.0-1.el7.noarch
* rubygem-hammer_cli-0.1.3-1.201409240954gitf3c47c7.el7.noarch
* rubygem-hammer_cli_foreman-0.1.3-1.201410151235gitbc8c449.el7.noarch
* rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410git163c264.git.0.988ca80.el7.noarch
* rubygem-hammer_cli_import-0.10.4-1.el7.noarch
* rubygem-hammer_cli_katello-0.0.6-1.201410231025gitd77ae46.git.0.d737437.el7.noarch

How reproducible:
Aways


Steps to Reproduce:
1. hammer content-view info --id='<id>'

Actual results:
The output shows the lifecycle environments under the environments group

Expected results:
The output shows the lifecycle environments under the lifecycle environments group


Additional info:
LANG=en_US.UTF-8 hammer -v -u admin -p changeme  content-view info --id='326'
ID:                 326
Name:               kSyryDXZhO
Label:              kSyryDXZhO
Composite:          true
Description:
Content Host Count: 0
Organization:       l255yx
Repositories:

Puppet Modules:

Environments:
 1) ID:   318
    Name: ZDjzSe
 2) ID:   317
    Name: Library
Versions:
 1) ID:        305
    Version:   1
    Published: 2014/10/24 19:13:46
Components:
 1) ID:   304
    Name: RgvLLbPfAJ 1
Activation Keys:

Comment 2 Bryan Kearney 2014-11-07 20:55:26 UTC
Created redmine issue http://projects.theforeman.org/issues/8327 from this bug

Comment 3 Bryan Kearney 2014-11-10 19:04:45 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/8327 has been closed
-------------
Anonymous
Applied in changeset commit:hammer-cli-katello|5dc89f83f9ab4a41dfcc04a6b30408fd5095a04f.

Comment 4 Tazim Kolhar 2014-12-05 14:50:52 UTC
VERIFIED:


*** This bug is verified in upstream. This fix should eventually land in future downstream builds ***
Version Tested:

# rpm -qa | grep foreman
foreman-compute-1.8.0-0.develop.201412040955git563fa28.el7.noarch
ruby193-rubygem-foreman_discovery-1.4.1-1.el7.noarch
foreman-selinux-1.8.0-0.develop.201411281557gitf4a857f.el7.noarch
foreman-libvirt-1.8.0-0.develop.201412040955git563fa28.el7.noarch
ruby193-rubygem-foreman_bootdisk-4.0.2-1.el7.noarch
rubygem-hammer_cli_foreman_tasks-0.0.3-2.201409091410git163c264.git.0.988ca80.el7.noarch
foreman-ovirt-1.8.0-0.develop.201412040955git563fa28.el7.noarch
ruby193-rubygem-foreman_hooks-0.3.7-2.el7.noarch
foreman-postgresql-1.8.0-0.develop.201412040955git563fa28.el7.noarch
foreman-gce-1.8.0-0.develop.201412040955git563fa28.el7.noarch
foreman-vmware-1.8.0-0.develop.201412040955git563fa28.el7.noarch
ruby193-rubygem-foreman-tasks-0.6.9-1.el7.noarch
foreman-proxy-1.8.0-0.develop.201411261259git6ddd00d.el7.noarch
ibm-x3550m3-07.lab.eng.brq.redhat.com-foreman-proxy-1.0-1.noarch
ruby193-rubygem-foreman_docker-0.2.0-2.el7.noarch
rubygem-hammer_cli_foreman-0.1.3-1.201411121216git9381fc5.el7.noarch
foreman-1.8.0-0.develop.201412040955git563fa28.el7.noarch
ibm-x3550m3-07.lab.eng.brq.redhat.com-foreman-client-1.0-1.noarch
foreman-release-1.8.0-0.develop.201412040955git563fa28.el7.noarch

# hammer content-view info --id 40 --organization-id 1
[Foreman] Username: admin
[Foreman] Password for admin: 
ID:                     40
Name:                   con_view
Label:                  con_view
Composite:              
Description:            
Content Host Count:     0
Organization:           Default_Organization
Yum Repositories:       

Docker Repositories:    

Puppet Modules:         

Lifecycle Environments: 
 1) ID:   17
    Name: DEV
 2) ID:   1
    Name: Library
Versions:               
 1) ID:        18
    Version:   1
    Published: 2014/12/05 14:49:26
Components:             

Activation Keys:

Comment 5 Bryan Kearney 2015-08-11 13:21:41 UTC
This bug is slated to be released with Satellite 6.1.

Comment 6 errata-xmlrpc 2015-08-12 05:18:28 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/RHSA-2015:1592


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