An error occurred fetching the project authors.
- 10 Aug, 2022 1 commit
-
-
Rafael Monnerat authored
The content of inline is a jinja2 template
-
- 18 Jul, 2022 1 commit
-
-
Xiaowu Zhang authored
Run wait_for_activities macro in selenium test on erp5 with activity subscribed may end with: INFO SQLBase Got a lock error, retrying... ..... WARNING waitress.queue Task queue depth is 1 WARNING waitress.queue Task queue depth is XXX .... 503 Service Unavailable
-
- 04 Jul, 2022 1 commit
-
-
Jérome Perrin authored
This repairs a NameError introduced in 397726e1 (erp5/neoppod/slapos: Support for python3 from aurel/zope4 branch., 2022-02-03) that was causing ERP5-IOS test suite to fail in loop.
-
- 15 Jun, 2022 3 commits
-
-
Jérome Perrin authored
When parameters are built by instance-erp5, we don't need to use .get, because the key is supposed to be here - and if it's not here it would be because of a bug so it's better to let the error propagate.
-
Jérome Perrin authored
Instead of having an hardcoded timeout that users will hit anyway even if they increase publisher timeout, set this timeout value to be slightly higher than publisher timeout. This way publisher-timeout can be used to allow longer requests and it's generally more consistent.
-
Jérome Perrin authored
We already had haproxy configured to stop serving requests longer than this duration, but the requests was still being processed by zope. By adding such default in publisher-timeout, zope will stop processing the request after the timeout. This is slightly different behavior, because before this change the request was still being processed, even if the client did not get the response it may make change to databases. Users who want to keep the previous behavior can request with publisher-timeout parameter null.
-
- 29 Apr, 2022 1 commit
-
-
Xavier Thompson authored
-
- 28 Apr, 2022 1 commit
-
-
Thomas Leymonerie authored
Use slapos.recipe.template instead of slapos.recipe.template if possible Harmonize template keys : rendered -> output template -> url template = inline: -> inline = Delete "mode" key See merge request nexedi/slapos!1151
-
- 10 Feb, 2022 1 commit
-
-
Yusei Tahara authored
-
- 09 Feb, 2022 1 commit
-
-
Arnaud Fontaine authored
-
- 07 Feb, 2022 4 commits
-
-
Julien Muchembled authored
This was useless. dumps is enough.
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
Arnaud Fontaine authored
-
- 17 Jan, 2022 1 commit
-
-
Xavier Thompson authored
Without this we sometimes hit the socket path length limit when testing ERP5 inside Theia inside erp5testnode.
-
- 11 Jan, 2022 3 commits
-
-
Jérome Perrin authored
With ERP5 commit erp5!1529 timerserver is started from wsgi startup script and the config in zope.conf only applies to the medusa/ZServer mode.
-
Jérome Perrin authored
Since ERP5 commit 8f3b77517e (Force use of the new TimerServer, 2019-09-13) the timerserver egg is not longer used, so it's not needed to install and configure it.
-
Jérome Perrin authored
In ubuntu 21.04 (libc6 2.33-0ubuntu5) or current debian testing (libc6 2.32-5) no longer use open to open /etc/hosts, but what appears as "openat" in strace output - but can not be replaced by defining an openat function. This uses https://github.com/figiel/hosts which uses another approach of replacing getaddrinfo, gethostbyname* and inet_aton. Users have been updated a bit, because there are some small differences: - the /etc/hosts replacement file is defined by HOSTS_FILE environment variable, not HOSTS - the library name is libuserhosts.so, not userhosts.so Other notable differences, for which we did not need code change are: - the new library also try to load a file when HOSTS_FILE is not set - the new library still use original /etc/hosts file - the new library supports aliases to hostnames, not only ip addresses
-
- 28 Dec, 2021 1 commit
-
-
Jérome Perrin authored
Since ERP5 commit d4eda7ea49 (CMFActivity: show InnoDB history list length in console watcher, 2020-09-15), the wrapper script no longer work because accessing history list length require PROCESS privileges. In the case of ERP5, mariadb database is dedicated for ERP5, so we can grant the PROCESS privilege also to erp5 default user, which is used in the wrapper script. We don't grant the permission to test users because they don't need it.
-
- 22 Dec, 2021 1 commit
-
-
Vincent Pelletier authored
5s is the historical default tic periodicity, but 1s is typically used in production instances. 1s periodicity should improve validation node reactivity in all cases, and general activity reactivity in instances with few processing nodes (like development instances).
-
- 01 Dec, 2021 1 commit
-
-
Jérome Perrin authored
By setting this in the test suite configuration, we can force ERP5 tests to use random priorities for activity processing. The intended usage is to set this to an empty string, in which case ERP5's runUnitTest chooses a random value for the seed and prints the chosen value. It may also be possible to use a value, to reproduce a previous run.
-
- 04 Nov, 2021 1 commit
-
-
Jérome Perrin authored
-
- 11 Oct, 2021 1 commit
-
-
Julien Muchembled authored
Adapt all promise sections to changes in plugin promise recipe.
-
- 30 Jul, 2021 1 commit
-
-
Vincent Pelletier authored
This change has no effect on stand-alone setups (which is what is automatically deployed). On setups configured to replicate from another database, it allows them to takeover the role of the primary server, which allows rebuilding a redundant setup. On such setup, the cost of this option is the extra I/O load of binlogs being written to (in addition to the relay log and database), and the corresponding disk space use.
-
- 15 Jul, 2021 1 commit
-
-
Jérome Perrin authored
This was introduced recently, in 0aecb41a (software: Use local tmp for caucase, 2021-05-18). This is harmless, but uses a weird-looking directory
-
- 29 Jun, 2021 1 commit
-
-
Xavier Thompson authored
Change all `check_port_listening` promises to `check_socket_listening` and rename all associated `config-hostname` arguments to `config-host`
-
- 22 Jun, 2021 1 commit
-
-
Jérome Perrin authored
-
- 31 May, 2021 2 commits
-
-
Kirill Smelkov authored
In commit 48b24182 I passed 'wcfs_enable' to instance-zope.cfg as string instead of an object. As the result, even if it was wcfs_enable=False, in instance-zope.cfg in ---- 8< ---- https://lab.nexedi.com/nexedi/slapos/blob/8d3af101/stack/erp5/instance-zope.cfg.in#L68-72) {% if slapparameter_dict['wcfs_enable'] %} WENDELIN_CORE_VIRTMEM=r:wcfs+w:uvmm {% else %} WENDELIN_CORE_VIRTMEM=rw:uvmm {% endif %} it was always taking the first branch, becuse slapparameter_dict['wcfs_enable'] was giving 'False' - a string - whose boolean value is True In [1]: bool('False') Out[1]: True -> Fix it by passing slapparameter_dict['wcfs_enable'], similarly to most other keys, as object.
-
Łukasz Nowak authored
-
- 15 Apr, 2021 2 commits
-
-
Kirill Smelkov authored
This complements 7f877621 (Move wendelin.core from Wendelin to ERP5) and introduces new WCFS service into ERP5 software-release to support upcoming wendelin.core 2. Wendelin.core 2 will introduce new WCFS filesystem server component that serves in-ZODB arrays data as OS files for Zopes to memory-map. Please see the following links for overview of what WCFS is and how it interoperates with and serves Python clients: https://lab.nexedi.com/kirr/wendelin.core/blob/b5fc98bb/wcfs/wcfs.go#L20-247 https://lab.nexedi.com/kirr/wendelin.core/blob/b5fc98bb/wcfs/client/wcfs.h#L20-96 Implementation notes: - WCFS is by default disabled in ERP5 - we do not want to load every ERP5 user with it in the early days of wendelin.core 2. WCFS service will also not work when ERP5 is built with wendelin.core 1, so keeping it disabled by default is reasonable for now. - There is a duplication for instance-erp5.cfg.in in between stack/erp5/ and software/slapos-master/ . It was negotiated with VIFIB developers to go this way instead of first deduplicating instance-erp5.cfg.in copying that was started in 87d13789 (slapos-master: Copy files from erp5 stack for local changes). To enable wcfs one can either pass `wcfs` configuration parameter, or add the following to a software-release that uses stack/erp5: [erp5-defaults] wcfs-enable-default = true /cc @rafael, @tomo
-
Jérome Perrin authored
This is the same permissions as all other log files from ERP5
-
- 31 Mar, 2021 1 commit
-
-
Jérome Perrin authored
Haproxy log errors for events like when all backends from a family fail the health check, it is helpful for investigations to have a timestamp in this log. We were using ActionFileDefaultTemplate so that access logs use standard "combined"-like format, we change so that this apply only to the access log, so that error log have the default "timestamp hostname process[pid] message" format.
-
- 26 Mar, 2021 1 commit
-
-
Vincent Pelletier authored
The _vh_ prefix is needed for every single outer path element for VirtualHostMonster to be able to properly reconstruct the outer path.
-
- 09 Mar, 2021 1 commit
-
-
Vincent Pelletier authored
-
- 08 Mar, 2021 5 commits
-
-
Vincent Pelletier authored
Use-case: when an host enry is used to define the outgoing binding IP of zopes in a partition, this IP is host-dependent.
-
Vincent Pelletier authored
So that it proagates root instance's "balancer" parameter, as other request-* sections do. No functional change is expected, this is rather for code simplification and factorisation.
-
Vincent Pelletier authored
use this new mechanism, which avoids this parameter being misused (inconsistent between partitions of the same family). Preserve backward compatibility, giving precedence to the new mechanism.
-
Vincent Pelletier authored
Call them deadlines, as this is what they really are, but the "wrong" name stuck on ERP5 side (for now). Also, introduce a per-family-override mechanism, to avoid having per- option equivalents for such mechanism.
-
Vincent Pelletier authored
Also, stop poping it: nothing else seems to be accessing the containing dict, so mutating it does not seem necessary.
-
- 03 Mar, 2021 1 commit
-
-
Vincent Pelletier authored
When the outside world path does not match the Zope path (typically: Web Site).
-