Bug 863935 - Can not add mysql or postgresql cartridges to the same application with mongodb embeded.
Summary: Can not add mysql or postgresql cartridges to the same application with mong...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OKD
Classification: Red Hat
Component: Containers
Version: 2.x
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: ---
Assignee: Mrunal Patel
QA Contact: libra bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-08 06:27 UTC by Yujie Zhang
Modified: 2015-05-14 23:00 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-11-06 18:47:50 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Yujie Zhang 2012-10-08 06:27:53 UTC
Description of problem:

After I added mongodb to the application,I tried to add mysql or postgresql cartridge to the same application, but caught error message which says "Only 1 embedded database permitted - application currently has 'mongodb-2.2'", CLI and website will get the same result.

PS, with mysql or postgresql embeded, I can add mongodb successfully.

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

devenv_2295

How reproducible:always


Steps to Reproduce:
1.Go to openshift website and login
2.Create an application and add mongodb cartridge
3.Try to add mysql or postgresql cartridge.
  
Actual results:

Can not add mysql  or postgresql cartridges to the same application with mongodb embeded. 

Expected results:

We should be able to add mysql or postgresql cartridge to the same application with mongodb embeded.

Additional info:

Comment 1 Mrunal Patel 2012-10-08 21:34:57 UTC
Fixed with https://github.com/openshift/origin-server/pull/617

Note: Only one embedded db is allowed per app. So, with the fix can only embed one of the three DBs in a non-scalable app.

Comment 2 Xiaoli Tian 2012-10-09 04:58:01 UTC
Above pull request is merged in devenv_2301, move it to ON_QA to verify earlier.

Comment 3 Yujie Zhang 2012-10-09 06:30:49 UTC
(In reply to comment #1)
Tested this issue on devenv_2301, it has been fixed now, only one embedded db is allowed.


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