Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1153287 - Applications with the same alias are only listed once in the administration console
Applications with the same alias are only listed once in the administration c...
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Management Console (Show other bugs)
2.1.0
x86_64 Linux
high Severity high
: ---
: ---
Assigned To: Luke Meyer
libra bugs
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2014-10-15 13:13 EDT by Timothy Williams
Modified: 2015-02-12 08:09 EST (History)
9 users (show)

See Also:
Fixed In Version: rubygem-openshift-origin-admin-console-1.28.0.1-1
Doc Type: Bug Fix
Doc Text:
Cause: The admin console did not account for two applications with the same alias. Consequence: The admin console was not capable of displaying multiple applications with the same alias. Fix: The admin console has been fixed to display all applications with the same alias. Result: Applications with the same alias are now displayed properly.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-02-12 08:09:23 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2015:0220 normal SHIPPED_LIVE Red Hat OpenShift Enterprise 2.2.4 bug fix and enhancement update 2015-02-12 13:08:20 EST

  None (edit)
Description Timothy Williams 2014-10-15 13:13:53 EDT
Description of problem:
When two applications have the same alias, only one application will be listed in the administration console when searching for the alias.

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

How reproducible:
Always

Steps to Reproduce:
1. Create two applications
2. Assign both applications the same alias
3. Search for the alias in the administration console

Actual results:
Only one application is listed

Expected results:
Both applications are listed

Additional info:
Adding two applications with the same alias is not a normal use case, but it is possible and used by at least one enterprise customer.
Comment 5 Luke Meyer 2014-12-15 15:38:28 EST
This condition will only occur when we relax alias constraints with the undocumented broker.conf option PREVENT_ALIAS_COLLISION=false in order to give two apps the same alias. It's also conceivable, though highly unlikely, that the query could come back with multiple apps by virtue of matching on more than one parameter (app uuid, app name, alias). In any case, with this patch multiple matches now are simply displayed.

https://github.com/openshift/origin-server/pull/6020
Comment 7 openshift-github-bot 2014-12-16 10:48:12 EST
Commit pushed to master at https://github.com/openshift/origin-server

https://github.com/openshift/origin-server/commit/dd23d844a85e0147f5fc49a1f8f035f89972fe59
admin-console: allow multiple app search results

https://bugzilla.redhat.com/show_bug.cgi?id=1153287
Bug 1153287 - Applications with the same alias are only listed once in
the administration console
Comment 8 Luke Meyer 2014-12-16 11:09:10 EST
Should be resolved when we merge upstream changes again.
Comment 13 Anping Li 2015-01-26 04:49:07 EST
Verified and pass on puddle-2-2-2015-01-23
1) turn on admin-console by add the follow item in 000002_openshift_origin_broker_proxy.conf
  ProxyPass /admin-console http://127.0.0.1:8080/admin-console
  ProxyPass /assets http://127.0.0.1:8080/assets
2) add same alias to different applications
3) search alias named in https://$broker/admin-console/search. all applications can be found.
Comment 16 errata-xmlrpc 2015-02-12 08:09:23 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHBA-2015-0220.html

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