An error occurred fetching the project authors.
  1. 10 Aug, 2022 1 commit
  2. 18 Jul, 2022 1 commit
  3. 04 Jul, 2022 1 commit
  4. 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
  5. 29 Apr, 2022 1 commit
  6. 28 Apr, 2022 1 commit
  7. 10 Feb, 2022 1 commit
  8. 09 Feb, 2022 1 commit
  9. 07 Feb, 2022 4 commits
  10. 17 Jan, 2022 1 commit
  11. 11 Jan, 2022 3 commits
    • Jérome Perrin's avatar
      software/erp5: start TimerService from zopewsgi · c2411bca
      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.
      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
  12. 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
  13. 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
  14. 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
  15. 04 Nov, 2021 1 commit
  16. 11 Oct, 2021 1 commit
  17. 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
  18. 15 Jul, 2021 1 commit
  19. 29 Jun, 2021 1 commit
  20. 22 Jun, 2021 1 commit
  21. 31 May, 2021 2 commits
  22. 15 Apr, 2021 2 commits
    • Kirill Smelkov's avatar
      stack/erp5 += WCFS service (technology preview) · 48b24182
      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
      48b24182
    • Jérome Perrin's avatar
      software/erp5: create haproxy log files as 0644 · fed8d47c
      Jérome Perrin authored
      This is the same permissions as all other log files from ERP5
      fed8d47c
  23. 31 Mar, 2021 1 commit
    • Jérome Perrin's avatar
      software/erp5: include timestamp in haproxy error log · edc71fe8
      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.
      edc71fe8
  24. 26 Mar, 2021 1 commit
  25. 09 Mar, 2021 1 commit
  26. 08 Mar, 2021 5 commits
  27. 03 Mar, 2021 1 commit