[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: ENV variable on cartridge



Hi,

This looks like it might be this bug, or something related: https://bugzilla.redhat.com/show_bug.cgi?id=1088005

What version of OpenShift are you running? Can you get your app to display the value of that env var, then see what it displays after each of: restarting the app via console, restarting via "rhc app-stop foo ; rhc app-start foo" and restarting by sshing into your app and running "openerp/bin/control stop ; openerp/bin/control start"? Please share the results here. Presumable sshing in will work as expected, since you've already said so, but it's nice to be thorough. :)

----- Original Message -----
> Hi list,
> 
> I’ve a custom cartridge that contain the software version to run ODOO_VERSION
> , this bash variable is declare under
> openerp
> ├── bin
> │ ├── control
> │ └── setup
> ├── env
> │ ├── ODOO_VERSION
> │ ├── OPENSHIFT_OPENERP_DIR
> │ ├── ...
> 
> 
> the problems arise the I trying to change the value using
> 
> rhc set-env ODOO_VERSION=6.0 -app foo
> 
> When i log to the cartridge the env command display the correct value and if
> I run the control start everything is working as expected.
> 
> The problem arise when I execute the restart form the web console, the web
> restart take into account the old value and now the new one,
> 
> can somebody have a explanation ?
> 
> 
> -P
> 
> _______________________________________________
> users mailing list
> users lists openshift redhat com
> http://lists.openshift.redhat.com/openshiftmm/listinfo/users
> 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]