Bug 1303225 - oo-app-info with options for app name and domain name does not work as expected
oo-app-info with options for app name and domain name does not work as expected
Product: OpenShift Container Platform
Classification: Red Hat
Component: Command Line Interface (Show other bugs)
Unspecified Unspecified
unspecified Severity medium
: ---
: ---
Assigned To: Fabiano Franz
Wei Sun
Depends On:
  Show dependency treegraph
Reported: 2016-01-29 16:24 EST by Ryan Howe
Modified: 2017-01-13 16:46 EST (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2017-01-13 16:46:29 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Comment 1 Ryan Howe 2016-01-29 16:31:27 EST
Created attachment 1119531 [details]

Description of problem:

The command oo-app-info does not list all apps in the environment with the same name. Also when using command with multiple options only the last option is honored.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Create 2 domains with 2 app of the same name and 2 different 
2. Run `oo-app-info -a app -d foo` 

Actual results:

Full list of app is foo are listed. 

Expected results:

Only app with domain foo  and app name are pulled. 

Additional info:

- File attached show examples with domains "foo" and "bar" and application "apps" and "duplicateAPP"

oo-admin also will only find the 1st occurrence of the application in the environment. 

#  oo-app-info -a duplicateAPP,duplicateAPP
- Application from one domain (bar) is listed 2x , the second occurrence listed in foo is not listed 

#   oo-app-info -a duplicateAPP 
- Application from one domain (bar) is listed 1x , the second occurrence listed in foo is not listed 

Only way to see app named duplicateAPP in domain foo is to run 
# oo-app-info -a duplicateAPP -d foo
Comment 2 Rory Thrasher 2017-01-13 16:46:29 EST
OpenShift Enterprise v2 has officially reached EoL.  This product is no longer supported and bugs will be closed.

Please look into the replacement enterprise-grade container option, OpenShift Container Platform v3.  https://www.openshift.com/container-platform/

More information can be found here: https://access.redhat.com/support/policy/updates/openshift/

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