Bug 873568 - Postgresql should be displayed in the app's cartridge select list after user embed mysql to the app.
Summary: Postgresql should be displayed in the app's cartridge select list after user ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Website
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: N. Harrison Ripps
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-11-06 08:21 UTC by Mengjiao Gao
Modified: 2015-05-15 01:15 UTC (History)
4 users (show)

Fixed In Version: greater than rubygem-openshift-origin-console-1.1.3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-12-19 19:27:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 864776 0 low CLOSED The cartridge mongodb should not be displayed in the cartridge select list after user embed mysql to apps. 2021-02-22 00:41:40 UTC

Internal Links: 864776

Description Mengjiao Gao 2012-11-06 08:21:12 UTC
Description of problem:
   Since non-scalable app do not support to add mysql and postgresql at the same time.After user add mysql to an app, the postgresql cartridge will be moved from the app's cartridge select list to the cartridge conflict list. 

   However, for scalable app, we support to add mysql and postgresql to the app at the same time now. So we should not remove the postgresql cartridge from the cartridge select list for scalable app after user add mysql to the app.

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

How reproducible:
always

Steps to Reproduce:
1.Go to website, and create a scalable app.
2.Add mysql to the app.
3.Check the cartridge select list of the app.
4.Try to add postgresql in the page: /app/console/applications/spring/cartridge_types/postgresql-8.4
  
Actual results:
At step 3, the cartridge postgresql would be removed from the cartridge select list , and stayed in the conflict list. 
At step 4, the postgresql can be added successfully.

Expected results:
At step 3, the cartridge postgresql should still in the cartridge select list.

Additional info:

Comment 1 Mengjiao Gao 2012-11-08 07:26:17 UTC
Tested this issue on devenv_2441, all sqls could be added to one app now. So we should not remove the postgresql cartridge from the cartridge select list for all apps after user add mysql to the apps.

Comment 2 Xiaoli Tian 2012-11-08 07:37:11 UTC
Remove security from keyword  since it's a misoperation

Comment 3 Mengjiao Gao 2012-11-08 07:38:32 UTC
Remove security from keyword  since it's a misoperation

Comment 4 Tomas Hoger 2012-11-08 09:03:21 UTC
Removed security group, added private.  You should be able to remove private if this should be public.

Comment 5 Xiaoli Tian 2012-11-08 09:34:14 UTC
(In reply to comment #4)
> Removed security group, added private.  You should be able to remove private
> if this should be public.

Thanks

Comment 6 Yujie Zhang 2012-11-13 07:30:18 UTC
Tested on INT today, mysql and postgresql still conflict with each other.Higher the severity in case it block stage.

Comment 7 N. Harrison Ripps 2012-11-13 16:21:41 UTC
Assigned

Comment 8 N. Harrison Ripps 2012-11-13 18:17:17 UTC
cartridge config file contained outdated constraints that were affecting the UI; pull request for fix is here: https://github.com/openshift/origin-server/pull/885

Should be available in today's daily build.

Comment 9 Yujie Zhang 2012-11-14 06:54:20 UTC
(In reply to comment #8)
Tested this issue on devenv_2465, the mysql,postgresql,and mongodb will not conflict with each other now, so verify this bug, thanks.


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