An error occurred fetching the project authors.
  1. 06 Jul, 2021 1 commit
    • Jérome Perrin's avatar
      stack/monitor: run monitor-globalstate once from buildout · 8fe8ac61
      Jérome Perrin authored
      monitor-globalstate (which is supposed to create monitor configuration file
      accessed by HTTP as .../public//monitor.global.json) runs by cron every 2
      minutes. This crontab also uses randomsleep to add a delay - but there's a
      promise waiting for this monitor configuration file to be available, so the
      instanciation had to wait for this and if this was sometimes causing problems
      in software release tests because promise did not succeed fast enough.
      
      To prevent this pattern where slapos node instance has to wait for a crontab
      to be executed, we run that script a first time from buildout.
      8fe8ac61
  2. 06 Apr, 2020 1 commit
    • Jérome Perrin's avatar
      monitor: use monitor- prefix in cert and key · 854057ce
      Jérome Perrin authored
      By using a short filenames like "httpd.crt" or "httpd.key", we risk have
      conflict with users of this stack. Use a name with more context, that
      should likely not be used by applications.
      
      This solves an issue with lamp stack, that was visible with nextcloud
      software:
      
           While:
             Installing ca-apache-php.
           Error: The following paths are already installed by other sections: {'/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/inst/ncs2/srv/ssl/certs/httpd.key': 'ca-monitor-httpd', '/srv/slapgrid/slappart8/srv/testnode/cvt/inst/test0-0/tmp/inst/ncs2/srv/ssl/certs/httpd.crt': 'ca-monitor-httpd'}
      854057ce
  3. 19 Nov, 2019 1 commit
  4. 04 Oct, 2019 1 commit
    • Thomas Gambier's avatar
      do not create two wrappers for the same executable if hash change · ed707d3b
      Thomas Gambier authored
      Prevent creating 2 wrapper for the same service if hash changed. Here, one service is exited because port is used by the firt to service to start:
      
          slappart6:runner-sshd-4248650e36a9a26a6481df1baffd9f58-on-watch                RUNNING   pid 27835, uptime 0:03:45
          slappart6:runner-sshd-b3b68f4278ceb84691ec27521ea229eb-on-watch                EXITED    Mar 06 04:52 PM
      
      To achieve that, update slapos.cookbook and use hash-existing-files option of wrapper recipe
      
      hash-existing-files list all the files used for hash that are not
      handled by buildout. For those files, the hash is calculated as soon as
      the __init__ function so that if there is a change in those files,
      buildout will remove the existing wrapper (it will uninstall the
      section) and replace it with the new wrapper.
      
      /reviewed-on !525
      ed707d3b
  5. 21 Jun, 2019 1 commit
  6. 19 Jun, 2019 1 commit
  7. 06 May, 2019 1 commit
  8. 28 Feb, 2019 1 commit
  9. 11 Jan, 2019 2 commits
  10. 10 Jan, 2019 1 commit
  11. 25 Oct, 2018 1 commit
  12. 08 Oct, 2018 1 commit
  13. 29 Aug, 2018 1 commit
  14. 13 Apr, 2018 1 commit
  15. 10 Apr, 2018 1 commit
  16. 28 Mar, 2018 1 commit
  17. 27 Mar, 2018 1 commit
    • Alain Takoudjou's avatar
      monitor: move scripts wrapper and logrotate conf to buildout, uses some new... · 47644132
      Alain Takoudjou authored
      monitor: move scripts wrapper and logrotate conf to buildout, uses some new promises from slapos.toolbox
      
      monitor was updated in slapos.toolbox to not generate promise launcher scripts anymore. All
      generated scripts are now in buildout.
      Monitor promise run script is removed from cron, slapgrid is used to run promises.
      Replace some old promises by the new ones from slapos.toolbox. Cleanup monitor configuration.
      Monitor report and monitor-promises directory are now obsolete.
      47644132
  18. 16 Mar, 2018 1 commit
  19. 12 Feb, 2018 1 commit
  20. 01 Feb, 2018 1 commit
  21. 31 Jan, 2018 3 commits
  22. 26 Jan, 2018 1 commit
  23. 20 Jun, 2017 1 commit
  24. 12 Jun, 2017 1 commit
  25. 02 Jun, 2017 1 commit
  26. 01 Jun, 2017 1 commit
  27. 12 Apr, 2017 1 commit
  28. 10 Apr, 2017 1 commit
  29. 06 Apr, 2017 1 commit
  30. 05 Apr, 2017 1 commit
  31. 04 Apr, 2017 1 commit
  32. 23 Feb, 2017 1 commit
  33. 22 Feb, 2017 1 commit
  34. 16 Feb, 2017 1 commit
    • Vincent Pelletier's avatar
      stack.logrotate: Fix support for stopped processes. · b0d0efc2
      Vincent Pelletier authored
      When a process is stopped:
      - it may not have emitted logs since previous rotation: add "missingok"
        As a direct consequence: stop using logrotate recipe.
      - its pid file (if applicable) may be missing: test its non-empty presence
        before calling slapos-kill
      Also, stop using slapos.cookbook:logrotate.
      Update obvious users (cloudooo, neoppod, erp5, monitor, re6stnet).
      b0d0efc2
  35. 07 Feb, 2017 1 commit
  36. 30 Jan, 2017 1 commit
  37. 09 Jan, 2017 1 commit