Project

General

Profile

Actions

Bug #5697

closed

CLI system commands ignore --environment option

Added by dustin tsang almost 10 years ago. Updated almost 6 years ago.

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

Description

https://bugzilla.redhat.com/show_bug.cgi?id=985393

Description of problem:

some CLI system commands ignore given --environment
for example
a) system list --org org --environment dev
lists all systems not only systems from given environment

b) when I register two systems with the same name but in different environments then
system info --org org --name sys --environment env
returns: Found ambiguous Systems [ sys ] in Org [ org ] ...
but it is unique system in that environment

c) commands does not care, that given system is in different environment
e.g. system info --name system --environment Library --org org

Name : system
...
Environment : env
...

commands with the same behaviour: facts, info, packages, unregister, update

Version-Release number of selected component (if applicable):
katello-1.4.2-18.el6sat.noarch
katello-candlepin-cert-key-pair-1.0-1.noarch
katello-agent-1.4.3-1.git.1.24fe511.el6.noarch
katello-certs-tools-1.4.2-2.el6sat.noarch
katello-configure-1.4.3-16.el6sat.noarch
katello-glue-pulp-1.4.2-18.el6sat.noarch
katello-all-1.4.2-18.el6sat.noarch
katello-cli-common-1.4.2-8.el6sat.noarch
ruby193-rubygem-foreman-katello-engine-0.0.8-6.el6sat.noarch
signo-katello-0.0.19-1.el6sat.noarch
katello-glue-elasticsearch-1.4.2-18.el6sat.noarch
katello-configure-foreman-1.4.3-16.el6sat.noarch
katello-foreman-all-1.4.2-18.el6sat.noarch
katello-qpid-client-key-pair-1.0-1.noarch
katello-cli-1.4.2-8.el6sat.noarch
ruby193-rubygem-katello_api-0.0.3-2.el6_4.noarch
katello-common-1.4.2-18.el6sat.noarch
katello-selinux-1.4.3-3.el6sat.noarch
katello-glue-candlepin-1.4.2-18.el6sat.noarch
ruby193-rubygem-katello-foreman-engine-0.0.3-6.el6sat.noarch
katello-qpid-broker-key-pair-1.0-1.noarch

How reproducible:
always

Steps to Reproduce:
1.
2.
3.

Actual results:

Expected results:

Additional info:

Actions #1

Updated by dustin tsang almost 10 years ago

  • Assignee set to dustin tsang
Actions #2

Updated by Eric Helms almost 10 years ago

  • Category set to Hammer
  • Triaged changed from No to Yes
Actions #4

Updated by dustin tsang almost 10 years ago

  • % Done changed from 0 to 90
Actions #5

Updated by dustin tsang almost 10 years ago

  • Target version set to 45
Actions #6

Updated by Eric Helms almost 10 years ago

  • Target version changed from 45 to 48
Actions #7

Updated by dustin tsang almost 10 years ago

  • Status changed from New to Closed
Actions #8

Updated by Eric Helms over 9 years ago

  • translation missing: en.field_release set to 13
Actions

Also available in: Atom PDF