openerp-india team mailing list archive
-
openerp-india team
-
Mailing list archive
-
Message #14074
[Bug 1008426] Re: ReportNotFound in GTK Client when running with more than One worker
Hello,
Unfortunately this limitation is unavoidable when using the GTK client.
Basically the current OpenERP reporting system is meant to work
asynchronously (client polls until the result is ready), so it requires
the client-worker pair to stay the same throughout the whole report
generation.
The new GUnicorn deployment model in OpenERP 6.1 does not support
establishing permanent/sticky client-worker pairs, because it is
designed to work exclusively in a very specific environment: on Unix (no
Windows support) and with the web client running in embedded mode (no
GTK and no standalone web client). In this specific environment the web
client will be running inside the server and will perform the "polling"
locally, hence the part of the client running in the browser will see
the whole report generation as a single blocking operation.
For other deployment needs (e.g. on Windows or with GTK client or with stand-alone web client), the suggested way to deploy OpenERP in a multi-process configuration is to use a load-balancing web server that supports sticky sessions, and make it load-balance the requests between multiple OpenERP instances. One such configuration is an Apache server with mod_proxy, using a ProxyPass directory that points to a `balancer` with the parameter stickysession=sessionid
This gives the same multi-processing benefits as using the GUnicorn deployment mode, but the deployment steps are a little bit different.
Our default GUnicorn configuration is really only an example of how
multiple OpenERP workers can be run in parallel to benefit from real
multi-processing capabilities, and it only works when used in the
default deployment mode we chose (Unix + Embedded web client).
I hope this clarifies the situation...
PS: If anyone wants to post here the proxy/load-balancing configuration
they are using for their preferred deployment mode, it would be an
interesting addition to the official documentation
** Changed in: openobject-server
Importance: Medium => Undecided
** Changed in: openobject-server
Status: Confirmed => Won't Fix
--
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Server.
https://bugs.launchpad.net/bugs/1008426
Title:
ReportNotFound in GTK Client when running with more than One worker
Status in OpenERP Server:
Won't Fix
Bug description:
Hi,
When running openerp server 6.1 with more than one worker we have the
error bellow in gtk client.
With one worker no error in GTK Client
No error in web client.
thanks for all
stephane
Environment Information :
System : Linux-3.0.0-19-generic-x86_64-with-Ubuntu-11.10-oneiric
OS Name : posix
Distributor ID: Ubuntu
Description: Ubuntu 11.10
Release: 11.10
Codename: oneiric
Operating System Release : 3.0.0-19-generic
Operating System Version : #33-Ubuntu SMP Thu Apr 19 19:05:14 UTC 2012
Operating System Architecture : 64bit
Operating System Locale : fr_FR.UTF-8
Python Version : 2.7.2+
OpenERP-Client Version : 6.1.1
Last revision No. & ID :Bazaar Package not Found !Traceback (most recent call last):
File "/home/ubuntu/openerp/openobject-server/openerp/wsgi/core.py", line 79, in xmlrpc_return
result = openerp.netsvc.dispatch_rpc(service, method, params)
File "/home/ubuntu/openerp/openobject-server/openerp/netsvc.py", line 360, in dispatch_rpc
result = ExportService.getService(service_name).dispatch(method, params)
File "/home/ubuntu/openerp/openobject-server/openerp/service/web_services.py", line 669, in dispatch
res = fn(db, uid, *params)
File "/home/ubuntu/openerp/openobject-server/openerp/service/web_services.py", line 779, in exp_report_get
raise Exception, 'ReportNotFound'
Exception: ReportNotFound
To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-server/+bug/1008426/+subscriptions
References