Bug 781591

Summary: Add environment variable information to command line when a cart gets added
Product: OKD Reporter: Clayton Coleman <ccoleman>
Component: ocAssignee: Alex Boone <aboone>
Status: CLOSED NOTABUG QA Contact: libra bugs <libra-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 1.xCC: junpark
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-01-16 13:54:37 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 Clayton Coleman 2012-01-13 19:52:54 UTC
Description of problem:
When a user adds a cartridge from the command line that is database based, we output the username, password, port, and url that they can use to access that.  However, if you are developer doing this the first time you may not realize that you can also access these via environment variables.  We should include in the "success" output the exact environment variable names for each value (probably as a separate section).  

We could eventually add something to automatically fill these values in or prompt (You added mySQL to a Rails cart, do you wish to update database.yml to use these environment variables).  That would be a way to smooth a common problem on setup.  

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

How reproducible:
Always (noticed during postgre demo)

Steps to Reproduce:
1. Using rhc, add a mysql or postgre cartridge to an application
  
Actual results:
See info about user/password/url

Expected results:
See the environment variable names these will be available under

Comment 1 Alex Boone 2012-01-16 13:54:37 UTC
I have converted this to a User Story in Rally (US1753), as it's a feature request