Description of problem: hammer content-view list ignores --organization{-id} options Version-Release number of selected component (if applicable): satellite-6.2.0-20.1.el7sat.noarch How reproducible: always Steps to Reproduce: # hammer content-view version list --organization-id 1 ---|--------------------------------------------------------------|---------|----------------------- ID | NAME | VERSION | LIFECYCLE ENVIRONMENTS ---|--------------------------------------------------------------|---------|----------------------- 9 | Red Hat Enterprise Linux Server (v. 7 for 64-bit x86_64) 1.0 | 1.0 | Library 8 | RHN Tools for RHEL Server (v. 7 for x86_64) 1.0 | 1.0 | Library 7 | Default Organization View 1.0 | 1.0 | Library 2 | Docker View 1.0 | 1.0 | Library 1 | Default Organization View 1.0 | 1.0 | Library ---|--------------------------------------------------------------|---------|----------------------- # hammer content-view version list --organization-id 3 ---|--------------------------------------------------------------|---------|----------------------- ID | NAME | VERSION | LIFECYCLE ENVIRONMENTS ---|--------------------------------------------------------------|---------|----------------------- 9 | Red Hat Enterprise Linux Server (v. 7 for 64-bit x86_64) 1.0 | 1.0 | Library 8 | RHN Tools for RHEL Server (v. 7 for x86_64) 1.0 | 1.0 | Library 7 | Default Organization View 1.0 | 1.0 | Library 2 | Docker View 1.0 | 1.0 | Library 1 | Default Organization View 1.0 | 1.0 | Library ---|--------------------------------------------------------------|---------|----------------------- Actual results: lists all CVs Expected results: lists only CVs that belongs to a specific organization
mistype
though mistype still valid bug (added 'version' into the title) Actual results: lists all CV versions Expected results: lists only CV version that belongs to a specific organization
Created redmine issue http://projects.theforeman.org/issues/15796 from this bug
Moving to POST since upstream bug http://projects.theforeman.org/issues/15796 has been closed
*** Bug 1318295 has been marked as a duplicate of this bug. ***
VERIFIED. @satellite-6.3.0-1.0.git.7.fb12bf2.el7sat.noarch (snap5) tfm-rubygem-katello-3.2.0-0.2.rc2.el7.noarch # hammer content-view version list --organization-id 1 ---|-------------------------------|---------|----------------------- ID | NAME | VERSION | LIFECYCLE ENVIRONMENTS ---|-------------------------------|---------|----------------------- 2 | Satellite 6.2.2 RHEL7 1.0 | 1.0 | Library 1 | Default Organization View 1.0 | 1.0 | Library ---|-------------------------------|---------|----------------------- # hammer content-view version list --organization-id 3 ---|-------------------------------|---------|----------------------- ID | NAME | VERSION | LIFECYCLE ENVIRONMENTS ---|-------------------------------|---------|----------------------- 4 | Satellite 6.2.2 RHEL7 1.0 | 1.0 | Library 3 | Default Organization View 1.0 | 1.0 | Library ---|-------------------------------|---------|----------------------- >>> lists only CV versions that belongs to a specific organization (not all as before)
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-2018:0336