Need to do `app stop` && `app start` after creating/destroying service, so ENV variables can update
Issue #122
resolved
Steps to reproduce:
- Create an app
- Pull from
git@bitbucket.org:liahsheep/sample-php.git
- Go to
http://_____.app.cnpaas.localhost/env.php
, note the result - Create a service
- Reload
http://_____.app.cnpaas.localhost/env.php
, note MYSQL_ variables are NOT added - Stop and start app
- Reload
http://_____.app.cnpaas.localhost/env.php
, note MYSQL_ variables are finally added
Comments (3)
-
reporter -
reporter - changed title to Need to do `app stop` && `app start` after creating/destroying service, so ENV variables can update
-
reporter - changed status to resolved
Fixed by pull request #131
after_delay_create
&after_delay_destroy
- Log in to comment
Seems to be known issue for OpenShift. Refer to http://stackoverflow.com/a/28507502/1316828