Project

General

Profile

Actions

Bug #12651

closed

'puppet-module list' command ignore information about organization

Added by Bryan Kearney over 9 years ago. Updated almost 7 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

Also available in: Atom PDF