An error occurred fetching the project authors.
  1. 05 Mar, 2023 5 commits
  2. 16 Feb, 2023 1 commit
  3. 31 Jan, 2023 1 commit
  4. 12 Jan, 2023 1 commit
    • Jérome Perrin's avatar
      stack/erp5: also use backup cloudooo by default · a729a677
      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 )
      a729a677
  5. 30 Dec, 2022 1 commit
  6. 10 Nov, 2022 1 commit
  7. 12 Oct, 2022 1 commit
  8. 02 Sep, 2022 2 commits
  9. 18 Aug, 2022 1 commit
  10. 10 Aug, 2022 1 commit
  11. 18 Jul, 2022 1 commit
  12. 04 Jul, 2022 1 commit
  13. 15 Jun, 2022 3 commits
    • Jérome Perrin's avatar
      stack/erp5: use [key] instead .get(key) for internal parameters · dc838ce7
      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.
      dc838ce7
    • Jérome Perrin's avatar
      software/erp5: set server timeout in haproxy to match publisher-timeout · d25ab7bd
      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.
      d25ab7bd
    • Jérome Perrin's avatar
      software/erp5: default publisher-timeout to 5 minutes · 369fa364
      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.
      369fa364
  14. 29 Apr, 2022 1 commit
  15. 28 Apr, 2022 1 commit
  16. 10 Feb, 2022 1 commit
  17. 09 Feb, 2022 1 commit
  18. 07 Feb, 2022 4 commits
  19. 17 Jan, 2022 1 commit
  20. 11 Jan, 2022 3 commits
    • Jérome Perrin's avatar
      software/erp5: start TimerService from zopewsgi · c2411bca
      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.
      c2411bca
    • Jérome Perrin's avatar
      stack/erp5: use timerserver bundled in Products.TimerService.timerserver · 21869f19
      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.
      21869f19
    • Jérome Perrin's avatar
      component/userhosts: use github.com/figiel/hosts for compatibility with recent libc · b1acdb0a
      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
      b1acdb0a
  21. 28 Dec, 2021 1 commit
    • Jérome Perrin's avatar
      stack/erp5: create a mariadb user with PROCESS privileges · 2023e1bf
      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.
      2023e1bf
  22. 22 Dec, 2021 1 commit
    • Vincent Pelletier's avatar
      erp5: Change default timerserver-interval from 5s to 1s. · 6f2c9945
      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).
      6f2c9945
  23. 01 Dec, 2021 1 commit
    • Jérome Perrin's avatar
      stack/erp5: expose random_activity_priority argument of testrunner · 0b7511b4
      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.
      0b7511b4
  24. 04 Nov, 2021 1 commit
  25. 11 Oct, 2021 1 commit
  26. 30 Jul, 2021 1 commit
    • Vincent Pelletier's avatar
      stack/erp5: Make replicating mariadb write to their own binlogs. · 2b1d5b16
      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.
      2b1d5b16
  27. 15 Jul, 2021 1 commit
  28. 29 Jun, 2021 1 commit