Project

General

Profile

Actions

Bug #12651

closed

'puppet-module list' command ignore information about organization

Added by Bryan Kearney over 8 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1283173
Description of problem:

Here is description of the command:

hammer puppet-module list --help

Message
"Usage:
hammer puppet-module list [OPTIONS]

Options:
...
--organization ORGANIZATION_NAME Organization name to search by
--organization-id ORGANIZATION_ID organization ID
--organization-label ORGANIZATION_LABEL Organization label to search by
...
"

It seems these three options do not effect overall flow.
For example:

hammer -v -u name -p pass --output=csv puppet-module list --organization-id="9999999999"

showed me list of puppet modules that I have in the system, not the error

Same result for:

hammer -v -u name -p pass --output=csv puppet-module list --organization="MY_NON_EXISTENT_ORGANIZATION"

And similar result for valid data:

hammer -v -u name -p pass --output=csv puppet-module list --organization-id="1"

Command returned list of all puppet modules, but not the ones assigned for that specific organization

Version-Release number of selected component (if applicable):
It is not specific for 6.1.4, but behavior was analyzed for that version. The issue exists for a long time in the system

How reproducible:
Always

Steps to Reproduce:
1. Use any commands described above

Actual results:
System always show list of all unique puppet modules

Expected results:
System should show an error or correct list of puppet modules

Additional info:


Related issues 1 (0 open1 closed)

Has duplicate Katello - Bug #12092: unable to filter puppet-module as per repo or org idDuplicate10/07/2015Actions
Actions #1

Updated by Dominic Cleal over 8 years ago

  • Project changed from Hammer CLI to Katello
  • Category set to Hammer
  • Triaged set to No
Actions #2

Updated by Brad Buckingham over 8 years ago

  • Assignee set to Brad Buckingham
Actions #3

Updated by Brad Buckingham over 8 years ago

  • Status changed from New to Assigned
Actions #4

Updated by The Foreman Bot over 8 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/5645 added
Actions #5

Updated by Brad Buckingham over 8 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #6

Updated by Eric Helms over 8 years ago

  • Category changed from Hammer to API
  • translation missing: en.field_release set to 86
  • Triaged changed from No to Yes
Actions #7

Updated by Eric Helms about 8 years ago

  • Has duplicate Bug #12092: unable to filter puppet-module as per repo or org id added
Actions

Also available in: Atom PDF