Comment 4 for bug 1370658

Revision history for this message
Mahesh Waidande (mahesh-waidande1248) wrote :

I download latest version of openerp-web charm ( cs:precise/openerp-web-4 ) form charm store and able to deploy it with trusty environment and establish a relation between openerp-web and openerp-server on ppc64le machine.

Whenever we deploy any charm, start up script executes (hook/start) in which we can specify various steps to deploy charm which includes installing dependent packages, starting services, setting environment variable etc.

 In case of openerp-web charm hook/start script try to start ‘openerp-web’ service and it fails to do that due to unavailability of configuration file in ‘/etc/init/’ directory which result into failure of install hook. That is a basic reason why openerp-web charm was not able to deploy on ppc64le (I can’t comment about other architectures, as I did not deployed on it but by seeing this behavior my guess is openerp-web charm will fail on other architecture as well). For resolving install hook failure I comment out line which was responsible for starting service from hook/start script and installation move ahead and successful.

For every service there will be associate configuration (.conf) file present in ‘/etc/init/’ directory. For Openerp-web charm ‘openerp-web.conf ‘file is explicitly created at a time adding or creating relation with other charm. When we add relation between openerp-web and other charm ‘openerp-relation-joined’ script was executed and it will explicitly create ‘openerp-web.conf ‘file under ‘/etc/init/’ directory and start the ‘openerp-web’ service.

I am able to add/establish relation between openerp-web client and openerp-server charm but while testing it I am getting ‘version unsupported error’, basically openerp-web version provided by launchpad was not compatible with openerp-server charm. For more information I have attached snapshot of error with this comment. For resolving this unsupported error I decided to compile latest code of openerp-web and deploy it but when I search a code I did not find any official repository for openerp-web.

Today Openerp is known as odoo and it does not provide two separate components as client and server, both these component are tightly couple in odoo. Can anyone suggest me where I can get the source of latest version of openerp-web? Any pointer/suggestions on this situation will be great help.