Bug 1303225 - oo-app-info with options for app name and domain name does not work as expected
Summary: oo-app-info with options for app name and domain name does not work as expected
Keywords:
Status: CLOSED EOL
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: oc
Version: 2.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: ---
Assignee: Fabiano Franz
QA Contact: Wei Sun
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-01-29 21:24 UTC by Ryan Howe
Modified: 2017-01-13 21:46 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-01-13 21:46:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Comment 1 Ryan Howe 2016-01-29 21:31:27 UTC
Created attachment 1119531 [details]
Testing

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):
2.2.8

How reproducible:
100%

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 21:46:29 UTC
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.