An error occurred fetching the project authors.
- 07 Oct, 2024 1 commit
-
-
Levin Zimmermann authored
This reverts commit 0cf70a6e. NEOgo and NEOpy diverged wrt the NEO URI format. Due to NEOgo changes in the NEO URI format nexedi/slapos@0cf70a6e was necessary. However in nexedi/neoppod!18 and nexedi/neoppod!21 a common URI format for NEOgo and NEOpy was agreed on. Therefore most changes of nexedi/slapos@0cf70a6e are no longer necessary. We still need the difference between 'neo' (without SSL) and 'neos' (with SSL), but we'll re-introduce this in the next commit. This revert keeps the changes made in nexedi/slapos@6fa1d9ae as this is still needed. /reviewed-by @kirr @jerome /reviewed-on nexedi/slapos!1620
-
- 19 Sep, 2024 1 commit
-
-
Thomas Gambier authored
See merge request nexedi/slapos!1642
-
- 11 Apr, 2024 1 commit
-
-
Kazuhiko Shiozaki authored
* use the default RSA key length, instead of hardcoding 1024 (too weak) or 2048 (same as the current default). * use SHA256 in certificates.
-
- 26 Sep, 2023 1 commit
-
- 23 Aug, 2023 1 commit
-
-
Jérome Perrin authored
-
- 24 Apr, 2023 1 commit
-
-
Levin Zimmermann authored
In nexedi/slapos@0cf70a6e we already migrated the NEO URI concatenation to the recent format used by WCFS. Unfortunately we missed separating the address (IPv6 + port) of the master nodes from each other. Without adding the separator ',' between them, WCFS doesn't work with NEO clusters which have multiple master nodes, because NEO/go can't split the different master node addresses.
-
- 06 Mar, 2023 1 commit
-
-
Kazuhiko Shiozaki authored
-
- 05 Mar, 2023 6 commits
-
-
Jérome Perrin authored
ERP5 now only supports WSGI
-
Jérome Perrin authored
This needs a recent enough erp5, with the following commit: zopewsgi: configure threads count and large_file_threshold with argparse
-
Jérome Perrin authored
-
Jérome Perrin authored
haufe.requestmonitoring already supports WSGI and Python3 and seems used and maintainted.
-
Jérome Perrin authored
For ZEO4, this was implemented as a monkey patch in ERP5, but this is now supported in ZEO5, but not enabled by default. The setting is only avaiable through ZEO's own ZConfig, but not with ZODB's <zeoclient> so we also adjust the config to import ZEO and use ZEO's <clientstorage>.
-
Arnaud Fontaine authored
SIGUSR2 for reopening log files was handled by ZServer and waitress does not handle signals at all, so we could handle this signal but Zope official documentation recommends using logrotate `copytruncate`: https://zope.readthedocs.io/en/4.7/zopebook/MaintainingZope.html#log-rotation https://github.com/zopefoundation/Zope/issues/809
-
- 16 Feb, 2023 1 commit
-
-
Jérome Perrin authored
-
- 31 Jan, 2023 1 commit
-
-
Léo-Paul Géneau authored
-
- 12 Jan, 2023 1 commit
-
-
Jérome Perrin authored
We have two public cloudooo instances, https:///cloudooo.erp5.net/ and https://cloudooo1.erp5.net/ but the software release uses only the first one. This changes to use both instances by default, in a random order. This happens for the ERP5 instance and also for the test runner. This also includes a breaking change: the parameter is renamed from `cloudooo-url` into `cloudooo-url-list` and instead of being a coma delimited list of URLs, this is now a proper list of URLs. Some obsolete code and comments about the old `erp5-cloudooo` partition that used to part of ERP5 software release have also been removed. On testing side, ZopeSkinsMixin._setUpClass is changed be made more robust, by waiting that all activities are processed and using a new xmlrpc client in every iteration ( to prevent issues like the one from https://erp5js.nexedi.net/#/test_result_module/20230107-548523A7/10 )
-
- 30 Dec, 2022 1 commit
-
-
Levin Zimmermann authored
The NEO/go commit kirr/neo@8c974485 changed the URL with which a NEO/go client can be loaded from // neo://name@master1,master2,...,masterN?options to neo(s)://[credentials@]master1,master2,...,masterN/name?options We need to apply this change in the NEO URL structure to instance-wcfs.cfg.in to use WCFS with NEO storage. Why? ==== The URL in instance-wcfs.cfg.in is finally send to wcfs binary, which will open a NEO/go client with this URL via the "openClientByURL" function [1]. If the URL formatting instance-wcfs.cfg.in follows the old pattern, NEO/go is unable to create a NEO/go client and may even raise an exception [2], because information regarding NEO server is at the wrong position of the URL. --- [1] See https://lab.nexedi.com/kirr/neo/blob/87199da2b163c09ed3946b7ab9bb00a5b987d377/go/neo/client.go#L416-534 for openClientByURL. [2] For instance when using the old pattern of putting the cluster name in the "user" part, NEO/go will raise "credentials can be specified only with neos:// scheme", because NEO/go reserves the "user" part for encryption information, see https://lab.nexedi.com/kirr/neo/blob/87199da2b163c09ed3946b7ab9bb00a5b987d377/go/neo/client.go#L449 --- /reviewed-by @kirr /reviewed-on nexedi/slapos!1307
-
- 10 Nov, 2022 1 commit
-
-
Jérome Perrin authored
-
- 12 Oct, 2022 1 commit
-
-
Jérome Perrin authored
using link-binary is enough
-
- 02 Sep, 2022 2 commits
-
-
Vincent Pelletier authored
Direct logs to instance's var/log and call postfix's logrotate command, instead of the slapos-hostile syslog. Unfortunately, rotated logs will stay in that directory, unlike the de-facto standard for slapos.
-
Vincent Pelletier authored
Resolve warnings emitted by postfix commands themselves.
-
- 18 Aug, 2022 1 commit
-
-
Levin Zimmermann authored
-
- 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 !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 nexedi/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
-