| Summary: | after embedding a backend cartridge, rhc client tools returns the raw values rather than hinting towards our best practice to use Env Vars | ||
|---|---|---|---|
| Product: | OKD | Reporter: | Nam Duong <nduong> |
| Component: | Containers | Assignee: | Jhon Honce <jhonce> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.x | CC: | ccoleman, dmcphers, jhou, jofernan, johnp, mmcgrath, mpatel |
| Target Milestone: | --- | Keywords: | Triaged |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-11-06 18:49:25 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Nam Duong
2012-03-27 19:33:57 UTC
We get whatever the backend sends back to us. The client has no context or structured data in which to give a better notice to the user. This is a backend issue. Retaking this. While working with cartridges this sprint I noticed that this is now implemented by the backend. I will take a look at this for RHC. We probably need a story for the site. Cartridge changes under review https://github.com/jwhonce/origin-server/commit/ba9114fd1b755147fe2f81772bca272bf641bc45 Verified on devenv_2138
Now we use Env vars instead of ip:port
Steps:
1. Create an application
2. Embed db cartridge to it
mongodb-2.2:
MongoDB 2.2 database added. Please make note of these credentials:
Root User: admin
Root Password: W44DGr551zhZ
Database Name: php1s
Connection URL: mongodb://$OPENSHIFT_GEAR_DNS:$OPENSHIFT_MONGODB_DB_PROXY_PORT/
MongoDB gear-local connection URL: mongodb://$OPENSHIFT_MONGODB_DB_HOST:$OPENSHIFT_MONGODB_DB_PORT/
mysql-5.1:
MySQL 5.1 database added. Please make note of these credentials:
Root User: admin
Root Password: HWy-gsPMQsux
Database Name: php1s
Connection URL: mysql://$OPENSHIFT_GEAR_DNS:$OPENSHIFT_MYSQL_DB_PROXY_PORT/
MySQL gear-local connection URL: mysql://$OPENSHIFT_MYSQL_DB_HOST:$OPENSHIFT_MYSQL_DB_PORT/
postgresql-8.4:
PostgreSQL 8.4 database added. Please make note of these credentials:
Root User: admin
Root Password: IXRQK32P2PJU
Database Name: php1s
Connection URL: postgresql://$OPENSHIFT_GEAR_DNS:$OPENSHIFT_POSTGRESQL_DB_PROXY_PORT/
PostgreSQL gear-local connection URL: postgresql://$OPENSHIFT_POSTGRESQL_DB_HOST:$OPENSHIFT_POSTGRESQL_DB_PORT/
|