An error occurred fetching the project authors.
  1. 15 Apr, 2021 1 commit
    • 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
  2. 10 Mar, 2021 1 commit
  3. 09 Mar, 2021 2 commits
  4. 21 Jan, 2021 1 commit
    • Jérome Perrin's avatar
      software/erp5: Adjust apachedex promise for haproxy · e6087b7d
      Jérome Perrin authored
      Since bd3c2b18 (Remove httpd from ERP5 and use haproxy instead, 2020-12-14)
      timing in balancer access log files are in milliseconds, no longer in
      microseconds as they use to be with apache.
      
      We update apachedex to version 1.8, where it supports generating reports
      from access log files with milliseconds, as long as the expected format is
      passed with --logformat argument.
      
      We changed the default value of apachedex configuration to use the expected
      --logformat argument, but users with a custom apachedex config passed as
      instance parameters (monitor.apachedex-configuration) will have to update
      their request parameters, to also pass --logformat.
      Since this is breaking change, we take this opportunity to introduce another
      breaking change, this parameter is not longer a string with all arguments
      on the same line, which was problematic because these arguments contained
      quotes and backslashes. The arguments are now passed as a list of strings
      which will become the list of arguments passed to apachedex.
      
      This is implemented by generating an apachedex config file, which simplifies
      the generation of the wrapper. For this we also needed to upate
      slapos.toolbox.
      
      The same change is reflected to the overriden profiles in slapos-master,
      but for slapos-master we don't pass the --logformat argument, because
      slapos-master is using httpd, so the logs timings are still in microseconds.
      e6087b7d
  5. 19 Nov, 2019 2 commits
  6. 13 Sep, 2019 1 commit
  7. 09 Sep, 2019 1 commit
  8. 30 Aug, 2019 1 commit
  9. 20 Aug, 2019 1 commit
  10. 13 Aug, 2019 1 commit
  11. 24 Jun, 2019 3 commits
  12. 19 Jun, 2019 1 commit
  13. 07 May, 2019 1 commit
  14. 06 Mar, 2019 1 commit
  15. 03 Dec, 2018 1 commit
  16. 15 Oct, 2018 1 commit
  17. 29 Aug, 2018 1 commit
  18. 19 May, 2018 1 commit
  19. 22 Feb, 2018 2 commits
  20. 21 Feb, 2018 1 commit
  21. 13 Feb, 2018 1 commit
  22. 17 Nov, 2017 1 commit
  23. 05 Nov, 2017 1 commit
  24. 30 Oct, 2017 1 commit
  25. 11 Oct, 2017 1 commit
  26. 21 Aug, 2017 1 commit
  27. 19 Jul, 2017 1 commit
  28. 22 Jun, 2017 1 commit
  29. 21 Jun, 2017 1 commit
  30. 20 Apr, 2017 1 commit
    • Rafael Monnerat's avatar
      slapos-master: Follow up recent changes on erp5 stack · c9a3ff91
      Rafael Monnerat authored
        Apply commits:
         stack.erp5: Drop unneeded executable permissions. (fe7ea950)
         stack.logrotate: Fix support for stopped processes.
         stack.erp5: Use an iterator to produce port numbers.
         software/erp5: if wendelin-core-zblk-fmt is not given, then use wendelin.core's default.
         software/erp5 & stack/erp5: Add a new parameter wendelin-core-zblk-fmt.
      c9a3ff91
  31. 26 Oct, 2016 1 commit
    • Kirill Smelkov's avatar
      erp5: jupyter.enable is boolean, not string · 02900123
      Kirill Smelkov authored
      When originally in 0a446263 (ERP5 and Jupyter integrated together) I added
      Jupyter support into ERP5 the parameter for whether to enable/disable it was
      declared as boolean in JSON schema but processed as string in instance code,
      this way preventing usage of real JSON's boolean.
      
      Fix it.
      
      (also fixing up software/slapos-master/ which copied the files for play in 87d13789)
      
      /noticed-by @vpelletier (on nexedi/slapos!43)
      02900123
  32. 18 Feb, 2016 1 commit
  33. 16 Feb, 2016 2 commits
  34. 01 Feb, 2016 1 commit
    • Kirill Smelkov's avatar
      ERP5 and Jupyter integrated together · 0a446263
      Kirill Smelkov authored
      This patch teaches ERP5 software release to automatically instantiate Jupyter
      notebook web UI and tune it to connect to ERP5 by default. When Jupyter is
      enabled, it also installs on-server erp5_data_notebook bt5 (nexedi/erp5!29)
      which handles code execution requested for Jupyter.
      
      For ERP5 - for security and backward compatibility reasons - Jupyter
      instantiation and erp5_data_notebook bt5 install happen only if jupyter is
      explicitly enabled in instance parameters. The default is not to have Jupyter
      out of the box.
      
      On the other hand for Wendelin SR, which inherits from ERP5 SR, the
      default is to have Jupyter out of the box, because Wendelin SR is fresh
      enough without lots of backward compatibility needs, and Jupyter is
      usually very handy for people who use Wendelin.
      
      ~~~~
      
      For integration, we reuse already established in ERP5 infrastructure, to
      request various slave instances, and request Jupyter in a way so it
      automatically tunes and connects to balancer of one of Zope family.
      
      Jupyter code itself is compiled by reusing
      software/ipython_notebook/software.cfg, and Jupyter instance code is
      reused by hooking software/ipython_notebook/instance.cfg.in into ERP5 SR
      properly (the idea to override instance-jupyter not to render into
      default template.cfg is taken from previous work by @tiwariayush).
      
      ~~~~
      
      I tested this patch inside webrunner with create-erp5-site software type and
      various configurations (whether to have or not have jupyter, to which zope
      family to connect it, etc).
      
      I have not tested frontend instantiation fully - because tests were done only
      in webrunner, but I've tried to make sure generated buildout code is valid for
      cases with frontend.
      
      NOTE the code in this patch depends erp5_data_notebook bt5 (nexedi/erp5!29) which just got merged to erp5.git recently (see nexedi/erp5@f662b5a2)
      
      NOTE even when erp5_data_notebook bt5 is installed, on a freshly installed ERP5, it
      is required to "check site consistency" first, so that initial bt5(s) are
      actually installed and erp5 is ready to function.
      
      /cc @vpelletier, @Tyagov, @klaus, @Camata, @tiwariayush, @Kreisel, @jerome, @nexedi
      /proposed-for-review-on nexedi/slapos!43
      0a446263