Bug 849041
Summary: | Should not be able to add mysql and postgresql to the same scalable app | ||
---|---|---|---|
Product: | OKD | Reporter: | Meng Bo <bmeng> |
Component: | Containers | Assignee: | Mrunal Patel <mpatel> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 2.x | CC: | mmcgrath, mpatel, pruan, xtian |
Target Milestone: | --- | Keywords: | FutureFeature |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-11-06 18:48:23 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Meng Bo
2012-08-17 07:09:48 UTC
Should not be able to add both right now. The check that a db has already been added to a scalable app will have to be done in the broker. The test as it runs today checks for variables in the gear which should have been properly set. There's likely a failure in one or the other cartridge's configure hook. The check won't help when configure runs on a fresh new gear when db is added to a scalable app. We should be able to support this in the future with US 2110. Preventing this from happening right now would be a hard coded hack in the broker. Marking this as FutureFeature. Bug Triage Meeting, we think this might not be a valid bug anymore (in that users should be able to use mysql and postgres on the same app) verified with devenv_2307 [myapp-ppp19b.dev.rhcloud.com ~]\> psql psql (8.4.13) Type "help" for help. myapp=# exit myapp-# quit myapp-# ^C myapp=# \q [myapp-ppp19b.dev.rhcloud.com ~]\> mysql Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 5 Server version: 5.1.61 Source distribution Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | myapp | | mysql | +--------------------+ 3 rows in set (0.00 sec) mysql> |